Set up the private key and handle for the SDK to use for signing subsequent requests with
configure. The other SDK functionality will not be available until this configuration is completed. The SDK does not store this information outside of the instance that is configured. It is never transmitted over the network or stored outside the scope of that instance.
The installation step does not include ==wallet generation== the Wallet Generation code provided here are the wallet environment variables that you will need when you get to the register step. They will live with the other environment variable but you do not need them in the initial installation set up.
// Generate a new wallet const wallet = Sila.generateWallet(); console.log(wallet.address); // Public wallet address console.log(wallet.privateKey); // Private wallet key
Updated 3 months ago