(beneficiary, amount)
| 11 | let usdToken; |
| 12 | |
| 13 | async function executeApp(beneficiary, amount) { |
| 14 | |
| 15 | console.log("\n"); |
| 16 | console.log("***************************") |
| 17 | console.log("Welcome to the POLY Faucet."); |
| 18 | console.log("***************************\n") |
| 19 | console.log("Issuer Account: " + Issuer.address + "\n"); |
| 20 | |
| 21 | await setup(); |
| 22 | await send_poly(beneficiary, amount); |
| 23 | }; |
| 24 | |
| 25 | async function setup(){ |
| 26 | try { |