Skip to content

Instantly share code, notes, and snippets.

@ryanswrt
Created July 25, 2019 04:41
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/efeb7a62e3ebf961b5e2a90e0c09d645 to your computer and use it in GitHub Desktop.
Save ryanswrt/efeb7a62e3ebf961b5e2a90e0c09d645 to your computer and use it in GitHub Desktop.
// example with render callbacks
<WaveletProvider host="myhost">
{(client) =>
<WaveletAccount client={client} privateKey="myprivatekey">
{(account) =>
<WaveletContract client={client}contractAddress="mycontractaddr">
({contract}) =>
<MyComponent account={account} client={client} contract={contract} />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment