Firefly Wallet - Only download the wallet from the official website!
const axios = require('axios');
async function faucetRequest() {
const faucetEndpoint = 'https://faucet.testnet.shimmer.network/api/enqueue';
const address = 'your address';
try {
const response = await axios.post(faucetEndpoint, { address });
console.log(response.data);
} catch (error) {
console.log(error.message);
}
}
faucetRequest().catch((err) => console.log(err));
- Click on the console and install axios: npm i axios
- To start the application, just run the command node index.js