Use this guide when you want to deploy and interact with an ERC1155 (multi-token) contract on Berachain using Hardhat and Ethers v6.Documentation Index
Fetch the complete documentation index at: https://berachain-422fce37-feat-nodes-section-reno.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Repository
- Code: github.com/berachain/guides/tree/main/apps/hardhat-ethers6-erc1155
- README (raw): raw README
Requirements
- Node, npm, Hardhat
- Wallet with testnet $BERA
Stack
Hardhat, Ethers v6, Solidity, ERC1155.Quick start
- Clone and install
- Set
WALLET_PRIVATE_KEY(and RPC if needed) in.env. - Compile, deploy, and run any scripts/tests per README.