The AVA Platform Tools — Pt. 2, The AVA Faucet

Collin Cusce
Mar 11 · 4 min read


In Part 1 we covered the AVA Wallet. We discovered how to install the wallet, how to run the wallet, and a brief tour of using the wallet Dapp. In this section of the three-part series, we discuss the AVA Faucet and put funds into an AVA Wallet.

AVA comes with a faucet application which can serve AVA from a test network to an address of our choosing. It’s a Node.js application which enables users to obtain test AVA tokens. All transactions are sent from a known private key that has AVA tokens in it already. Once those tokens run out, we’ll need to refill that address. It’s highly recommended to only use this on test networks, otherwise real AVA will be given to whomever finds the faucet.


The AVA Faucet installation assumes we’ve installed Node.js 12.14.1 and have the `npm` tool on a local machine.

In preparation we’ll need to get a reCaptcha secret key for the faucet. The address to get this is

We need a v2 reCaptcha with the following options:


Now that the code is installed, let’s set up a local environment by editing the “.env” file we just created. We’re going to assume that the following values are for the local network tutorial, but of course we can modify these values to taste.

Now that the wallet code is installed and configured, we can run it by:

If this is configured correctly we should see:

Navigate to https://localhost:8081 and if all goes well we will see:

Using the Faucet

The AVA Wallet address we just created needs some tokens. Let’s send ourselves some!

Hit “Request ## $AVA” and we should see a success message:

And the balance should update in the wallet Dapp very shortly! Hit the refresh button and the new balance will appear.

And as we can see the balance updated. A $nAVA (nanoAVA) is the smallest unit of AVA possible. For a full unit of AVA, we have to multiply the value in the DROP_SIZE configuration variable by 10⁹. So to send 25 $AVA, the DROP_SIZE should be 25000000000.

Forging Onward!

Exchanging assets, seeing them in a wallet, sending them to others… that’s great but how do we build Dapps?

In the final part of this series, we go over Slopes, the AVA Javascript library, and talk about the design philosophy and how one can learn how to integrate their applications with AVA using that tool.

AVA Labs

AVA: Platform for DApps, Payments, Smart Assets, And Much More.

Thanks to Daniel Laine

Collin Cusce

Written by

I work at AVA Labs. You should, too. It’s pretty awesome.

AVA Labs

AVA Labs

AVA: Platform for DApps, Payments, Smart Assets, And Much More.

More From Medium

More on Decentralization from AVA Labs

More on Decentralization from AVA Labs

How to Install and Run AVA — Borealis Release

Collin Cusce
Mar 11 · 7 min read


More on Ava from AVA Labs

More on Blockchain from AVA Labs

Collin Cusce
Mar 11 · 5 min read


Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade