Skip to content

Commit

Permalink
add importEd25519Seed option
Browse files Browse the repository at this point in the history
  • Loading branch information
AyushBherwani1998 committed Jun 24, 2024
1 parent 435c397 commit fa5fefc
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tkey-web/tkey-solana-example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,15 @@ function App() {
idToken,
});

await tKey.initialize();
const seed = Buffer.from(hex.decode("e5aa968ef904bb48f6230ac345463d094dfdcd5c0ee94aae31558dbb33d80e58"));
console.log(seed);

// Uncomment to test importEd25519Seed
await tKey.initialize(
// {
// importEd25519Seed: seed
// }
);

setTKeyInitialised(true);

Expand Down

0 comments on commit fa5fefc

Please sign in to comment.