Claw Wallet
The wallet for ClawChain -- the AI-native blockchain. Forked from Keplr Wallet.
Official Releases
You can find the latest versions of the official managed releases on these links:
- Browser Extension (Chrome, Firefox, Edge)
For help using Claw Wallet, visit our documentation.
Building browser extension locally
Requirements
-
protoc v21.3 (recommended)
# This script is example for mac arm64 user. for other OS, replace URL(starts with https://..) to be matched with your OS from https://github.com/protocolbuffers/protobuf/releases/tag/v21.3 curl -Lo protoc-21.3.zip https://github.com/protocolbuffers/protobuf/releases/download/v21.3/protoc-21.3-osx-aarch_64.zip unzip protoc-21.3.zip -d $HOME/protoc cp -r $HOME/protoc/include /usr/local cp -r $HOME/protoc/bin /usr/local
Clone this repo and run:
yarn && yarn build
You can find the build output of Claw Wallet Extension in apps/extension/build/manifest-v3. This output only works on Chrome now, so we recommend using other build outputs (in apps/extension/build/manifest-v2 or apps/extension/build/firefox) for other browsers. You can visit this page for instructions on loading the build output on Chrome.
Packages
| Package | Description | Latest |
|---|---|---|
| @keplr-wallet/background | The core logic of wallet running in the background. Interfaces to communicate with other processes are also defined. | |
| @keplr-wallet/cosmos | Interfaces that are compatible with the data from Cosmos SDK, Tendermint based chains. | |
| @keplr-wallet/crypto | Implementations of key cryptography for wallet. Hashing (sha256, keccak256), elliptic curve (secp256k1), HD key derivation (BIP-32, BIP-39). | |
| @keplr-wallet/proto-types | scripts to generate .proto files into typescript files, and the types generated. |
|
| @keplr-wallet/provider | Implementations that makes some of the wallet's core logic externally available. | |
| @keplr-wallet/router | Interfaces used to communicate with the background. | |
| @keplr-wallet/stores | The core logic of application's state, query and wallet is implemented on top of Mobx. | |
| @keplr-wallet/types | Types used across packages. | |
| @keplr-wallet/unit | Interfaces defined to handle token quantities and values, integers, floating points, etc. |
Dapp example
Refer to the Keplr Example repository for examples of how to integrate Claw Wallet signing support for your web interface/application.
Disclaimer
Usage of any other packages besides @keplr-wallet/types is not recommended.
- Any other packages besides @keplr-wallet/types are actively being developed, backward compatibility is not in the scope of support.
- Since there are active changes being made, documentation is not being updated to the most recent version of the package as of right now. Documentations would be updated as packages get stable.
This repo is forked from Keplr and contains submodules that are not open sourced. However, all primary features of the extension will work without the closed sourced submodules.
License
Browser Extension
Apache 2.0 License