General Faucet for Cosmos SDK testnet. There are two versions: Cosmos and Evmos
node -v
v16.15.0
- clone code:
git clone https://github.com/ping-pub/faucet.git
- setup configs, you have to change everything you need in
./config.js
{
port: 80, // http port
db: {
path: "./db/faucet.db" // save request states
},
project: {
name: "Ping Testnet",
logo: "https://ping.pub/logo.svg",
deployer: `<a href="#">Your Brand</a>`
},
blockchain: {
chainId: 9000,
cosmosChainId: 'evmos_9000-4',
// make sure that CORS is enabled in lcd section in config.toml
// cors_allowed_origins = ["*"]
endpoint: "https://rest.bd.evmos.dev:1317",
},
sender: {
mnemonic: "surround miss nominee dream gap cross assault thank captain prosper drop duty group candy wealth weather scale put",
option: {
hdPaths: "m/44'/60'/0'/0/0",
prefix: "evmos"
}
},
tx: {
amount: {
denom: "uatom",
amount: "10000"
},
fee: {
amount: [
{
amount: "1000",
denom: "aevmos"
}
],
gas: "200000"
},
},
limit: {
address: 10, // wallet address
ip: 2
}
}
- Run faucet
node --es-module-specifier-resolution=node faucet.js
visit http://localhost:80
80 is default, you can edit it in the config.json
Your donation will help us make better products. Thanks in advance.
- Address for ERC20: USDC, USDT, ETH
0x88BFec573Dd3E4b7d2E6BfD4D0D6B11F843F8aa1
- You can donate any token in the Cosmos ecosystem: here