Comment on page
Integrate Pool to JunoSwap UI
General instructions for integration of your AMM pool into the JunoSwap.com UI
To enable your pool to be visible and useable on the junoswap.com user interface, you must:
- 1.create formatted JSON according to the template provided;
- 2.fork the junoswap-asset-list repository on GitHub;
- 3.add your pool data to token_list.json; and
- 4.submit a PR to be assessed and merged.
Please carefully follow these instructions so that your pull request is not rejected.
The following example JSON is to integrate native JUNO and IBC SCRT pool into the junoswap.com user interface.
You must ensure that your
pool_idis unique and formatted correctly or your pull request will be rejected. Please use the dominant token first, followed by
-and then your secondary token.
pool_id: unique id
chain_id: source chain id or juno-1 if token
token address: cw20 token address or empty if native
swap address: swap contract address
You will need to fork the junoswap-asset-list repository:
After forking the repository, locate the asset list:
Edit this file. Scroll to the bottom of the list and add your JSON to the end of the
tokensarray in the same manor as all the other pool entries. Please ensure you ad a
,to the preceding JSON closing curly brace.
Submit a PR with your changes with the following name:
<pool_id>with the one used in your JSON.
Monitor your pull request and answer any questions from the team, and make modifications as requested.