Skip to content

Instantly share code, notes, and snippets.

@vlzhr
Last active December 26, 2019 14:31
Show Gist options
  • Save vlzhr/7e66c978d94c0549ab0da118ffdf1160 to your computer and use it in GitHub Desktop.
Save vlzhr/7e66c978d94c0549ab0da118ffdf1160 to your computer and use it in GitHub Desktop.
Signer Init
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