Step 2: Initialize Token Bonding Curve (TBC)
Learn how to configure and initialize the TBC that defines the supply and price of your token.
Last updated
Learn how to configure and initialize the TBC that defines the supply and price of your token.
Last updated
Configure your TBC parameters. View the and pages for help.
Once the TBC is configured and initialized, two token accounts will automatically be created in the swap program:
A token account for token A (sRLY on prod, any SPL token on devnet)
A token account for your application token (token B)
Once created, the initial token B supply amount will be transferred from the authorized wallet to the token B account owned by the swap program.
Note: Pool tokens and deposits/withdrawals of pool tokens are intentionally disabled so that liquidity can't be added/removed from the swap outside of the swap instruction.
In this section you should have:
Initialized a TBC based on your parameters
Verified the token account for your app token owned by the swap program
Verified the token account for sRLY owned by the swap program
Verified the transfer and balance of the initial supply of application token to app token account
Token A is the sRLY token on production environments. On non production environments, token A can be any SPL token. It is recommended that you create an SPL token that has . Token B is your application token from Step 1.