cw4a
v1.3.0
Published
Create React apps with Web4 deployment scripts
Downloads
13
Maintainers
Readme
Setup
Fill in the values in the
.env
file:PINATA_API_KEY
: Your Pinata API key for IPFS storagePINATA_SECRET_API_KEY
: Your Pinata secret API keyPINATA_GATEWAY
: Your Pinata gateway URLCONTRACT_ADDRESS
: Your deployment contract addressPRIVATE_KEY
: Your Ethereum wallet private keyINFURA_API
: Your Infura API key for Ethereum network access
Install dependencies:
npm install
Start the development server:
npm start
Deployment
To deploy your app to a decentralized network:
- Build and deploy:
npm run deploy
This command will:
- Upload images and assets to IPFS
- Build the React app
- Deploy the website to a smart contract
What's Included
- React app scaffolding
- Web3 integration
- IPFS asset uploading
- Smart contract deployment scripts
Learn More
License
This project is open source and available under the MIT License.