Skip to content

Commit

Permalink
Merge pull request #302 from terra-money/add-oraichain
Browse files Browse the repository at this point in the history
add oraichain support
  • Loading branch information
terencelimzhengwei authored Mar 28, 2024
2 parents 13b1692 + 688918c commit 4c002e1
Show file tree
Hide file tree
Showing 7 changed files with 92 additions and 0 deletions.
1 change: 1 addition & 0 deletions chains/mainnet/cosmoshub.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ module.exports = {
'stafihub-1': 'channel-369',
'neutron-1': 'channel-569',
'injective-1': 'channel-220',
'Oraichain': 'channel-301',
},
explorer: {
address: 'https://www.mintscan.io/cosmos/account/{}',
Expand Down
1 change: 1 addition & 0 deletions chains/mainnet/injective.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module.exports = {
'osmosis-1': 'channel-8',
'stride-1': 'channel-89',
'kaiyo-1': 'channel-98',
'Oraichain': 'channel-147',
},
explorer: {
address: 'https://www.mintscan.io/injective/account/{}',
Expand Down
32 changes: 32 additions & 0 deletions chains/mainnet/oraichain.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
module.exports = {
chainID: 'Oraichain',
lcd: 'https://lcd.orai.io',
gasAdjustment: 1.5,
gasPrices: { orai: 0.005 },
prefix: 'orai',
coinType: '118',
baseAsset: 'orai',
name: 'Oraichain',
icon: process.env.CF_PAGES_URL + '/img/chains/orai.svg',
channels: {
'cosmoshub-4': 'channel-15',
'injective-1': 'channel-146',
'osmosis-1': 'channel-13',
},
ics20Channels: {},
explorer: {
address: 'https://scan.orai.io/account/{}',
tx: 'https://scan.orai.io/txs/{}',
validator: 'https://scan.orai.io/validators/{}',
block: 'https://scan.orai.io/blocks/{}',
},
tokens: [
{
token: 'orai',
symbol: 'ORAI',
name: 'Oraichain',
icon: process.env.CF_PAGES_URL + '/img/coins/orai.svg',
decimals: 6,
},
],
}
1 change: 1 addition & 0 deletions chains/mainnet/osmosis.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ module.exports = {
celestia: 'channel-6994',
'dydx-mainnet-1': 'channel-6787',
'stargaze-1': 'channel-75',
'Oraichain': 'channel-216',
},
explorer: {
address: 'https://www.mintscan.io/osmosis/account/{}',
Expand Down
29 changes: 29 additions & 0 deletions chains/testnet/oraichain.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
module.exports = {
chainID: 'Oraichain',
lcd: 'https://testnet-lcd.orai.io',
gasAdjustment: 1.5,
gasPrices: { orai: 0.005 },
prefix: 'orai',
coinType: '118',
baseAsset: 'orai',
name: 'Oraichain',
icon: process.env.CF_PAGES_URL + '/img/chains/orai.svg',
channels: {
},
ics20Channels: {},
explorer: {
address: 'https://testnet.scan.orai.io/account/{}',
tx: 'https://testnet.scan.orai.io/txs/{}',
validator: 'https://testnet.scan.orai.io/validators/{}',
block: 'https://testnet.scan.orai.io/blocks/{}',
},
tokens: [
{
token: 'orai',
symbol: 'ORAI',
name: 'Oraichain',
icon: process.env.CF_PAGES_URL + '/img/coins/orai.svg',
decimals: 6,
},
],
}
14 changes: 14 additions & 0 deletions img/chains/orai.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions img/coins/orai.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4c002e1

Please sign in to comment.