Skip to content

Commit 26dddcf

Browse files
authored
Merge pull request #1 from hyperweb-io/cosmjs-removal
Cosmjs removal
2 parents 6d8ff09 + 9765cf5 commit 26dddcf

File tree

3,867 files changed

+2542
-1411713
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,867 files changed

+2542
-1411713
lines changed

.github/workflows/run-tests.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,66 +24,66 @@ jobs:
2424
- name: Install Dependencies
2525
run: |
2626
echo "YARN_ENABLE_IMMUTABLE_INSTALLS=false" >> $GITHUB_ENV
27-
npm install -g create-cosmos-app
27+
npm install -g create-interchain-app
2828
2929
- name: asset-list
3030
run: |
31-
cca --example asset-list --name asset-list
31+
cia --example asset-list --name asset-list
3232
cd asset-list
3333
yarn build
3434
3535
- name: vote-proposal
3636
run: |
37-
cca --example vote-proposal --name vote-proposal
37+
cia --example vote-proposal --name vote-proposal
3838
cd vote-proposal
3939
yarn build
4040
4141
- name: ibc-transfer
4242
run: |
43-
cca --example ibc-transfer --name ibc-transfer
43+
cia --example ibc-transfer --name ibc-transfer
4444
cd ibc-transfer
4545
yarn build
4646
4747
- name: swap-tokens
4848
run: |
49-
cca --example swap-tokens --name swap-tokens
49+
cia --example swap-tokens --name swap-tokens
5050
cd swap-tokens
5151
yarn build
5252
5353
- name: provide-liquidity
5454
run: |
55-
cca --example provide-liquidity --name provide-liquidity
55+
cia --example provide-liquidity --name provide-liquidity
5656
cd provide-liquidity
5757
yarn build
5858
5959
- name: nft
6060
run: |
61-
cca --example nft --name nft
61+
cia --example nft --name nft
6262
cd nft
6363
touch yarn.lock
6464
yarn install
6565
yarn build
6666
6767
- name: authz
6868
run: |
69-
cca --example authz --name authz
69+
cia --example authz --name authz
7070
cd authz
7171
yarn build
7272
7373
- name: connect-chain
7474
run: |
75-
cca --template connect-chain --name connect-chain
75+
cia --template connect-chain --name connect-chain
7676
cd connect-chain
7777
yarn build
7878
7979
- name: connect-multi-chain
8080
run: |
81-
cca --template connect-multi-chain --name connect-multi-chain
81+
cia --template connect-multi-chain --name connect-multi-chain
8282
cd connect-multi-chain
8383
yarn build
8484
8585
- name: website
8686
run: |
87-
cca --boilerplate website --name website
87+
cia --boilerplate website --name website
8888
cd website
8989
yarn build

README.md

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# create-cosmos-app
1+
# create-interchain-app
22

33
<p align="center" width="100%">
44
<img height="148" src="https://user-images.githubusercontent.com/545047/186589196-e75c9540-86a7-4a71-8096-207be9a4216f.svg" />
55
</p>
66

77
<p align="center" width="100%">
8-
<a href="https://www.npmjs.com/package/create-cosmos-app"><img height="20" src="https://img.shields.io/npm/dt/create-cosmos-app"></a>
9-
<a href="https://github.com/cosmology-tech/create-cosmos-app/blob/main/LICENSE"><img height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
10-
<a href="https://www.npmjs.com/package/create-cosmos-app"><img height="20" src="https://img.shields.io/github/package-json/v/cosmology-tech/create-cosmos-app?filename=packages%2Fcreate-cosmos-app%2Fpackage.json"></a>
8+
<a href="https://www.npmjs.com/package/create-interchain-app"><img height="20" src="https://img.shields.io/npm/dt/create-interchain-app"></a>
9+
<a href="https://github.com/cosmology-tech/create-interchain-app/blob/main/LICENSE"><img height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
10+
<a href="https://www.npmjs.com/package/create-interchain-app"><img height="20" src="https://img.shields.io/github/package-json/v/cosmology-tech/create-interchain-app?filename=packages%2Fcreate-interchain-app%2Fpackage.json"></a>
1111
</p>
1212

1313
Set up a modern Cosmos app by running one command ⚛️
@@ -24,17 +24,17 @@ https://user-images.githubusercontent.com/545047/192061992-f0e1106d-f4b2-4879-ab
2424

2525
## Overview
2626

27-
First, install `create-cosmos-app` globally using npm:
27+
First, install `create-interchain-app` globally using npm:
2828

2929
```sh
30-
npm install -g create-cosmos-app
30+
npm install -g create-interchain-app
3131
```
3232

3333
Then, create your new Cosmos app by running the following command:
3434

3535
```sh
36-
# you can also use `cca` instead of `create-cosmos-app` for shortcut ;)
37-
create-cosmos-app
36+
# you can also use `cia` instead of `create-interchain-app` for shortcut ;)
37+
create-interchain-app
3838
```
3939

4040
During the setup process, you'll be prompted to enter the name of your app. For example:
@@ -58,17 +58,17 @@ You don’t need to install or configure cosmjs, keplr, nextjs, webpack or Babel
5858

5959
Everything is preconfigured, ready-to-go, so you can focus on your code!
6060

61-
- ⚡️ Connect easily to 20+ wallets via [Cosmos Kit](https://github.com/cosmology-tech/cosmos-kit) — including Ledger, Keplr, Cosmostation, Leap, Trust Wallet, OKX, XDEFI, Exodus, Wallet Connect and more!
61+
- ⚡️ Connect easily to 20+ wallets via [Interchain Kit](https://github.com/cosmology-tech/interchain-kit) — including Ledger, Keplr, Cosmostation, Leap, Trust Wallet, OKX, XDEFI, Exodus, Wallet Connect and more!
6262
- ⚛️ Sign and broadcast with [cosmjs](https://github.com/cosmos/cosmjs) stargate + cosmwasm signers
6363
- 🎨 Build awesome UI with [Interchain UI](https://cosmology.zone/products/interchain-ui) and [Explore Components](https://cosmology.zone/components)
6464
- 🛠 Render pages with [next.js](https://nextjs.org/) hybrid static & server rendering
6565
- 📝 Leverage [chain-registry](https://github.com/cosmology-tech/chain-registry) for Chain and Asset info for all Cosmos chains
6666

6767
## Education & Resources
6868

69-
🎥 [Checkout our videos](https://cosmology.zone/learn) to learn to learn more about `create-cosmos-app` and tooling for building frontends in the Cosmos!
69+
🎥 [Checkout our videos](https://cosmology.zone/learn) to learn to learn more about `create-interchain-app` and tooling for building frontends in the Cosmos!
7070

71-
Checkout [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) for more docs as well as [cosmos-kit/react](https://github.com/cosmology-tech/cosmos-kit/tree/main/packages/react#signing-clients) for getting cosmjs stargate and cosmjs signers.
71+
Checkout [interchain-kit](https://github.com/cosmology-tech/interchain-kit) for more docs as well as [interchain-kit/react](https://github.com/cosmology-tech/interchain-kit/tree/main/packages/react#signing-clients) for getting cosmjs stargate and cosmjs signers.
7272

7373
## Creating an App
7474

@@ -77,25 +77,25 @@ To create a new app, you may choose one of the following methods:
7777
### global install
7878

7979
```sh
80-
npm install -g create-cosmos-app
80+
npm install -g create-interchain-app
8181
```
8282

8383
Then run the command:
8484

8585
```sh
86-
create-cosmos-app
86+
create-interchain-app
8787
```
8888

89-
we also made an alias `cca` if you don't want to type `create-cosmos-app`:
89+
we also made an alias `cia` if you don't want to type `create-interchain-app`:
9090

9191
```sh
92-
cca
92+
cia
9393
```
9494

9595
### npx
9696

9797
```sh
98-
npx create-cosmos-app
98+
npx create-interchain-app
9999
```
100100

101101
### npm
@@ -112,22 +112,22 @@ yarn create cosmos-app
112112

113113
## Examples
114114

115-
The `create-cosmos-app` tool provides a range of examples to help you understand and test various features and integrations. By executing the examples, you can quickly see how to implement specific functionalities in your Cosmos app.
115+
The `create-interchain-app` tool provides a range of examples to help you understand and test various features and integrations. By executing the examples, you can quickly see how to implement specific functionalities in your Cosmos app.
116116

117117
```
118-
cca --example
118+
cia --example
119119
```
120120

121121
If you know the example name, you can do
122122

123123
```
124-
cca --example <example-name>
124+
cia --example <example-name>
125125
```
126126

127127
Alternatively, you can use the shorthand `-e` flag to achieve the same:
128128

129129
```
130-
cca -e <example-name>
130+
cia -e <example-name>
131131
```
132132

133133
This command will generate a new project configured with the selected example, allowing you to dive into the code and functionality right away.
@@ -142,7 +142,7 @@ Initiate and manage staking operations directly within your application, allowin
142142

143143

144144
```
145-
cca --name stake-example --example stake-tokens
145+
cia --name stake-example --example stake-tokens
146146
```
147147

148148
### Vote Proposal
@@ -154,7 +154,7 @@ cca --name stake-example --example stake-tokens
154154
Facilitate on-chain governance by enabling users to vote on proposals, enhancing community engagement and decision-making.
155155

156156
```
157-
cca --name vote-example --example vote-proposal
157+
cia --name vote-example --example vote-proposal
158158
```
159159

160160
### Authz
@@ -166,7 +166,7 @@ cca --name vote-example --example vote-proposal
166166
Leverage the Authz module to grant and manage authorizations, allowing users to perform actions on behalf of others.
167167

168168
```
169-
cca --name authz-example --example authz
169+
cia --name authz-example --example authz
170170
```
171171

172172
### grpc-web and grpc-gateway
@@ -178,7 +178,7 @@ cca --name authz-example --example authz
178178
Integrate gRPC-web and gRPC-gateway in your app for robust and efficient communication between your Cosmos SDK blockchain and web clients.
179179

180180
```
181-
cca --name grpc-example --example grpc-web-grpc-gateway
181+
cia --name grpc-example --example grpc-web-grpc-gateway
182182
```
183183

184184
### Swap Tokens
@@ -190,7 +190,7 @@ cca --name grpc-example --example grpc-web-grpc-gateway
190190
Utilize [osmojs](https://github.com/osmosis-labs/osmojs) for streamlined token swapping capabilities within your Osmosis app.
191191

192192
```
193-
cca --name swap-example --example swap-tokens
193+
cia --name swap-example --example swap-tokens
194194
```
195195

196196
### Provide Liquidity
@@ -202,7 +202,7 @@ cca --name swap-example --example swap-tokens
202202
Use [osmojs](https://github.com/osmosis-labs/osmojs) to enable liquidity provision features, enhancing the DeFi experience in your app.
203203

204204
```
205-
cca --name liquidity-example --example provide-liquidity
205+
cia --name liquidity-example --example provide-liquidity
206206
```
207207

208208
### Asset List
@@ -214,7 +214,7 @@ cca --name liquidity-example --example provide-liquidity
214214
Create and manage an asset list, offering comprehensive insights into the available assets, and empower your application with Inter-Blockchain Communication (IBC) capabilities for transferring tokens across different chains.
215215

216216
```
217-
cca --name asset-list-example --example asset-list
217+
cia --name asset-list-example --example asset-list
218218
```
219219

220220
### NFT
@@ -226,14 +226,14 @@ cca --name asset-list-example --example asset-list
226226
Incorporate NFT functionalities into your Stargaze app using [stargazejs](https://github.com/cosmology-tech/stargazejs), enabling seamless NFT minting, transfer, and management.
227227

228228
```
229-
cca --name nft-example --example nft
229+
cia --name nft-example --example nft
230230
```
231231

232232
## Options
233233

234234
| Argument | Description | Default |
235235
|----------------------|------------------------------------------------|------------|
236-
| `--repo` | Set custom repository for cca templates | None |
236+
| `--repo` | Set custom repository for cia templates | None |
237237
| `--install` | Automatically install dependencies | `true` |
238238
| `--printCmd` | Print the command to run after setup | `true` |
239239
| `-n`, `--name` | Provide a project name | None |
@@ -266,8 +266,8 @@ Checkout these related projects:
266266
- [@cosmology/telescope](https://github.com/cosmology-tech/telescope) Your Frontend Companion for Building with TypeScript with Cosmos SDK Modules.
267267
- [@cosmwasm/ts-codegen](https://github.com/CosmWasm/ts-codegen) Convert your CosmWasm smart contracts into dev-friendly TypeScript classes.
268268
- [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.
269-
- [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.
270-
- [create-cosmos-app](https://github.com/cosmology-tech/create-cosmos-app) Set up a modern Cosmos app by running one command.
269+
- [interchain-kit](https://github.com/cosmology-tech/interchain-kit) Experience the convenience of connecting with a variety of web3 wallets through a single, streamlined interface.
270+
- [create-interchain-app](https://github.com/cosmology-tech/create-interchain-app) Set up a modern Cosmos app by running one command.
271271
- [interchain-ui](https://github.com/cosmology-tech/interchain-ui) The Interchain Design System, empowering developers with a flexible, easy-to-use UI kit.
272272
- [starship](https://github.com/cosmology-tech/starship) Unified Testing and Development for the Interchain.
273273

boilerplates/lerna-module/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ Checkout these related projects:
4343
* [@cosmology/telescope](https://github.com/cosmology-tech/telescope) Your Frontend Companion for Building with TypeScript with Cosmos SDK Modules.
4444
* [@cosmwasm/ts-codegen](https://github.com/CosmWasm/ts-codegen) Convert your CosmWasm smart contracts into dev-friendly TypeScript classes.
4545
* [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.
46-
* [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.
47-
* [create-cosmos-app](https://github.com/cosmology-tech/create-cosmos-app) Set up a modern Cosmos app by running one command.
46+
* [interchain-kit](https://github.com/cosmology-tech/interchain-kit) Experience the convenience of connecting with a variety of web3 wallets through a single, streamlined interface.
47+
* [create-interchain-app](https://github.com/cosmology-tech/create-interchain-app) Set up a modern Cosmos app by running one command.
4848
* [interchain-ui](https://github.com/cosmology-tech/interchain-ui) The Interchain Design System, empowering developers with a flexible, easy-to-use UI kit.
4949
* [starship](https://github.com/cosmology-tech/starship) Unified Testing and Development for the Interchain.
5050

boilerplates/lerna-tsx-module/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ Checkout these related projects:
3434
* [@cosmology/telescope](https://github.com/cosmology-tech/telescope) Your Frontend Companion for Building with TypeScript with Cosmos SDK Modules.
3535
* [@cosmwasm/ts-codegen](https://github.com/CosmWasm/ts-codegen) Convert your CosmWasm smart contracts into dev-friendly TypeScript classes.
3636
* [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.
37-
* [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.
38-
* [create-cosmos-app](https://github.com/cosmology-tech/create-cosmos-app) Set up a modern Cosmos app by running one command.
37+
* [interchain-kit](https://github.com/cosmology-tech/interchain-kit) Experience the convenience of connecting with a variety of web3 wallets through a single, streamlined interface.
38+
* [create-interchain-app](https://github.com/cosmology-tech/create-interchain-app) Set up a modern Cosmos app by running one command.
3939
* [interchain-ui](https://github.com/cosmology-tech/interchain-ui) The Interchain Design System, empowering developers with a flexible, easy-to-use UI kit.
4040
* [starship](https://github.com/cosmology-tech/starship) Unified Testing and Development for the Interchain.
4141

boilerplates/lerna-workspace/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ Checkout these related projects:
4343
* [@cosmology/telescope](https://github.com/cosmology-tech/telescope) Your Frontend Companion for Building with TypeScript with Cosmos SDK Modules.
4444
* [@cosmwasm/ts-codegen](https://github.com/CosmWasm/ts-codegen) Convert your CosmWasm smart contracts into dev-friendly TypeScript classes.
4545
* [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.
46-
* [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.
47-
* [create-cosmos-app](https://github.com/cosmology-tech/create-cosmos-app) Set up a modern Cosmos app by running one command.
46+
* [interchain-kit](https://github.com/cosmology-tech/interchain-kit) Experience the convenience of connecting with a variety of web3 wallets through a single, streamlined interface.
47+
* [create-interchain-app](https://github.com/cosmology-tech/create-interchain-app) Set up a modern Cosmos app by running one command.
4848
* [interchain-ui](https://github.com/cosmology-tech/interchain-ui) The Interchain Design System, empowering developers with a flexible, easy-to-use UI kit.
4949
* [starship](https://github.com/cosmology-tech/starship) Unified Testing and Development for the Interchain.
5050

boilerplates/telescope/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,9 @@ const {
133133

134134
## Connecting with Wallets and Signing Messages
135135

136-
⚡️ For web interfaces, we recommend using [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit). Continue below to see how to manually construct signers and clients.
136+
⚡️ For web interfaces, we recommend using [interchain-kit](https://github.com/cosmology-tech/interchain-kit). Continue below to see how to manually construct signers and clients.
137137

138-
Here are the docs on [creating signers](https://docs.cosmology.zone/cosmos-kit) in cosmos-kit that can be used with Keplr and other wallets.
138+
Here are the docs on [creating signers](https://docs.cosmology.zone/interchain-kit) in interchain-kit that can be used with Keplr and other wallets.
139139

140140
### Initializing the Stargate Client
141141

@@ -153,7 +153,7 @@ const stargateClient = await getSigning__CHAIN_UPPER__Client({
153153

154154
To broadcast messages, you can create signers with a variety of options:
155155

156-
* [cosmos-kit](https://docs.cosmology.zone/cosmos-kit) (recommended)
156+
* [interchain-kit](https://docs.cosmology.zone/interchain-kit) (recommended)
157157
* [keplr](https://docs.keplr.app/api/cosmjs.html)
158158
* [cosmjs](https://gist.github.com/webmaster128/8444d42a7eceeda2544c8a59fbd7e1d9)
159159
### Amino Signer
@@ -306,8 +306,8 @@ Checkout these related projects:
306306
* [@cosmology/telescope](https://github.com/cosmology-tech/telescope) Your Frontend Companion for Building with TypeScript with Cosmos SDK Modules.
307307
* [@cosmwasm/ts-codegen](https://github.com/CosmWasm/ts-codegen) Convert your CosmWasm smart contracts into dev-friendly TypeScript classes.
308308
* [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.
309-
* [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.
310-
* [create-cosmos-app](https://github.com/cosmology-tech/create-cosmos-app) Set up a modern Cosmos app by running one command.
309+
* [interchain-kit](https://github.com/cosmology-tech/interchain-kit) Experience the convenience of connecting with a variety of web3 wallets through a single, streamlined interface.
310+
* [create-interchain-app](https://github.com/cosmology-tech/create-interchain-app) Set up a modern Cosmos app by running one command.
311311
* [interchain-ui](https://github.com/cosmology-tech/interchain-ui) The Interchain Design System, empowering developers with a flexible, easy-to-use UI kit.
312312
* [starship](https://github.com/cosmology-tech/starship) Unified Testing and Development for the Interchain.
313313

0 commit comments

Comments
 (0)