Create Token on Stellar Blockchain Network | Tokens on Stellar Blockchain (2024)

Most of the startups released their tokens on Ethereum because it has a good ecosystem and is Turing-complete. But Ethereum has some downsides as well. Ethereum carries out 14 transactions per second. It is becoming a real issue now and is causing existing dApps to move off the Ethereum platform. Therefore, it is good to look for other options.

Stellar Lumens is one of the best blockchain platforms that allow you to create a custom token to form the basis of an ecosystem. In this article, we will explain how to issue and create a token on the Stellar network.

Create Token on Stellar Blockchain Network | Tokens on Stellar Blockchain (1)

  • Step 1: Create two accounts (One for Issuance, Another for Distribution)
  • Step 2: Create a trustline between two accounts
  • Step 3: Lock the issuer account
  • Step 4: Distribution

Here are the steps to create a custom token on the Stellar Blockchain

Step 1: Create two accounts (One for Issuance, Another for Distribution)

The first step of creating a token on the Stellar platform is to create an issuing account used to issue the token supply to a distribution account. We create an issuing account to lock it after generating tokens and prove to our users that the token supply will not be increased in the future.

To do that, Go to Stellar Laboratory and make sure to select the “test” tab. Then click on “Generate keypair” and take a note of secret and public keys in a safe place.
Create Token on Stellar Blockchain Network | Tokens on Stellar Blockchain (2)

Once the key pair is generated, the next step is to fund the issuing account on the test network using the friend bot tool. It will copy your public key into the text box, then click “Get test network lumens.”

Create Token on Stellar Blockchain Network | Tokens on Stellar Blockchain (3)

When the account is funded, you will see a green bar that confirms your new account’s successful funding with test lumens.

Similarly, create and fund another account for the distribution and note down the public and private keys. Once it is done, you can check to ensure both accounts have a balance by appending every public key to the end of the following URL:

 https://horizon-testnet.stellar.org/accounts/your public key

For example, in our case, it looks like:

 https://horizon-testnet.stellar.org/accounts/GDO3DT4QDLWF7532E2CEDX6C6GSPGGB53XUDKNWLXLCJEF4XCQUDQRTV

Once you open this URL, it will return a JSON object and you will notice a balance of 10,000 testnet Lumens.

 }, "balances": [ { "balance": "10000.0000000", "buying_liabilities": "0.0000000", "selling_liabilities": "0.0000000", "asset_type": "native" } ],

Step 2: Create a trustline between two accounts

The next step is to create a trustline that implies the distribution account trusts the issuing account. To make a trustline, go to the transaction builder page and enter the public key for the distribution account into the source account field.

Create Token on Stellar Blockchain Network | Tokens on Stellar Blockchain (4)

Then, click on “Fetch next sequence number for account starting with..”

TAfter clicking, you will get a transaction sequence number.

Create Token on Stellar Blockchain Network | Tokens on Stellar Blockchain (5)

We can keep the next three fields: Memo, Base Fee and Time Bounds alone and move to operation type and set that to “Change Trust.”

After selecting operation type as “change trust”, set the asset to alphanumeric 4 or 12 based on the number of characters you want to use and enter the asset code of your choice. For example, we are creating a token for the gold asset; therefore, select Alphanumeric 4 and enter “Gold” in the asset code field.

Add your issuing accounts public key in the “Issuer Account ID.”

Create Token on Stellar Blockchain Network | Tokens on Stellar Blockchain (6)

Enter the number of tokens you want to generate in the “trust field” field. For example, we are going to generate 200,000 tokens.

Complete the transaction by clicking the “Sign in transaction signer” button at the bottom of the page.

Create Token on Stellar Blockchain Network | Tokens on Stellar Blockchain (7)

It will navigate you to the next page where you need to scroll down to the signatures section. We will add the distribution account secret key in the “Add Signer” field. We would use a ledger if we were doing it in reality, since it is just an example, we will paste the key as described above.

Create Token on Stellar Blockchain Network | Tokens on Stellar Blockchain (8)

Once the secret key is pasted, scroll to the bottom and click “Submit in transaction submitter.”

Create Token on Stellar Blockchain Network | Tokens on Stellar Blockchain (9)

Step 3: Lock the issuer account

The final step is to lock down the issuing account so that no more tokens can be created. To do that, go to the transaction builder page again and enter the public key of the issuing account in the source account field and fetch the next sequence number as we did earlier.

Then, scroll down and select the “operation type” as Set Options and the master weight to 0 and click “Sign transaction in signer” at the bottom of the page.

After that, add the issuing account secret key in the “Add Signer” field and click “Submit to post transaction endpoint,” and then “submit” to finalize the transaction.

THere you go and the token is created on the Stellar network. Now, check your newly created token on testnet by adding a distribution account into the URL:

https://horizon-testnet.stellar.org/accounts/your distribution public key

As our token exists and everything is set up, the final step is to hand them to the people. You can find many ways to do that. One of the significant features of Stellar is the decentralized exchange. You can create an offer to sell these tokens and trade them live Stellar exchange.

Make sure to remember the following tips when distributing tokens:

  • Inflating token supply in a predefined schedule with pre-authorized transactions.
  • Issue a dividend.
  • Restrict who can hold your token.
  • Conducting an auction for your tokens.

Now, we have successfully issued a token on the Stellar network. Also, it is easier to do as compared to Ethereum. Transactions on the Stellar network will be cheaper and quicker.

If you are also looking to build a custom token on the Stellar network but do not have technical expertise, consult our Stellar Developers who can do it for you the way you want.

Create Token on Stellar Blockchain Network | Tokens on Stellar Blockchain (2024)

FAQs

Create Token on Stellar Blockchain Network | Tokens on Stellar Blockchain? ›

To create a new asset, log in to your Stellar account and go to the “Assets” tab. Click on the “Add new asset” button and enter the asset code and the issuer account. The asset code is a unique identifier for your token, and the issuer account is the Stellar account that will issue the token.

How to create a token on Stellar blockchain? ›

To create a new asset, log in to your Stellar account and go to the “Assets” tab. Click on the “Add new asset” button and enter the asset code and the issuer account. The asset code is a unique identifier for your token, and the issuer account is the Stellar account that will issue the token.

What is the native token of the Stellar blockchain? ›

The Stellar network was made to support digital representations of any currency, but it also has its own native token called the lumen (XLM). The lumen fulfills a special role in the network. By design, the Stellar network requires that each account hold a small number of lumens at all times.

What blockchain is Stellar built on? ›

The Stellar network is an open-sourced, public blockchain powered by the Stellar Consensus protocol (SCP), a proof-of-agreement (PoA) consensus mechanism.

How do I create my token? ›

How to Create Your Own Crypto Token in 10 Easy Steps
  1. Define the purpose of your token. ...
  2. Choose a blockchain platform for your token. ...
  3. Select a token standard for your token. ...
  4. Design the token's name, symbol, supply, and distribution. ...
  5. Write the token's smart contract code. ...
  6. Test and deploy the token's smart contract.
Feb 26, 2024

How token is generated in blockchain? ›

Tokens are created through an initial coin offering, which represents the cryptocurrency version of an initial public offering (IPO). Tokens are created by cryptocurrency companies that want to raise money. Investors who are interested in the company can purchase these tokens.

How much is Stellar token worth? ›

Price of XLM today

The live price of Stellar is $ 0.10781 per (XLM / USD) with a current market cap of $ 3.12B USD. 24-hour trading volume is $ 76.53M USD. XLM to USD price is updated in real-time.

Is Stellar blockchain safe? ›

The Stellar Consensus Blockchain Protocol is a decentralized platform that enables fast and secure transactions. The protocol is based on a distributed ledger system that uses a consensus algorithm to validate transactions.

Is Stellar a coin or token? ›

Stellar's native token is called Lumens, or XLM. Stellar is currently the largest cryptocurrency by market cap, boasting a value of $9.16 billion.

What is the base fee for Stellar Network? ›

Effective base fee: the fee required per operation for a transaction to make it to the ledger. This cannot be lower than 100 stroops per operation (the network minimum). Stroop: the smallest unit of a lumen, one ten-millionth of a lumen (. 0000001 XLM).

Can Stellar coin be mined? ›

But Stellar lumens can't be mined. Instead, the Stellar Development Foundation released 100 billion lumens in 2014 when the network went live. Over the next five years, the foundation increased the supply by 1% each year.

Does Stellar have its own blockchain? ›

Stellar is a decentralized, public blockchain that gives developers the tools to create experiences that are more like cash than crypto. The network is faster, cheaper, and far more energy-efficient than most blockchain-based systems. It's designed so Stellar's ecosystem can make a real-world, lasting impact.

What is the fee for Stellar blockchain? ›

The fee for a transaction can be calculated by multiplying the number of operations the transaction contains with the base fee, which is 100 Stroops (0.00001 XLM).

What coins are on the Stellar Network? ›

  • Bitcoin.
  • Ethereum.
  • Celsius.
  • Polkadot.
  • Solana.
  • Monero.
  • XRP.
  • Uniswap.

Is it legal to create a crypto token? ›

A few key points: - Simply creating and selling one's own cryptocurrency token does not violate criminal laws against fraud or theft absent blatantly false statements or hacking/stealing funds. There may still be civil liability though (see below).

How do I create a Stellar smart contract? ›

Participants must agree on how transactions and data will be represented on the blockchain. They also need to determine the “if/when…then” rules that regulate those transactions. A developer can then program the smart contract.

How do I create a smart chain token? ›

If you want to create BSC token for free, you simply need to do that on the Binance Smart Chain testnet instead of the mainnet. Then, you'll use testnet tokens (tBNB) instead of BNB tokens to cover fees (which you can get from BNB faucets) and won't have to pay anything. This is especially great for practice purposes.

Top Articles
Latest Posts
Article information

Author: Carlyn Walter

Last Updated:

Views: 6403

Rating: 5 / 5 (50 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Carlyn Walter

Birthday: 1996-01-03

Address: Suite 452 40815 Denyse Extensions, Sengermouth, OR 42374

Phone: +8501809515404

Job: Manufacturing Technician

Hobby: Table tennis, Archery, Vacation, Metal detecting, Yo-yoing, Crocheting, Creative writing

Introduction: My name is Carlyn Walter, I am a lively, glamorous, healthy, clean, powerful, calm, combative person who loves writing and wants to share my knowledge and understanding with you.