generate-react-comp-smart-contract
v1.3.0
Published
generate each smart contract function call as a seperate react component.
Downloads
6
Maintainers
Readme
generate-react-comp-smart-contract
This package help you to create react components for all smart contract function on etherum network.
How to use it
npx generate-react-comp-smart-contract [ContractAddress] [etherscanAPIKey] [networkName]
Here,
ContractAddress - is the smart contract address for which you want to create react components project.
etherscanAPIKey - is the api key for your etherscan account. You can get it free on etherscan. Step by step guide https://docs.etherscan.io/getting-started/viewing-api-usage-statistics
networkName - the name of the etherum network.
You can provide following name:
- goerli
- kovan
- rinkeby
- ropsten
- sepolia
Note- name should be in smallcase as mention above. The blank or empty value will be considered as mainnet.
for mainnet network
e.g. - npx generate-react-comp-smart-contract 0xdAC17F958D2ee523a2206206994597C13D831ec7
for other testnets network
e.g. - npx generate-react-comp-smart-contract 0x602FEA1efE77e9257FE66246d1D031D275FeF771 M************************E goerli