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/fcfa065156e2cac9b9446b8375f8518e to your computer and use it in GitHub Desktop.
Save ryanswrt/fcfa065156e2cac9b9446b8375f8518e to your computer and use it in GitHub Desktop.
// HOC example
withWavelet(
withAccount(
({account}) =>
withContract(({contract, client}) =>
<MyComponent client={client} contract={contract} account={account}>, 'mycontractaddr'),
'myprivatekey'),
'myhost')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment