-
-
Save ryanswrt/1718c49b8015aca81ad6495e43d49e3f 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
// First get a working wavelet client | |
const [client, node, clientErr] = useWavelet('https://testnet.perlin.net'); | |
// To get a Wavelet Account | |
const [account, accountErr] = useAccount(client, 'yourprivatekey'); | |
// To get a Wavelet Contract, and register callbacks | |
const [contract] = useContract(client, 'yourcontractaddr', onUpdate, onLoad); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment