This project demonstrates ERC20 inter-token transfers using two demo tokens, TokenA and TokenB, along with a TokenTransfer contract.
- Solidity
- TypeScript
- Hardhat
- Alchemy
- OpenZeppelin ERC20 security standard
- Sepolia Testnet
-
Clone this repository to your local machine.
-
Create a
.env
file in the project root directory. -
Add the following environment variables to your
.env
file:ALCHEMY_SEPOLIA_URL=Your_Alchemy_Sepolia_URL SEPOLIA_PRIVATE_KEY=Your_Sepolia_Private_Key DEPLOYER_ADDRESS=Your_Deployer_Address
Replace the placeholders with your Alchemy Sepolia URL, Sepolia private key, and deployer address.
-
Save the
.env
file. -
You are now ready to compile, test, and deploy the smart contracts using the provided configuration.
Arigato