Last active
December 26, 2019 14:31
-
-
Save vlzhr/7e66c978d94c0549ab0da118ffdf1160 to your computer and use it in GitHub Desktop.
Signer Init
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 Waves from "@waves/signer"; | |
import Provider from "@waves.exchange/provider-web"; | |
// setting the TestNet Signer | |
const waves = new Waves({NODE_URL: 'https://pool.testnet.wavesnodes.com'}); | |
// setting the Waves.Exchange provider | |
const provider = new Provider('https://testnet.waves.exchange/signer/'); | |
waves.setProvider(provider); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment