Node.js >= 18.x
npm or yarn
A Web3 wallet (e.g., MetaMask)
MATIC tokens for gas (Polygon Amoy testnet)
Clone the repository
git clone
cd smart-contracts
Install dependencies
npm install
Create environment file
cp .env.example .env
Configure your .env file with:
- DEPLOYER_PRIVATE_KEY: Your deployer wallet private key
- POLYGON_AMOY_RPC_URL: RPC endpoint (optional)
- POLYGONSCAN_API_KEY: For contract verification (optional)
Originally posted by @cindylhiam01-jpg in ipfs/ipfs-docs#2312 (comment)
Node.js >= 18.x
npm or yarn
A Web3 wallet (e.g., MetaMask)
MATIC tokens for gas (Polygon Amoy testnet)
Clone the repository
git clone
cd smart-contracts
Install dependencies
npm install
Create environment file
cp .env.example .env
Configure your .env file with:
- DEPLOYER_PRIVATE_KEY: Your deployer wallet private key
- POLYGON_AMOY_RPC_URL: RPC endpoint (optional)
- POLYGONSCAN_API_KEY: For contract verification (optional)
Originally posted by @cindylhiam01-jpg in ipfs/ipfs-docs#2312 (comment)