data-book="docs" Guides for the code examples | The Root Network
Skip to content

2.37 Guides for the code examples ​
At a glance
What it isHow Futureverse’s TRN code examples get a test account: create one in MetaMask and fund it from the Porcini faucet.
Where it sitsPart II — Building · Chapter 2.37
CoversHow to create an fund a test account on The Root Network?
Sourcegithub.com/futureversecom/trn-examples/blob/main/GUIDES.md

How the examples get an account to run as.

Copied from Futureverse’s futureversecom/trn-examples, deleted with its GitHub organisation, at commit 44c9e16 of 2024-10-31. Apache-2.0: license.

Offline destinations

Some places this page points to did not answer when last checked:

  • faucet.rootnet.cloud — does not resolve (checked 2026-10-10)
  • support.metamask.io/hc/en-us/articles/360015289452-how-to-create-an-additional-account-in-your-wallet — answers HTTP 404 (checked 2026-10-18)

2.37.1 How to create an fund a test account on The Root Network? ​

Similar to Ethereum, The Root Network supports ECDSA format address. The easiest way to generate a test account is to use the MetaMask wallet, follow this guide to do so (page gone, checked 2026-10-18).

Once the account is generated, go to TRN Faucet (offline, checked 2026-10-10) to fund the account with some test tokens on Porcini (testnet), and effectively create the account on the network.

Source: futureversecom/trn-examples, GUIDES.md (deleted) · commit 44c9e16, 2024-10-31 · Apache-2.0, license · part of Code examples

Associated docs

Where else you might go from here. Following one is optional — this chapter stands without them.

Code examples
Part of — Futureverse’s code examples for The Root Network: scripts for the native API and the EVM, and two contract projects, each with its README and source.
Assets (Native API example)
See also — Transfer a fungible asset. Futureverse’s Native API example for The Root Network, with its README and source.
Back matter — read in order
See also — The whole of Back matter as one continuous page, reprinted from its chapters without change.
Contents
See also — Every chapter in this book, each with the one line that tells you what you get by reading it.
DEX (Native API example)
See also — Swap one token for another, and add or remove liquidity. Futureverse’s Native API example for The Root Network, with its README and source.
ERC-1155 (EVM example)
See also — Create and update an SFT collection, create a token and mint, through the precompiles. Futureverse’s EVM example for The Root Network, with its README and source.
ERC-20 (EVM example)
See also — Transfer an asset through its ERC-20 precompile. Futureverse’s EVM example for The Root Network, with its README and source.
ERC-721 (EVM example)
See also — Create and update an NFT collection, and mint, through the precompiles. Futureverse’s EVM example for The Root Network, with its README and source.

Curated independently and source-attributed. Not affiliated with Futureverse or TRN Labs. Sources

Curated independently and source-attributed. Not affiliated with Futureverse or TRN Labs.