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

Use Wagmi #1

Open
gusye1234 opened this issue Nov 10, 2022 · 0 comments
Open

Use Wagmi #1

gusye1234 opened this issue Nov 10, 2022 · 0 comments

Comments

@gusye1234
Copy link
Contributor

gusye1234 commented Nov 10, 2022

Front-end framework based on Next.js(which is react), now we need the contract interaction

use https://wagmi.sh/

  • useAccount - return the current wallet account: address, provider...
  • useContract - return a contract C. call the funcs with C.creatEvent, C.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant