Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
298 changes: 149 additions & 149 deletions .pnp.cjs

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ and this project adheres to
- @cosmjs/crypto: Make
`Secp256k1.verifySignature`/`.createSignature`/`.makeKeypair` synchonous and
let them not return a Promise.
- @cosmjs/cosmwasm-stargate: Rename package to @cosmjs/cosmwasm.

[#1883]: https://github.com/cosmos/cosmjs/issues/1883
[#1866]: https://github.com/cosmos/cosmjs/issues/1866
Expand Down
30 changes: 15 additions & 15 deletions HACKING.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,18 +105,18 @@ In the `scripts/` folder, a bunch of blockchains and other backend systems are
started for testing purposes. Some ports need to be changed from the default in
order to avoid conflicts. Here is an overview of the ports used:

| Port | Application | Usage |
| ----- | ------------------------------ | ------------------------------- |
| 1318 | simapp LCD API | Manual Stargate debugging |
| 1319 | wasmd LCD API | Manual Stargate debugging |
| 1320 | simapp slow LCD API | Manual Stargate debugging |
| 4444 | socketserver | @cosmjs/sockets tests |
| 4445 | socketserver slow | @cosmjs/sockets tests |
| 5555 | httpserver | @cosmjs/tendermint-rpc tests |
| 9090 | simapp gRPC | Manual Stargate debugging |
| 11101 | Standalone CometBFT 1.x RPC | @cosmjs/tendermint-rpc tests |
| 11137 | Standalone Tendermint 0.37 RPC | @cosmjs/tendermint-rpc tests |
| 11138 | Standalone CometBFT 0.38 RPC | @cosmjs/tendermint-rpc tests |
| 26658 | simapp Tendermint RPC | Stargate client tests |
| 26659 | wasmd Tendermint RPC | @cosmjs/cosmwasm-stargate tests |
| 26660 | simapp slow Tendermint RPC | Stargate client tests |
| Port | Application | Usage |
| ----- | ------------------------------ | ---------------------------- |
| 1318 | simapp LCD API | Manual Stargate debugging |
| 1319 | wasmd LCD API | Manual Stargate debugging |
| 1320 | simapp slow LCD API | Manual Stargate debugging |
| 4444 | socketserver | @cosmjs/sockets tests |
| 4445 | socketserver slow | @cosmjs/sockets tests |
| 5555 | httpserver | @cosmjs/tendermint-rpc tests |
| 9090 | simapp gRPC | Manual Stargate debugging |
| 11101 | Standalone CometBFT 1.x RPC | @cosmjs/tendermint-rpc tests |
| 11137 | Standalone Tendermint 0.37 RPC | @cosmjs/tendermint-rpc tests |
| 11138 | Standalone CometBFT 0.38 RPC | @cosmjs/tendermint-rpc tests |
| 26658 | simapp Tendermint RPC | Stargate client tests |
| 26659 | wasmd Tendermint RPC | @cosmjs/cosmwasm tests |
| 26660 | simapp slow Tendermint RPC | Stargate client tests |
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ CosmJS is a library that consists of many smaller npm packages within the
[@cosmjs namespace](https://www.npmjs.com/org/cosmjs), a so-called monorepo.
Here are some of them to get an idea:

| Package | Description | Latest |
| ------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| [@cosmjs/stargate](packages/stargate) | A client library for the Cosmos SDK 0.40+ (Stargate) | [![npm version](https://img.shields.io/npm/v/@cosmjs/stargate.svg)](https://www.npmjs.com/package/@cosmjs/stargate) |
| [@cosmjs/faucet](packages/faucet) | A faucet application for node.js | [![npm version](https://img.shields.io/npm/v/@cosmjs/faucet.svg)](https://www.npmjs.com/package/@cosmjs/faucet) |
| [@cosmjs/cosmwasm-stargate](packages/cosmwasm-stargate) | Client for Stargate chains with the CosmWasm module enabled | [![npm version](https://img.shields.io/npm/v/@cosmjs/cosmwasm-stargate.svg)](https://www.npmjs.com/package/@cosmjs/cosmwasm-stargate) |
| [@cosmjs/crypto](packages/crypto) | Cryptography for blockchain projects, e.g. hashing (SHA-2, Keccak256, Ripemd160), signing (secp256k1, ed25519), HD key derivation (BIP-39, SLIP-0010), KDFs and symmetric encryption for key storage (PBKDF2, Argon2, XChaCha20Poly1305) | [![npm version](https://img.shields.io/npm/v/@cosmjs/crypto.svg)](https://www.npmjs.com/package/@cosmjs/crypto) |
| [@cosmjs/encoding](packages/encoding) | Encoding helpers for blockchain projects | [![npm version](https://img.shields.io/npm/v/@cosmjs/encoding.svg)](https://www.npmjs.com/package/@cosmjs/encoding) |
| [@cosmjs/math](packages/math) | Safe integers; decimals for handling financial amounts | [![npm version](https://img.shields.io/npm/v/@cosmjs/math.svg)](https://www.npmjs.com/package/@cosmjs/math) |
| Package | Description | Latest |
| ------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| [@cosmjs/stargate](packages/stargate) | A client library for the Cosmos SDK 0.40+ (Stargate) | [![npm version](https://img.shields.io/npm/v/@cosmjs/stargate.svg)](https://www.npmjs.com/package/@cosmjs/stargate) |
| [@cosmjs/faucet](packages/faucet) | A faucet application for node.js | [![npm version](https://img.shields.io/npm/v/@cosmjs/faucet.svg)](https://www.npmjs.com/package/@cosmjs/faucet) |
| [@cosmjs/cosmwasm](packages/cosmwasm) | Client for Stargate chains with the CosmWasm module enabled | [![npm version](https://img.shields.io/npm/v/@cosmjs/cosmwasm.svg)](https://www.npmjs.com/package/@cosmjs/cosmwasm) |
| [@cosmjs/crypto](packages/crypto) | Cryptography for blockchain projects, e.g. hashing (SHA-2, Keccak256, Ripemd160), signing (secp256k1, ed25519), HD key derivation (BIP-39, SLIP-0010), KDFs and symmetric encryption for key storage (PBKDF2, Argon2, XChaCha20Poly1305) | [![npm version](https://img.shields.io/npm/v/@cosmjs/crypto.svg)](https://www.npmjs.com/package/@cosmjs/crypto) |
| [@cosmjs/encoding](packages/encoding) | Encoding helpers for blockchain projects | [![npm version](https://img.shields.io/npm/v/@cosmjs/encoding.svg)](https://www.npmjs.com/package/@cosmjs/encoding) |
| [@cosmjs/math](packages/math) | Safe integers; decimals for handling financial amounts | [![npm version](https://img.shields.io/npm/v/@cosmjs/math.svg)](https://www.npmjs.com/package/@cosmjs/math) |

### Modularity

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
},
"devDependencies": {
"@cosmjs/amino": "workspace:^",
"@cosmjs/cosmwasm-stargate": "workspace:^",
"@cosmjs/cosmwasm": "workspace:^",
"@cosmjs/crypto": "workspace:^",
"@cosmjs/encoding": "workspace:^",
"@cosmjs/proto-signing": "workspace:^",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"name": "@cosmjs/cosmwasm-stargate",
"name": "@cosmjs/cosmwasm",
"version": "0.37.0",
"description": "CosmWasm SDK",
"contributors": [
"Will Clark <[email protected]>"
"Will Clark <[email protected]>",
"Simon Warta <[email protected]>"
],
"license": "Apache-2.0",
"exports": {
Expand All @@ -20,7 +21,7 @@
],
"repository": {
"type": "git",
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/cosmwasm-stargate"
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/cosmwasm"
},
"publishConfig": {
"access": "public",
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion scripts/wasmd/deploy_hackatom.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env -S yarn node

const { SigningCosmWasmClient } = require("@cosmjs/cosmwasm-stargate");
const { SigningCosmWasmClient } = require("@cosmjs/cosmwasm");
const { DirectSecp256k1HdWallet } = require("@cosmjs/proto-signing");
const { calculateFee, GasPrice } = require("@cosmjs/stargate");
const fs = require("fs");
Expand Down
2 changes: 1 addition & 1 deletion scripts/wasmd/deploy_ibc_reflect.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env -S yarn node

const { SigningCosmWasmClient } = require("@cosmjs/cosmwasm-stargate");
const { SigningCosmWasmClient } = require("@cosmjs/cosmwasm");
const { DirectSecp256k1HdWallet } = require("@cosmjs/proto-signing");
const { calculateFee, GasPrice } = require("@cosmjs/stargate");
const fs = require("fs");
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,9 @@ __metadata:
languageName: unknown
linkType: soft

"@cosmjs/cosmwasm-stargate@workspace:^, @cosmjs/cosmwasm-stargate@workspace:packages/cosmwasm-stargate":
"@cosmjs/cosmwasm@workspace:^, @cosmjs/cosmwasm@workspace:packages/cosmwasm":
version: 0.0.0-use.local
resolution: "@cosmjs/cosmwasm-stargate@workspace:packages/cosmwasm-stargate"
resolution: "@cosmjs/cosmwasm@workspace:packages/cosmwasm"
dependencies:
"@cosmjs/amino": "workspace:^"
"@cosmjs/crypto": "workspace:^"
Expand Down Expand Up @@ -2942,7 +2942,7 @@ __metadata:
resolution: "cosmjs-monorepo-root@workspace:."
dependencies:
"@cosmjs/amino": "workspace:^"
"@cosmjs/cosmwasm-stargate": "workspace:^"
"@cosmjs/cosmwasm": "workspace:^"
"@cosmjs/crypto": "workspace:^"
"@cosmjs/encoding": "workspace:^"
"@cosmjs/proto-signing": "workspace:^"
Expand Down
Loading