Setup Testnet Wallets | Celo Documentation (2024)

How to create and fund a testnet wallets to use for developing Celo dApps.

Getting Started

While developing and deploying dApps on Celo, it’s helpful to have a wallet prepared with funds to pay for any transactions you make on the blockchain. These can be set up using either real or test funds, and this allows application developers and users to interact Celo applications more easily.

tip

This guide will focus on funding an account on MetaMask with Celo (Alfajores testnet tokens). You can also use the Celo Extension Wallet if you prefer. Additionally, you can fund your wallet with real Celo if you would like to deploy to the Celo mainnet.

Download a Wallet

When deploying a dApp, you will need to pay for transactions that write data to the Celo blockchain. This is done using a wallet funded with Celo on your preferred network.

Create your Account

You are now able to fund an account that you can access using your browser extension wallet. You can do this using accounts you create with the wallet, ganache or from the Celo CLI.

Using a wallet

MetaMask allows you to easily create and manage accounts. This provides you with a quick way to create and fund an account to use when interacting with your dApp.

  • From your MetaMask extension, select Celo (Alfajores Tesnet)
  • Choose wallet Settings, select Create Account, name your account, and select Create
  • View your account details and copy your account address from the top center of the user interface

Using Ganache

Deploying locally requires that you have a local blockchain setup. Install and start a local blockchain using the Celo ganache-cli.

Install Ganache

npm install -g @celo/ganache-cli

Start Ganache

ganache-cli --port 7545

Ganache will return a list of available accounts, private keys, and additional wallet details that you can access on port 7545.

Note that @celo/ganache-cli does not currently allow you to send transactions and pay fees in stable currencies, nor does it include the core protocol contracts. To run a development chain with the protocol contracts consider using the celo-devchain package.

Setup Testnet Wallets | Celo Documentation (1)

tip

Skip to this step to connect your accounts to your wallet.

Using Celo CLI

Install celocli by running

npm install -g @celo/celocli

Create an Account

celocli account:new

Creating an account will return its account details as shown below (details will be specific to your account).

mnemonic: turtle cash neutral drift brisk young swallow raw payment drill mail wear penalty vibrant entire adjust near chapter mistake size angry planet slam demand
accountAddress: 0x5986ac413fA0C4A0379A674Cb986A59a962FC84e
privateKey: 8cab22c2bb08f0d20bd9e1109a156e87219d63a2c0b40b027483decf194bd787
publicKey: 024baaae61bab2a6e16ccb008c78dddb7132fc48d082e2a6166f8cc52d8d7a5289
address: 0x5986ac413fA0C4A0379A674Cb986A59a962FC84e

tip

Skip to this step to connect your account to your wallet.

Import Account to Wallet (for Options 2 & 3)

If you created an account using option 2 or 3, you can now import these accounts to your wallet.

  • Open your wallet browser extension from your browser
  • Select Settings > Import Account
  • Copy the private key from your local account, paste it into the window provided, and select Import

Fund your Account

No matter where you created your accounts, you can send them testnet funds using your Account Address and the testnet faucet.

  • Navigate to the Alfajores Testnet Faucet
  • Copy your address from your terminal or wallet
  • Paste this address into the Testnet Faucet, complete the Captcha, and click Get Started

Setup Testnet Wallets | Celo Documentation (2)

Wait for the transaction to process to view your funds in your account.

Setup Testnet Wallets | Celo Documentation (2024)

FAQs

Setup Testnet Wallets | Celo Documentation? ›

Get an Invitation Code​

Visit the Celo Wallet Page and enter your phone number to be messaged an invitation. Following this personalized URL will download the Celo Wallet App from the Play Store, generate an account only you have access to, and transfer escrowed funds into it.

How to create a celo wallet? ›

Get an Invitation Code​

Visit the Celo Wallet Page and enter your phone number to be messaged an invitation. Following this personalized URL will download the Celo Wallet App from the Play Store, generate an account only you have access to, and transfer escrowed funds into it.

How to get celo faucet? ›

Visit faucet.celo.org, and enter your account address. If you are using the Celo Wallet, you can find your account address in the Settings page. Complete the Captcha, and click 'Add Funds'. Each time you complete a faucet request, your account is funded with an additional CELO and stable tokens.

How to add celo testnet to MetaMask? ›

Method 2: Manually add Celo Alfajores Testnet to your MetaMask app
  1. Use the provided information (Network name, RPC URL, Chain ID, Currency Symbol) to add the network manually.
  2. Open MetaMask.
  3. Click the circle icon at the top right, then select "Settings." Navigate to "Networks" and click "Add Network."

What is a testnet wallet? ›

Testnet wallets allow developers or testers to experiment without having to risk actual bitcoin. The funds in a Testnet wallet do not have any real value, and the testnet bitcoin in these wallets cannot be "activated" or "converted" into mainnet bitcoin.

How to create testnet MetaMask? ›

Set Up MetaMask (Testnet)
  1. Go to MetaMask settings, click on Network, and then click Add network.
  2. Click on Add a network manually.
  3. Click Save.
Jan 13, 2024

How do I create a crypto wallet software? ›

Steps Required to Create a Software Crypto Wallet
  1. Step 1: Select a software wallet app. The first step in creating a software crypto wallet is to select a reliable wallet provider. ...
  2. Step 2: Download the wallet app to your phone or computer. ...
  3. Step 3: Create an account. ...
  4. Step 4: Transfer your assets.

How do I create a Blockchain wallet app? ›

How to Create a Blockchain Wallet?
  1. Step 1: Choosing the Operating Language and Blockchain Network. ...
  2. Step 2: Build a User Interface for the Blockchain Wallet. ...
  3. Step 3: Develop Wallet Features and Functionalities. ...
  4. Step 4: Coin Installation and API Integration. ...
  5. Step 5: Creating Wallet Smart Contracts.

How do I create a virtual wallet for Cryptocurrency? ›

How to set up a crypto wallet
  1. Pick a wallet app and download it on a desktop or mobile device; many software wallets have both options.
  2. Create an account. ...
  3. Write down your recovery or “seed” phrase. ...
  4. Add crypto to your wallet.
Mar 8, 2024

How do I get a BSC Testnet faucet? ›

Claim Testnet BNB on the Coinbase BSC BNB Faucet

Step 1: Visit the Coinbase BSC BNB faucet. Step 2: Click Connect with Coinbase Wallet. Your wallet address is automatically filled. Step 3: Click Request BNB to claim 0.25BNB from the faucet.

How do you use a Testnet faucet? ›

tools (opens in a new tab).
  1. Choose the chain you want to receive your tokens on. The default option will be Turing .
  2. Enter the address where you want to receive your AVAIL . The address will begin with 5 .
  3. You might see a captcha when trying out the faucet in production. Complete the captcha to get your tokens.
Apr 23, 2024

How do I get Goerli Testnet tokens from my faucet? ›

Now, let's get going with this tutorial on how to get testnet tokens using a Base Goerli faucet!
  1. Step 1: Set Up a Web3 Wallet. The first thing you'll need to get Base Goerli testnet tokens is the MetaMask browser extension. ...
  2. Step 2: Add the Base Goerli Testnet. ...
  3. Step 3: Get Testnet Tokens Using a Base Faucet.
Oct 20, 2023

What is the RPC URL for Celo Network? ›

RPC Server AddressHeightLatency
https://1rpc.io/celo252990360.011s
https://forno.celo.org252990360.014s
wss://forno.celo.org/ws
https://rpc.ankr.com/celo
2 more rows

Can I add celo network to MetaMask? ›

Adding a Celo Network to MetaMask​

To add a Celo Network to your dApp, you can use MetaMask's RPC API's wallet_addEthereumChain method. (See documentation).

Can I send Celo to MetaMask? ›

Most Celo-native wallets use a different derivation path (style of seed phrase) to MetaMask, so if you want to add Celo accounts from other wallets into MetaMask, you'll need to import via private key, rather than importing a seed phrase.

How to create a testnet wallet on trust wallet? ›

Step 1: Open the Trust Wallet Browser Extension and click on the Manage Tokens toggle option. Step 2: Click on the “Add custom token” button. Step 3: Scroll down to the Test Networks section and click on the Testnet token you want to add. Step 4: Enter the contract address and click “Add token”.

How do I add Sui testnet to my wallet? ›

Search Sui in the search box and select the Sui Snap Wallet by Kuna Labs (or any other Snap you wish to install).
  1. From the right-hand side of the Snap's page, click Add to MetaMask.
  2. Follow the prompts from your MetaMask Wallet to complete the installation process.
Mar 8, 2024

Does testnet pay? ›

Testnet coins are distinct from actual coins, they do not have any monetary value and cannot be used to pay transactions. Although similar, the testnet and mainnet are not compatible.

How do I get testnet tokens? ›

You can also request and get testnet tokens in your wallet using the APIs, by running the following commands:
  1. Get atestfet tokens. curl -X POST -H 'Content-Type: application/json' -d '{"address":"<address>"}' https://faucet-dorado.fetch.ai/api/v3/claims.
  2. Get nanomobx tokens. ...
  3. Get ulrn tokens.

Top Articles
Latest Posts
Article information

Author: Amb. Frankie Simonis

Last Updated:

Views: 5993

Rating: 4.6 / 5 (56 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Amb. Frankie Simonis

Birthday: 1998-02-19

Address: 64841 Delmar Isle, North Wiley, OR 74073

Phone: +17844167847676

Job: Forward IT Agent

Hobby: LARPing, Kitesurfing, Sewing, Digital arts, Sand art, Gardening, Dance

Introduction: My name is Amb. Frankie Simonis, I am a hilarious, enchanting, energetic, cooperative, innocent, cute, joyous person who loves writing and wants to share my knowledge and understanding with you.