import { forEachAsync, getAxiosClient } from '../utils' import { DBClient } from '../singletons' import { Status } from '../models/Status' import polly from 'polly-js' async function faucetTuc(address: string) { await polly() .waitAndRetry(3) .executeForPromise(async () => { const client = getAxiosClient(true) const res = await client.post( 'https://birdee-faucet.testnet.mesoops.net/', { address: address, coins: ['10000000utuc'], }, ) if (res.data.error) { throw new Error(res.data.error) } }) }