Skip to content

Commit

Permalink
Merge pull request #157 from cosmology-tech/feature/add-keplr-v2
Browse files Browse the repository at this point in the history
Feature/add keplr v2
  • Loading branch information
pyramation authored Oct 14, 2024
2 parents b71f793 + fe858b7 commit 10023d5
Show file tree
Hide file tree
Showing 16 changed files with 175,747 additions and 52,786 deletions.
60 changes: 60 additions & 0 deletions v2/packages/keplr/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# keplr

<p align="center">
<img src="https://user-images.githubusercontent.com/545047/188804067-28e67e5e-0214-4449-ab04-2e0c564a6885.svg" width="80"><br />
Chain Registry to Keplr
</p>

## install

```sh
npm install keplr
```
## Table of contents

- [keplr](#keplr)
- [Install](#install)
- [Table of contents](#table-of-contents)
- [Developing](#developing)
- [Credits](#credits)

## Developing

When first cloning the repo:

```sh
yarn
# build the prod packages. When devs would like to navigate to the source code, this will only navigate from references to their definitions (.d.ts files) between packages.
yarn build
```

Or if you want to make your dev process smoother, you can run:

```sh
yarn
# build the dev packages with .map files, this enables navigation from references to their source code between packages.
yarn build:dev
```

## Related

Checkout these related projects:

* [@cosmology/telescope](https://github.com/cosmology-tech/telescope) Your Frontend Companion for Building with TypeScript with Cosmos SDK Modules.
* [@cosmwasm/ts-codegen](https://github.com/CosmWasm/ts-codegen) Convert your CosmWasm smart contracts into dev-friendly TypeScript classes.
* [chain-registry](https://github.com/cosmology-tech/chain-registry) Everything from token symbols, logos, and IBC denominations for all assets you want to support in your application.
* [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) Experience the convenience of connecting with a variety of web3 wallets through a single, streamlined interface.
* [create-cosmos-app](https://github.com/cosmology-tech/create-cosmos-app) Set up a modern Cosmos app by running one command.
* [interchain-ui](https://github.com/cosmology-tech/interchain-ui) The Interchain Design System, empowering developers with a flexible, easy-to-use UI kit.
* [starship](https://github.com/cosmology-tech/starship) Unified Testing and Development for the Interchain.

## Credits

🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.zone/validator)


## Disclaimer

AS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED “AS IS”, AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND.

No developer or entity involved in creating this software will be liable for any claims or damages whatsoever associated with your use, inability to use, or your interaction with other users of the code, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value.
64 changes: 64 additions & 0 deletions v2/packages/keplr/__tests__/__snapshots__/chainInfo.test.ts.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`works 1`] = `
{
"bech32Config": {
"bech32PrefixAccAddr": "osmo",
"bech32PrefixAccPub": "osmopub",
"bech32PrefixConsAddr": "osmovalcons",
"bech32PrefixConsPub": "osmovalconspub",
"bech32PrefixValAddr": "osmovaloper",
"bech32PrefixValPub": "osmovaloperpub",
},
"bip44": {
"coinType": 118,
},
"chainId": "osmosis-1",
"chainName": "Osmosis",
"currencies": [
{
"coinDecimals": 6,
"coinDenom": "OSMO",
"coinGeckoId": "osmosis",
"coinImageUrl": "https://app.osmosis.zone/tokens/osmo.svg",
"coinMinimalDenom": "uosmo",
},
{
"coinDecimals": 6,
"coinDenom": "ION",
"coinGeckoId": "ion",
"coinImageUrl": "https://app.osmosis.zone/tokens/ion.png",
"coinMinimalDenom": "uion",
},
],
"features": [
"stargate",
"ibc-transfer",
"no-legacy-stdTx",
"ibc-go",
],
"feeCurrencies": [
{
"coinDecimals": 6,
"coinDenom": "OSMO",
"coinGeckoId": "osmosis",
"coinImageUrl": "https://app.osmosis.zone/tokens/osmo.svg",
"coinMinimalDenom": "uosmo",
},
],
"gasPriceStep": {
"average": 0,
"high": 0.025,
"low": 0,
},
"rest": "https://lcd-osmosis.keplr.app/",
"rpc": "https://rpc-osmosis.keplr.app/",
"stakeCurrency": {
"coinDecimals": 6,
"coinDenom": "OSMO",
"coinGeckoId": "osmosis",
"coinImageUrl": "https://app.osmosis.zone/tokens/osmo.svg",
"coinMinimalDenom": "uosmo",
},
}
`;
Loading

0 comments on commit 10023d5

Please sign in to comment.