Sequentia docs
  • đź’ˇINTRODUCTION
    • Introduction
  • 🖱️TESTNET
    • What to know before starting
    • Download and Installation
    • Demo the "No Coin" feature
      • 1. Set up your wallet
      • 2. Transfer TEST paying fees in TEST
      • 3. Create a new asset
      • 4. Pay transaction fees in the newly issued asset
      • 5. Replace By Fee (RBF) with different assets
  • đź“–WHITE PAPER
    • 1. The Mission
    • 2. Sequentia Overview
    • 3. Blockchain Architecture
      • 3.1. Orange pilled
      • 3.2. Open fee market
      • 3.3. Market-driven governance
      • 3.4. Bitcoin anchoring
      • 3.5. Immediate transaction finality
      • 3.6. Full node sovereignty
      • ­­­­­­­­3.7. Cross-chain consistency
      • 3.8. Escaping stall
      • 3.9. No inflation
      • 3.10. Cheap to handle
      • 3.11. Bitcoin checkpoints
    • 4. Asset tokenization
      • 4.1. Why tokenization: security tokens and stablecoins
      • 4.2. The RAS standard
      • 4.3. Lightning Network payments
      • 4.4. Peer-to-peer batching
      • 4.5. Access-Control-List
      • 4.6. Programmable Accounts
    • 5. Decentralized Exchange
      • 5.1. Atomic swap
      • 5.2. Lightning Network swap
      • 5.3. Standardized order package
      • 5.4. Distributed Hash Table (DHT)
      • 5.5. Market incentives
      • 5.6. Watchtower and Book aggregator
    • Disclaimer
  • đź”—Links
    • Sequentia Theoretical Paper
    • Sequentia Lightpaper
    • Sequentia website
    • Join on socials
Powered by GitBook
On this page
Export as PDF
  1. TESTNET
  2. Demo the "No Coin" feature

1. Set up your wallet

  • To create a wallet, use the following command and change <YOURWALLETNAME> with the desired name of your wallet (without the symbols < and >).

.\elements-cli -named createwallet wallet_name=<YOURWALLETNAME> descriptors=false load_on_startup=true
  • Then generate an address using the following command. The output will be a long string of letters and numbers like “el1qqg3yq85yuzrlukqsw7tm8…….”. Copy and save it somewhere so you can send it to other people to receive tokens:

.\elements-cli getnewaddress
  • To get a “confidential address” to share with other people to receive confidential payments, run the following command substituting <generatedaddress> with the value you obtained using getnewaddress in the previous step. You will find a new address string under “confidential” among the extensive info in the output.

.\elements-cli getaddressinfo <GENERATEDADDRESS>
  • As per the settings we added to the configuration file, for testing purposes only, we have a block subsidy of 1 TEST per block. The block subsidy unlocks after 100 blocks, so to get a balance of 100 TEST, we need to create 200 new blocks with the following command. Replace <GENERATEDADDRESS> with the address string obtained in the steps above

.\elements-cli generatetoaddress 200 <GENERATEDADDRESS>

With this command, you will mine a block and receive the block reward (which consists of the corresponding transaction fees plus the block reward since the given testnet configurations have a block subsidy for the purpose of this demo).

The command generatetoaddress <nblocks> <address> mines blocks to a specified address, with the following arguments:

  1. nblocks (numeric, required) How many blocks are to be immediately generated.

  2. address (string, required) The address to send the newly generated TEST to.

The output will be a string like this that represents the blockhash:

587f9c4fc679c63b98650330f34ea57adbe872d05c69589a52c9ace1d5c860f2

If you run .\elements-cli.exe getblockchaininfo again you will find the same hash under the field “bestblockhash" (as long as that block is the tip of the chain, i.e. the last valid block produced in the network)

We finally have a wallet with a spendable balance in “TEST”, and we can now test the functionality of our chain.

PreviousDemo the "No Coin" featureNext2. Transfer TEST paying fees in TEST

Last updated 4 months ago

🖱️