docs
  • Introduction
  • Getting started
    • Meet the network using CLI
    • Your first transaction
    • Run smart contract
    • Run your own node
    • Ledger Support
  • Architecture
    • Dnode
    • Dncli
    • XFI & Other coins
    • Fees & Gas
    • Addresses
  • Staking
    • Delegate sXFI & LPT
    • Become a validator
    • Rewards & Inflation
    • Slashing
    • More
  • Move VM
    • Modules
    • Scripts
    • Script Arguments
    • Standard Library
    • Events
    • Resources
    • Move Book
    • More
  • Oracles
    • Query Price
  • PegZone
    • Deposit
    • Usage
    • Withdraw
  • Useful Resources
    • Dfinance Website
    • Wallet
    • Move Book
    • Block Explorer
    • Swagger UI
    • Community
    • VSCode Move IDE
Powered by GitBook
On this page

Was this helpful?

  1. Getting started

Meet the network using CLI

PreviousGetting startedNextYour first transaction

Last updated 4 years ago

Was this helpful?

Here is a step-by-step guide on how to operate with arbitrary dfinance node which covers creation of your first account, receiving free testnet XFI tokens and execution of first transaction.

Account creation and free XFI

Let's create your first dfinance account.

Generate new mnemonic:

dncli keys mnemonic

Copy mnemonic and keep in safe place.

Create new account, use mnemonic generated from previous command:

dncli keys add -i my-account

Save passphrase and keep in safe place. Without mnemonic and passphrase you can't access your new account!

Go to dfinance , use your mnemonic and passphrase to login, and request faucet to send your free XFI. Click there on request Request Tokens button and wait for few seconds, XFI coins will appear on your account. Also, the faucet sending testnet BTC and USDT coins besides XFI.

After this let's query our account with dncli:

dncli q account <address>

Replace <address> with your address. You will see output with your address and with your balances, balances should contains XFI coins if we want to continue to next steps.

wallet portal