Skip to content
This repository has been archived by the owner on Apr 15, 2022. It is now read-only.

Commit

Permalink
Merge pull request #81 from cosmostation/develop
Browse files Browse the repository at this point in the history
added Certik
  • Loading branch information
Booyoun authored Dec 8, 2020
2 parents 9e2c4b1 + 74a5fbb commit 7846733
Show file tree
Hide file tree
Showing 4 changed files with 461 additions and 5 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

*:star: Developed / Developing by [Cosmostation](https://www.cosmostation.io/)*

A JavasSript Open Source Library for [Cosmos Network](https://cosmos.network/), [IRISnet](https://www.irisnet.org/), [Kava](https://www.kava.io/), [Band Protocol](https://bandprotocol.com/), [Starname](https://iov.one/), [Secret Network](https://scrt.network/), and [Akash Network](https://akash.network/).
A JavasSript Open Source Library for [Cosmos Network](https://cosmos.network/), [IRISnet](https://www.irisnet.org/), [Kava](https://www.kava.io/), [Band Protocol](https://bandprotocol.com/), [Starname](https://iov.one/), [Secret Network](https://scrt.network/), [Akash Network](https://akash.network/), and [Certik](https://certik.foundation/).

This library supports cosmos address generation and verification. It enables you to create an offline signature functions of different types of transaction messages. It will eventually support all the other blockchains that are based on Tendermint in the future.

Expand Down Expand Up @@ -58,7 +58,7 @@ import cosmosjs from "@cosmostation/cosmosjs";
- You can see example file at [/example/browser-example.html](https://github.com/cosmostation/cosmosjs/tree/master/example/browser-example.html)

```js
<script src="https://cdn.jsdelivr.net/npm/@cosmostation/cosmosjs@0.7.0/dist/cosmos.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@cosmostation/cosmosjs@0.8.0/dist/cosmos.min.js"></script>
```

## Usage
Expand Down Expand Up @@ -122,6 +122,14 @@ const chainId = "akashnet-1";
const akash = cosmosjs.network(lcdUrl, chainId);
akash.setBech32MainPrefix("akash");
```
- Certik
```js
const cosmosjs = require("@cosmostation/cosmosjs");

const chainId = "shentu-1";
const certik = cosmosjs.network(lcdUrl, chainId);
certik.setBech32MainPrefix("certik");
```

Generate ECPairPriv value that is needed for signing signatures
```js
Expand Down
Loading

0 comments on commit 7846733

Please sign in to comment.