If we run a testnet node we would use a faucet or token fountain, usually found in testnet nodes.
Every script node has a faucet service that would kindly transfer you funds on request. No questions. The objective of testnet is to give users the opportunity to test the system with ‘play money’
However if we run a mainnet node we would use an exchange and buy tokens instead.
Before asking the faucet let’s use an address we control.
If you wanted to fund this-node address, your node, such address can be obtained in the following way:
Our address can be found on the response, 0x8d1F3236d790415d631d554091dE7A25913FB561.
Let’s then invoke stvtool to obtain funds for this aforementioned address, we do it with the command query_faucet, passing the recipient address as argument:
The command can be repeated as many times as wished up to a balance limit of 1M. We can easy earn tokens this way.
By feeding with tokens your node address your faucet is automatically enabled using it as source of funds and making the faucet service available to other participants in the script network.
After a few seconds from ordering the transfer we can check our balance: