Create React apps with Web4 deployment scripts
npm install create-react-web4-app
.env file:
PINATA_API_KEY: Your Pinata API key for IPFS storage
PINATA_SECRET_API_KEY: Your Pinata secret API key
PINATA_GATEWAY: Your Pinata gateway URL
CONTRACT_ADDRESS: Your deployment contract address
PRIVATE_KEY: Your Ethereum wallet private key
INFURA_API: Your Infura API key for Ethereum network access
npm install
`
3. Start the development server:
`
npm start
`
Deployment
To deploy your app to a decentralized network:
1. Build and deploy:
`
npm run deploy
``