Skip to content

Commit

Permalink
Merge pull request #64 from okx/okbc-testnet
Browse files Browse the repository at this point in the history
feat: add okbc config
  • Loading branch information
spoo-bar authored Apr 25, 2023
2 parents 3836ace + 044943f commit f8ca302
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ All notable changes to the Cosmy Wasmy extension will be documented in this file
### Security
-->

## [v2.2.2] - 25 April 2023

### Added
- Support [OKBChain](https://www.okx.com/okbc) - OKB Chain (OKBC) is an Ethereum scaling solution that provides users with high-performance decentralized applications and security, achieved with seamless integration. Added configurations for localnet as well as testnet chains


## [v2.2.1] - 13 April 2023

### Added
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ The following chains are pre-configured by default. Any other chains can be manu
| 7 | [Osmosis](https://osmosis.zone/) | localnet | localosmosis |
| 8 | [OKTC](https://www.okx.com/oktc) | localnet | exchain-67 |
| 9 | [OKTC](https://www.okx.com/oktc) | testnet | exchain-65 |
| 10 | [OKBC](https://www.okx.com/okbc) | localnet | okbchain-67 |
| 11 | [OKBC](https://www.okx.com/okbc) | testnet | okbchaintest-195 |

You can set up the extension settings at
> File > Preferences > Settings > Extensions > Cosmy Wasmy
Expand Down
33 changes: 30 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"Chihuahua",
"Stargaze",
"Neutron",
"OKTC"
"OKTC",
"OKBC"
],
"activationEvents": [
"onView:account",
Expand Down Expand Up @@ -428,8 +429,34 @@
"chainGasDenom": "wei",
"chainDenomDecimals": "18",
"signType": "ethsecp256k1",
"accountExplorerLink": "https://www.oklink.com/cn/oktc-test/address/${accountAddress}",
"txExplorerLink": "https://www.oklink.com/cn/oktc-test/tx/${txHash}"
"accountExplorerLink": "https://www.oklink.com/oktc-test/address/${accountAddress}",
"txExplorerLink": "https://www.oklink.com/oktc-test/tx/${txHash}"
},
{
"configName": "OKBC localnet",
"chainId": "okbchain-67",
"chainEnvironment": "localnet",
"addressPrefix": "ex",
"rpcEndpoint": "http://localhost:26657",
"defaultGasPrice": "100000000",
"chainDenom": "okb",
"chainGasDenom": "wei",
"chainDenomDecimals": "18",
"signType": "ethsecp256k1"
},
{
"configName": "OKBC testnet",
"chainId": "okbchaintest-195",
"chainEnvironment": "testnet",
"addressPrefix": "ex",
"rpcEndpoint": "https://okbtesttmrpc.okbchain.org",
"defaultGasPrice": "100000000",
"chainDenom": "okb",
"chainGasDenom": "wei",
"chainDenomDecimals": "18",
"signType": "ethsecp256k1",
"accountExplorerLink": "https://www.oklink.com/okbc-test/address/${accountAddress}",
"txExplorerLink": "https://www.oklink.com/okbc-test/tx/${txHash}"
}
]
},
Expand Down

0 comments on commit f8ca302

Please sign in to comment.