Update package name and cosmjs dependencies #1

Merged
nabarun merged 2 commits from pm-update-faucet into main 2025-05-02 07:03:32 +00:00
2 changed files with 1 additions and 3 deletions
Showing only changes of commit aa314434f9 - Show all commits
-1
View File
@@ -1,6 +1,5 @@
[upstream]
rpcEndpoint = "http://localhost:26657"
chainId = "zenith-localtestnet"
denom = "znt"
prefix = "zenith"
gasPrice = "1"
+1 -2
View File
@@ -18,7 +18,6 @@ const FAUCET_DATA_TTL = 86400000; // 24 hrs
interface Config {
upstream: {
rpcEndpoint: string
chainId: string
denom: string
prefix: string
gasPrice: string
@@ -67,7 +66,7 @@ async function main (): Promise<void> {
try {
const txHash = await sendTokens(config, accountAddress, String(config.server.transferAmount));
console.log(`Sent tokens to address: ${accountAddress}, txHash: ${txHash}`);
console.log(`Sent ${config.server.transferAmount}${config.upstream.denom} to address: ${accountAddress}, txHash: ${txHash}`);
// Update rate limit
await faucetDataStore.set(faucetStoreKey, (BigInt(amountSentToAddress) + BigInt(config.server.transferAmount)).toString(), FAUCET_DATA_TTL);