Skip to content

Instantly share code, notes, and snippets.

@ryanswrt
Created August 14, 2019 06:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanswrt/730622215bf37a0781076b6b9e430dcd to your computer and use it in GitHub Desktop.
Save ryanswrt/730622215bf37a0781076b6b9e430dcd to your computer and use it in GitHub Desktop.
const host = 'https://testnet.wavelet.net';
const contractAddress = /* address of your deployed contract */;
const wallet = Wavelet.loadWalletFromPrivateKey(/* private key of a wallet containing at least 10 million PERLs - join our Discord and we will provide you with the neccessary funds*/)
const client = new Wavelet(host);
const contract = new Contract(client, contractAddress);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment