https://github.com/bitcannaglobal/cosmospay-api
CosmosPay - API configuration & supported assets
https://github.com/bitcannaglobal/cosmospay-api
bitcanna blockchain blockchain-technology cosmos-sdk e-commerce payments prestashop woocommerce woocommerce-plugin
Last synced: 4 months ago
JSON representation
CosmosPay - API configuration & supported assets
- Host: GitHub
- URL: https://github.com/bitcannaglobal/cosmospay-api
- Owner: BitCannaGlobal
- License: apache-2.0
- Created: 2022-09-06T12:57:04.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-06-24T08:48:50.000Z (almost 2 years ago)
- Last Synced: 2024-06-24T10:10:58.691Z (almost 2 years ago)
- Topics: bitcanna, blockchain, blockchain-technology, cosmos-sdk, e-commerce, payments, prestashop, woocommerce, woocommerce-plugin
- Language: JavaScript
- Homepage: https://www.bitcanna.io
- Size: 240 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cosmospay-api
[](https://github.com/BitCannaGlobal/Cosmos-Pay/actions/workflows/main.yml)
This repo allows to automatically update RPC/LCD url from chain registry.
## Add your chain
1. Fork this repo to your own github account
2. Clone fork and create new branch
```
git clone https://github.com/BitCannaGlobal/cosmospay-api.git
cd cosmospay-api/
git branch
git checkout
nano cosmos.config.json
```
3. Edit cosmos.config.json and add your own config.
Example:
``` json
{
"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"
}
```
4. Commit and push to your fork
```
git add cosmos.config.json
git commit -m "Add "
git push origin
```
5. From your repository, make pull requesrt (PR)
The team will contact you with respect to the listing in the plugin