Skip to main content

Faucet

A Dapp require an admin account and one (or several) user accounts to be tested. This page explains how to retrieve the admin faucet file, and how to download a faucet account for test.

Admin account

Some Dapps' use cases require to interact with the smart contract as the admin role (declared by the contract). Every Dapp's admin uses the same account.

Follow the instructions below to get the admin faucet file:

  • click the button below to open the admin faucet file in a new tab
  • save the admin faucet file as "admin.json"

Instructions to import a faucet account in the wallet is available in the section below.

Below is a copy of the admin faucet file:

{
"pkh": "tz1h4CiqWxNe4UxSpkwXy617RM6DaK6NU76P",
"mnemonic": [
"bike",
"museum",
"tourist",
"saddle",
"caught",
"spell",
"scrap",
"layer",
"task",
"blossom",
"shallow",
"express",
"emerge",
"camp",
"carry"
],
"email": "[email protected]",
"password": "DnvGIoUo8S",
"amount": "181059715372",
"activation_code": "043703f8bc62d205a283e6c13ac04d289013dda1"
}

You may also copy-paste the json above in a "admin.json" file.

Follow this link for instructions to import the admin account in the Thanos wallet.

Create a test account

This section describes how to download and import in Completium-cli a test account from the faucet.

Follow the instructions below to donwload a new test account file:

  • click the "open faucet" button above to open the faucet web page
  • on the faucet page:
    • solve the CAPTCHA
    • click on the "Get Ithacanet Tz" button
    • click the "Copy to clipboard" button
  • Create a file faucet.json and paste the faucet data in this file
  • Run the following command to use the account with Completium-cli :
completium-cli import faucet faucet.json as <ACCOUNT_ALIAS>

where <ACCOUNT_ALIAS> is replaced by the logical name of the account (for example 'owner', 'admin', ...).

Instructions to import the faucet file in the temple wallet are available in this section.