An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# Cosmospay-api

[![Update chains in cosmos.config.json](https://github.com/BitCannaGlobal/Cosmos-Pay/actions/workflows/main.yml/badge.svg)](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