Token Listing
List your tokens in BloctoSwap
Last updated
Was this helpful?
List your tokens in BloctoSwap
Last updated
Was this helpful?
To begin, it is necessary for you to provide us with your Fungible tokens contract. Fungible tokens on the Flow blockchain is implemented using the interface. For examples of contracts, please take a look at the . This repository contains the Cadence source code for the FUSD contract and accompanying transactions.
Once your contract has been deployed, you can proceed to add a new swap pair to BloctoSwap. The process for doing so is as follows:
Go to repository. This is where we maintain the official list of tokens that are supported by BloctoSwap. Add a new entry to the data/{network}/tokens.json
file. This file contains a list of tokens that BloctoSwap supports.
The token entry should be in the following format:
After you done, send a GitHub pull request to our repository. Your pull request will be reviewed by our team, and if everything looks good, your new token will be added to the list.
To add a new swap pair to BloctoSwap, follow these steps:
A swap pair entry should follow this format:
Go to repository, and add a new entry in data/{network}/pairs.json
. This file contains a list of all the swap pairs that BloctoSwap supports. The format of the entries in pairs.json
is simple: each entry represents the address that contract deploy to, the swap contract name, and includes information such as name of tokens that can be swapped and the pairs' contract addresses. You should follow this format when adding your new swap pair to the list.
For contract examples, refer to the . This repository contains example contract code that you can use as a reference when creating your own swap pair contract. You can also use this code as a starting point for your own contract, if you prefer.
After you done, send a GitHub pull request to our repository. This is where we maintain the official list of all swap pairs that are supported by BloctoSwap. Your pull request will be reviewed by our team, and if everything looks good, your new swap pair will be added to the list.