This commit is contained in:
2024-10-19 18:06:08 +05:30
commit dc8d01a6f8
5 changed files with 971 additions and 0 deletions

7
index.js Normal file
View File

@@ -0,0 +1,7 @@
import {Keypair} from '@solana/web3.js';
import bs58 from 'bs58';
const newWallet = Keypair.generate();
console.log(newWallet.publicKey.toBase58());
console.log(bs58.encode(newWallet.secretKey));