This repo allows to automatically update RPC/LCD url from chain registry.
- Fork this repo to your own github account
- Clone fork and create new branch
git clone https://github.com/BitCannaGlobal/cosmospay-api.git
cd cosmospay-api/
git branch <your_branch_name>
git checkout <your_branch_name>
nano cosmos.config.json
- Edit cosmos.config.json and add your own config.
Example:
{
"chainId": "bitcanna-1",
"name": "BitCanna",
"apiURL": "https://lcd.bitcanna.io",
"rpcURL": "https://rpc.bitcanna.io/",
"coinLookup": {
"viewDenom": "BCNA",
"chainDenom": "ubcna",
"addressPrefix": "bcna",
"icon": "https://raw.githubusercontent.com/osmosis-labs/assetlists/main/images/bcna.svg",
"banner": "https://demo.cosmos-tool.com//wp-content/plugins/cosmos-woocomerce/public/img/BitCanna.png"
},
"coingeckoId": "bitcanna",
"mintscanId": "bitcanna",
"active": "true",
"lastUpdate": "2022-10-03T10:26:26.440Z"
}
- Commit and push to your fork
git add cosmos.config.json
git commit -m "Add <your_chain>"
git push origin <your_branch_name>
- From your repository, make pull requesrt (PR)
The team will contact you with respect to the listing in the plugin