Skip to content

1Shot-API/1Shot-Token-Factory

Repository files navigation

1Shot Token Factory

This project is a simple, turn-key ERC-20 token factory that uses the beacon factory pattern from OpenZeppelin for gas-efficient deployment of new ERC-20 tokens. You can use it with your 1Shot API projects.

Deployments:

Run the following commands to set up your development environments (you'll need an Infura account and an API key from the blockscanner to verify your contract code):

npx hardhat vars set INFURA_API_KEY
npx hardhat vars set PRIVATE_KEY
npx hardhat vars set ETHERSCAN_API_KEY
npx hardhat ignition deploy ./ignition/modules/TestnetDeploy.ts --network <testnetwork> --parameters ./ignition/parameters.json
npx hardhat ignition verify chain-<chainId> --include-unrelated-contracts

Sepolia

Token Implementation: 0x879b0a3e1D9DeD7a0691c8f928D518640A2935c1

Token Factory: 0xA1BfEd6c6F1C3A516590edDAc7A8e359C2189A61

Fuji

Token Implementation: 0xd5E1156353a64a661811E8d279E67020778a30a2

Token Factory: 0x9aB94A0aE47e709E4f56Ce513a13d16e224240BD

Binance Smart Chain Testnet

Token Implementation: 0x678586adA236937458D0e8cc9AbfCCfEA6918D8B

Token Factory: 0xD9699942281A00188707d3244c9Cb827DE0e4A3c

Binance Smart Chain

Token Implementation: 0xF4e2CE808268188dfFfdBe801a58D6e8a2B59176

Token Factory: 0xF7995B5472A996c6E0d5840857C040A87e8C9fa8

About

Upgradeable token factory for 1Shot API projects

Topics

Resources

License

Stars

Watchers

Forks