Last active
December 26, 2019 14:39
-
-
Save vlzhr/e9f41c2a8661c233ec1000b9417aa2b2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Signer from '@waves/signer'; | |
import { ProviderSeed } from '@waves/provider-seed'; | |
import { libs } from '@waves/waves-transactions'; | |
const seed = libs.crypto.randomSeed(15); | |
const waves = new Signer({ | |
// Specify URL of the node on Testnet | |
NODE_URL: 'https://pool.testnet.wavesnodes.com' | |
}); | |
waves.setProvider(new ProviderSeed(seed)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment