Sample contract: ERC20 token
Here we showcase our test ERC20 token repo to demonstrate how one would develop a contract for Humanode Network.
Last updated
Here we showcase our test ERC20 token repo to demonstrate how one would develop a contract for Humanode Network.
Last updated
Take a look at the Test ERC20 repo on our Github.
It is a Hardhat-based codebase that uses OpenZepplin libraries to implement an ERC20 token contract.
This repo provides an example of how to:
set up your Hardhat environment to test/deploy a smart contract to the local dev Humanode Network node (the humanode-peer --dev
command) and use the pre-funded dev EVM accounts (see humanode-peer evm inspect-account --dev
);
set up your Hardhat environment to test/deploy a smart contract to the Humanode Testnet or Mainnet using a private key available read from the environment variable.
We will soon be adding an example of how to deploy a Humanode Network dev node in Github Actions to test smart contracts in CI (#soon).