Developer-DAO / Developer-DAO/web3-ui

MintFromContract component

Open
#388 2 comments 0 reactions 1 assignee Claimed by @ericy-eth View on GitHub
Dominant language
TypeScript
Stars
779
Forks
150
PR merge metrics
No merged PRs in 30d

Description

Description
A simple mint of contract component. Component will be a simple button using the button element already created [here](https://github.com/Developer-DAO/web3-ui/tree/main/packages/components/src/elements/Button)

Why is this needed?
need a web3 avatar component

Proposed Solution or API
4 working files:

MintFromContract.tsx
MintFromContract.test.tsx
MintFromContract.stories.tsx
index.ts
[wagmi hook to use](https://wagmi.sh/docs/hooks/useContractWrite)

component props :

MintFromContract = { address: string, chainId: string }

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.