Skip to content

Commit

Permalink
Merge pull request #191 from terra-money/add-stafihub
Browse files Browse the repository at this point in the history
Add stafihub
  • Loading branch information
terencelimzhengwei authored Aug 22, 2023
2 parents d855321 + 6e64cdf commit ad4fc0c
Show file tree
Hide file tree
Showing 12 changed files with 303 additions and 0 deletions.
1 change: 1 addition & 0 deletions chains/mainnet/carbon.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ module.exports = {
'cosmoshub-4': 'channel-3',
'kaiyo-1': 'channel-9',
'osmosis-1': 'channel-0',
'stafihub-1': 'channel-13',
},
explorer: {
address: 'https://scan.carbon.network/account/{}?net=main',
Expand Down
1 change: 1 addition & 0 deletions chains/mainnet/chihuahua.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ module.exports = {
'juno-1': 'channel-11',
'migaloo-1': 'channel-39',
'osmosis-1': 'channel-7',
'stafihub-1': 'channel-25',
},
explorer: {
address: 'https://www.mintscan.io/chihuahua/account/{}',
Expand Down
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 = {
'stride-1': 'channel-391',
'pacific-1': 'channel-584',
'noble-1': 'channel-536',
'stafihub-1': 'channel-369',
},
explorer: {
address: 'https://www.mintscan.io/cosmos/account/{}',
Expand Down
1 change: 1 addition & 0 deletions chains/mainnet/kujira.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ module.exports = {
'osmosis-1': 'channel-3',
'stride-1': 'channel-35',
'noble-1': 'channel-62',
'stafihub-1': 'channel-63',
},
alliance: true,
explorer: {
Expand Down
66 changes: 66 additions & 0 deletions chains/mainnet/stafihub.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
module.exports = {
chainID: 'stafihub-1',
lcd: 'https://public-rest-rpc1.stafihub.io',
gasAdjustment: 1.75,
gasPrices: { ufis: 0.02 },
prefix: 'stafi',
coinType: '118',
baseAsset: 'ufis',
name: 'StaFiHub',
disabledModules: ['staking'],
icon: process.env.CF_PAGES_URL + '/img/chains/StaFiHub.png',
ibc: {
fromTerra: 'channel-204',
toTerra: 'channel-9',
},
channels: {
'phoenix-1': 'channel-9',
'cosmoshub-4': 'channel-0',
'chihuahua-1': 'channel-4',
'carbon-1': 'channel-5',
'kaiyo-1': 'channel-6',
},
explorer: {
address: 'https://www.mintscan.io/stafi/accounts/{}',
tx: 'https://www.mintscan.io/stafi/transactions/{}',
validator: 'https://www.mintscan.io/stafi/validators/{}',
block: 'https://www.mintscan.io/stafi/blocks/{}',
},
tokens: [
{
token: 'ufis',
symbol: 'FIS',
name: 'FIS',
icon: process.env.CF_PAGES_URL + '/img/coins/FIS.png',
decimals: 6,
},
{
token: 'uratom',
symbol: 'rATOM',
name: 'rATOM',
icon: process.env.CF_PAGES_URL + '/img/coins/rATOM.svg',
decimals: 6,
},
{
token: 'uriris',
symbol: 'rIRIS',
name: 'rIRIS',
icon: process.env.CF_PAGES_URL + '/img/coins/rIRIS.svg',
decimals: 6,
},
{
token: 'urhuahua',
symbol: 'rHUAHUA',
name: 'rHUAHUA',
icon: process.env.CF_PAGES_URL + '/img/coins/rHUAHUA.svg',
decimals: 6,
},
{
token: 'urswth',
symbol: 'rSWTH',
name: 'rSWTH',
icon: process.env.CF_PAGES_URL + '/img/coins/rSWTH.svg',
decimals: 6,
}
],
}
1 change: 1 addition & 0 deletions chains/mainnet/terra.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ module.exports = {
'neutron-1': 'channel-167',
'pacific-1': 'channel-158',
'noble-1': 'channel-151',
'stafihub-1': 'channel-204',
},
icsChannels: {
'carbon-1': {
Expand Down
Binary file added img/chains/StaFiHub.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/coins/FIS.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
53 changes: 53 additions & 0 deletions img/coins/rATOM.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit ad4fc0c

Please sign in to comment.