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

Hook CustomContractLoader #39

Merged
merged 1 commit into from
Jun 22, 2021
Merged

Hook CustomContractLoader #39

merged 1 commit into from
Jun 22, 2021

Conversation

sirgawain0x
Copy link
Contributor

Custom Contract Loader:
~ 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

Custom Contract Loader:
 ~ 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 added the enhancement New feature or request label Jun 22, 2021
@sirgawain0x sirgawain0x added this to the Hack Money MVP Ready milestone Jun 22, 2021
@sirgawain0x sirgawain0x self-assigned this Jun 22, 2021
@sirgawain0x sirgawain0x linked an issue Jun 22, 2021 that may be closed by this pull request
@sirgawain0x sirgawain0x merged commit afef1d1 into staging Jun 22, 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 this pull request may close these issues.

Create React hook that handles Custom Contract Loading
1 participant