Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create React hook that handles Custom Contract Loading #38

Open
sirgawain0x opened this issue Jun 22, 2021 · 0 comments · Fixed by #39
Open

Create React hook that handles Custom Contract Loading #38

sirgawain0x opened this issue Jun 22, 2021 · 0 comments · Fixed by #39
Labels
enhancement New feature or request

Comments

@sirgawain0x
Copy link
Contributor

~ What it does? ~

Enables you to load a local contract with custom address

~ How can I use? ~

const customContract = useCustomContractLoader(localProvider, "YourContract", customAddress)

~ Features ~

  • Specify the localProvider
  • Specify the name of the contract, in this case it is "YourContract"
  • Specify the customAddress of your contract
@sirgawain0x sirgawain0x linked a pull request Jun 22, 2021 that will close this issue
@Rashmi-278 Rashmi-278 added this to the Hack Money MVP Ready milestone Jun 27, 2021
@sirgawain0x sirgawain0x added the enhancement New feature or request label Aug 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants