We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b189403 commit 2a13968Copy full SHA for 2a13968
1 file changed
client-sdk/ts-web/core/playground/src/startPlayground.mjs
@@ -35,8 +35,8 @@ export async function startPlayground() {
35
36
// Try sending a transaction.
37
{
38
- const src = oasis.signature.NaclSigner.fromRandom('this key is not important');
39
- const dst = oasis.signature.NaclSigner.fromRandom('this key is not important');
+ const src = await oasis.signature.WebCryptoSigner.generate(false);
+ const dst = await oasis.signature.WebCryptoSigner.generate(false);
40
console.log('src', src, 'dst', dst);
41
42
const chainContext = await nic.consensusGetChainContext();
0 commit comments