Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed smart_contract/.DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions smart_contract/contracts/Faucet.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ error Faucet_SendingTokensFailed();
error Faucet_ContractBalanceIsZero();

contract Faucet is MinterRole {
uint256 public withdrawalAmount = 0.0006 * (10**18);
uint256 public lockTime = 1 minutes;
uint256 public withdrawalAmount = 0.2 * (10**18);
uint256 public lockTime = 1440 minutes;

event Withdrawal(address indexed to, uint256 indexed amount);
event Send(address indexed to, uint256 indexed amount);
Expand Down
12 changes: 12 additions & 0 deletions smart_contract/contractsAddressDeployed.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,17 @@
"blockNumber": 0,
"tag": "Faucet deployed by deploy script",
"extra": {}
},
{
"name": "Faucet",
"address": "0x8C574312FB8925Dfc7a636171C78d463E01e953F",
"network": "chronos",
"deployer": "0xCaf65CeaB5D7ef4CA3cd6D30F02a8EaC889De0a2",
"deploymentDate": "Mon Sep 22 2025 09:08:29 GMT-0400 (Eastern Daylight Time)",
"chainId": 8700,
"blockHash": "",
"blockNumber": 0,
"tag": "Faucet deployed by deploy script",
"extra": {}
}
]
24 changes: 24 additions & 0 deletions smart_contract/contractsAddressDeployedHistory.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,29 @@
"blockNumber": 0,
"tag": "Faucet deployed by deploy script",
"extra": {}
},
{
"name": "Faucet",
"address": "0x53014F49A5eb6D18CFf9E5e3E5c062963299dc5A",
"network": "chronos",
"deployer": "0xCaf65CeaB5D7ef4CA3cd6D30F02a8EaC889De0a2",
"deploymentDate": "Fri Sep 19 2025 13:46:28 GMT-0400 (Eastern Daylight Time)",
"chainId": 8700,
"blockHash": "",
"blockNumber": 0,
"tag": "Faucet deployed by deploy script",
"extra": {}
},
{
"name": "Faucet",
"address": "0x8C574312FB8925Dfc7a636171C78d463E01e953F",
"network": "chronos",
"deployer": "0xCaf65CeaB5D7ef4CA3cd6D30F02a8EaC889De0a2",
"deploymentDate": "Mon Sep 22 2025 09:08:29 GMT-0400 (Eastern Daylight Time)",
"chainId": 8700,
"blockHash": "",
"blockNumber": 0,
"tag": "Faucet deployed by deploy script",
"extra": {}
}
]
28 changes: 14 additions & 14 deletions smart_contract/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@ import { NetworksUserConfig } from 'hardhat/types'
let networks: NetworksUserConfig = {}

const {
// Taurus
RPC_URL_TAURUS,
PRIVATE_KEY_TAURUS,
TAURUS_SCAN_API_KEY,
// Chronos
RPC_URL_CHRONOS,
PRIVATE_KEY_CHRONOS,
CHRONOS_SCAN_API_KEY,
// Goerli
RPC_URL_GOERLI,
PRIVATE_KEY_GOERLI,
ETHERSCAN_API_KEY,
} = process.env

if (RPC_URL_TAURUS && PRIVATE_KEY_TAURUS) {
networks.taurus = {
url: RPC_URL_TAURUS,
chainId: 490000,
accounts: [PRIVATE_KEY_TAURUS],
if (RPC_URL_CHRONOS && PRIVATE_KEY_CHRONOS) {
networks.chronos = {
url: RPC_URL_CHRONOS,
chainId: 8700,
accounts: [PRIVATE_KEY_CHRONOS],
}
}

Expand Down Expand Up @@ -50,16 +50,16 @@ const config: HardhatUserConfig = {
},
etherscan: {
apiKey: {
taurus: `${TAURUS_SCAN_API_KEY}`,
chronos: `${CHRONOS_SCAN_API_KEY}`,
goerli: `${ETHERSCAN_API_KEY}`,
},
customChains: [
{
network: 'taurus',
chainId: 490000,
network: 'chronos',
chainId: 8700,
urls: {
apiURL: 'https://blockscout.taurus.autonomys.xyz/api',
browserURL: 'https://blockscout.taurus.autonomys.xyz/',
apiURL: ' https://explorer.auto-evm.chronos.autonomys.xyz/api',
browserURL: 'https://explorer.auto-evm.chronos.autonomys.xyz/',
},
},
],
Expand Down
Loading
Loading