Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: neutrino template #140

Draft
wants to merge 599 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
599 commits
Select commit Hold shift + click to select a range
fe0b8cb
add voting power and commission data
marslavish Feb 1, 2023
1cd5d62
add donut chart and voting options modal
marslavish Feb 2, 2023
e3facc4
finish voting example
marslavish Feb 6, 2023
0c15ff2
initial commit
marslavish Feb 8, 2023
635dcb4
update README
marslavish Feb 9, 2023
9bf1c92
Merge pull request #62 from cosmology-tech/feat/vote-proposal
marslavish Feb 9, 2023
422f486
finish the pool list style
marslavish Feb 9, 2023
39990a0
add pool data (liquidity, volume, fees)
marslavish Feb 14, 2023
00e2d8c
Merge pull request #67 from cosmology-tech/feat/stake-tokens
pyramation Feb 15, 2023
bcdc7c6
updates
pyramation Feb 15, 2023
5d917c6
chore(release): publish
pyramation Feb 15, 2023
c151630
add pool detail modal
marslavish Feb 23, 2023
50260d1
add cosmostation image source
marslavish Feb 23, 2023
a77fec2
Merge pull request #72 from cosmology-tech/fix/staking-example
pyramation Feb 23, 2023
381c0f6
chore(release): publish
pyramation Feb 23, 2023
6ee6d55
version
liujun93 Mar 13, 2023
ae4ace3
Merge remote-tracking branch 'origin' into develop
liujun93 Mar 13, 2023
3a42ff1
update version
liujun93 Mar 13, 2023
971f69a
Merge pull request #73 from cosmology-tech/develop
liujun93 Mar 13, 2023
8dd2f5b
debug multi render
liujun93 Mar 14, 2023
c5d5bf4
Merge pull request #74 from cosmology-tech/develop
liujun93 Mar 14, 2023
b4e7f4e
finish provide-liquidity example
marslavish Mar 16, 2023
cfe5317
Merge branch 'main' into feat/provide-liquidity
marslavish Mar 16, 2023
5e5d60e
add missing deps
marslavish Mar 17, 2023
eca7990
initial commit
marslavish Mar 17, 2023
3ef8754
upgrade package
marslavish Mar 17, 2023
3137d25
update cosmos-kit packages
marslavish Mar 17, 2023
9fe1b4d
fix: button and icon styles
marslavish Mar 20, 2023
0afc5d7
feat: add SwapView component
marslavish Mar 20, 2023
ed2ee1d
debug version and code
liujun93 Mar 22, 2023
18ae738
Merge pull request #76 from cosmology-tech/develop
liujun93 Mar 22, 2023
d169446
fix stake-token example
marslavish Mar 22, 2023
c09e30d
Merge pull request #77 from cosmology-tech/fix/stake-tokens
marslavish Mar 22, 2023
97a2410
Merge branch 'main' into feat/swap-tokens
marslavish Mar 22, 2023
f86c7c3
upgrade cosmos-kit version
marslavish Mar 22, 2023
afe140e
feat: enable swap tokens
marslavish Mar 25, 2023
cc1dcf0
Merge branch 'main' into feat/provide-liquidity
marslavish Mar 25, 2023
aac9809
add dark mode
marslavish Mar 27, 2023
f36759b
update readme
marslavish Mar 27, 2023
41b8da7
remove unnecessary files
marslavish Mar 27, 2023
ed0126c
initial commit
marslavish Mar 27, 2023
22560a4
Merge pull request #70 from cosmology-tech/feat/provide-liquidity
pyramation Mar 28, 2023
0938761
Merge branch 'main' into feat/swap-tokens
marslavish Mar 28, 2023
0e69575
Merge pull request #75 from cosmology-tech/feat/swap-tokens
pyramation Mar 28, 2023
bba5a52
fix: get price error
marslavish Mar 28, 2023
77788db
Merge pull request #80 from cosmology-tech/feat/swap-tokens
marslavish Mar 28, 2023
843043d
some improvements
marslavish Mar 28, 2023
6e7fdad
Merge pull request #81 from cosmology-tech/feat/provide-liquidity
marslavish Mar 28, 2023
130596c
fix: improve error displaying
marslavish Mar 28, 2023
2599314
Merge pull request #82 from cosmology-tech/feat/provide-liquidity
marslavish Mar 28, 2023
f6c7e23
Merge branch 'main' into feat/asset-list
marslavish Mar 28, 2023
92dc54a
readme
pyramation Mar 28, 2023
9bc3d66
chore(release): publish
pyramation Mar 28, 2023
cc2baab
feat: finish the style
marslavish Mar 30, 2023
23623bf
add custom hooks for making requests
marslavish Mar 31, 2023
dfe47d3
fix pools data
marslavish Mar 31, 2023
f398cce
Merge pull request #83 from cosmology-tech/fix/provide-liquidity
marslavish Mar 31, 2023
c028a6a
feat: assets list deposit and withdraw
marslavish Apr 4, 2023
9d74b57
feat: dropdown deposit and withdraw
marslavish Apr 7, 2023
297e70d
feat: display total on osmosis
marslavish Apr 8, 2023
776605f
feat: add multi-chain page
marslavish Apr 10, 2023
9de3ec0
feat: add dark mode
marslavish Apr 10, 2023
b24c3c7
fix: add missing deps
marslavish Apr 10, 2023
691b160
update readme
marslavish Apr 10, 2023
d425386
Merge pull request #79 from cosmology-tech/feat/asset-list
pyramation Apr 10, 2023
0739e1b
fix: pool data error
marslavish Apr 11, 2023
c2edb1c
Merge pull request #92 from cosmology-tech/feat/asset-list
marslavish Apr 11, 2023
a5fcece
deps
pyramation Apr 12, 2023
a414458
Merge pull request #93 from cosmology-tech/upgrade/deps
pyramation Apr 12, 2023
b406fe6
repo
pyramation Apr 12, 2023
97b9437
chore(release): publish
pyramation Apr 12, 2023
f438730
fix(ibc-transfer): fill input w/ value onclick
marslavish Apr 13, 2023
15073fb
readme
pyramation Apr 13, 2023
126e0bb
chore(release): publish
pyramation Apr 13, 2023
2efc085
refactor(provide-liquidity): add custom hooks
marslavish Apr 14, 2023
35cafaf
fix(provide-liquidity): multiple issues
marslavish Apr 15, 2023
6e72ed7
update telescope to newest version
Zetazzz Apr 16, 2023
caeb1f5
refactor(swap-tokens): add swap component code
marslavish Apr 20, 2023
6f28766
buf.build example
Zetazzz Apr 21, 2023
48bc393
fix(swap-tokens): add swap details
marslavish Apr 21, 2023
f4e66c5
feat(swap-tokens): add swap details
marslavish Apr 21, 2023
be1270e
Merge branch 'fix/example-issues' of github.com:cosmology-tech/create…
marslavish Apr 21, 2023
7025a9a
fix(stake-tokens): fix max buttons issue
marslavish Apr 24, 2023
cd6de56
Merge pull request #96 from cosmology-tech/fix/example-issues
pyramation Apr 24, 2023
ce9cdac
Merge pull request #98 from Zetazzz/working-mobx-example
pyramation Apr 25, 2023
1823809
initial commit
marslavish May 6, 2023
5c9a14c
finish example
marslavish May 22, 2023
0f096da
refactor
marslavish May 23, 2023
a816836
Merge pull request #101 from cosmology-tech/feat/mint-nfts
pyramation May 23, 2023
0a894d9
remove buf build code and use telescope
Zetazzz May 24, 2023
08a426f
Merge branches 'bigint-example' and 'bigint-example' of github.com:Ze…
Zetazzz May 24, 2023
31dde67
add telescope liquidity example
Zetazzz May 24, 2023
6fca468
Merge pull request #102 from Zetazzz/bigint-example
pyramation May 26, 2023
f39d8e4
pkg
pyramation May 29, 2023
7d9c40c
using stake tokens as template
hoangdv2429 May 30, 2023
3fcddf2
add codegen for grpc-web and gateway
hoangdv2429 May 30, 2023
5d8239d
change 2 pages name to grpc
hoangdv2429 May 30, 2023
4d8ce5f
working grpc-web and grpc-gateway tab
hoangdv2429 May 30, 2023
114ddc8
add lib for grpc web
hoangdv2429 May 30, 2023
70596bd
Merge pull request #104 from hoangdv2429/feat/grpc-web-grpc-gateway
pyramation May 31, 2023
e4e350a
add proto folder and scripts
hoangdv2429 Jun 6, 2023
4052ca4
add grpc-web deps
hoangdv2429 Jun 6, 2023
e088862
yarn.lock
hoangdv2429 Jun 6, 2023
9b6ab8c
typo
hoangdv2429 Jun 6, 2023
7248aa7
use new version of telescope
hoangdv2429 Jun 6, 2023
579dd2d
scripts options
hoangdv2429 Jun 6, 2023
61a3545
deps keplr
hoangdv2429 Jun 6, 2023
e5f76d6
fixtures
hoangdv2429 Jun 6, 2023
ad1b14a
new fixtures
hoangdv2429 Jun 6, 2023
8d591b8
deps and working grpc-web with newest fixtures
hoangdv2429 Jun 6, 2023
261cdbb
osmonauts/ast deps
hoangdv2429 Jun 6, 2023
9f349d1
gateway deepPartial
hoangdv2429 Jun 7, 2023
c25c027
fixtures from scripts
hoangdv2429 Jun 7, 2023
db1bc8a
Merge pull request #105 from hoangdv2429/hoang/script-grpc
pyramation Jun 8, 2023
e62adfa
add list-nfts example
marslavish Jun 11, 2023
cddbebb
Merge pull request #106 from cosmology-tech/list-nfts
pyramation Jun 11, 2023
9d48e50
rename list-nfts example to sell-nfts
marslavish Jun 12, 2023
ea0a43c
Merge pull request #107 from cosmology-tech/sell-nfts
pyramation Jun 12, 2023
8a548b5
fix zero balance error
marslavish Jun 14, 2023
5d27979
Merge pull request #109 from cosmology-tech/fix/zero-balance-err
marslavish Jun 14, 2023
3eb5163
add nft example
marslavish Jun 26, 2023
9cb8827
Merge pull request #111 from cosmology-tech/feat/nft
pyramation Jun 27, 2023
4f1d94c
new fixtures
hoangdv2429 Jun 27, 2023
02e8d04
upgrade telescope package
hoangdv2429 Jun 27, 2023
7e5ca9b
update README
hoangdv2429 Jun 27, 2023
e72c058
Merge pull request #112 from hoangdv2429/feat/publish_grpc
pyramation Jun 27, 2023
403241c
Update README.md
pyramation Jun 27, 2023
0dee59c
Update README.md
pyramation Jun 27, 2023
1c52d9b
Update README.md
pyramation Jun 27, 2023
c541a9c
avoid using bigInt for now
hoangdv2429 Jun 27, 2023
bad2439
Merge branch 'cosmology-tech:main' into feat/publish_grpc
hoangdv2429 Jun 27, 2023
de3ffdf
Merge pull request #113 from hoangdv2429/feat/publish_grpc
pyramation Jun 27, 2023
a417538
enable non-integer pow in swap
marslavish Jun 28, 2023
6a8ad27
add staking APR calculation
marslavish Jun 28, 2023
f567e57
stars
pyramation Jun 28, 2023
c1541f8
chore(release): publish
pyramation Jun 28, 2023
5c98203
remove keplr API
marslavish Jun 29, 2023
1008ede
Merge pull request #114 from cosmology-tech/fix/example-issues
pyramation Jun 29, 2023
2621492
fix nft image issue
marslavish Jun 29, 2023
801f8c9
Merge pull request #115 from cosmology-tech/fix/nft-image
marslavish Jun 29, 2023
0cdeea1
replace local image with url
marslavish Jun 29, 2023
23207f6
Merge pull request #116 from cosmology-tech/fix/nft-image
marslavish Jun 29, 2023
10fc158
add toast examples
marslavish Jun 30, 2023
24339b4
deps: upgrade cosmos-kit related deps
twhy Jul 6, 2023
ba4ef4d
docs: update README.md
twhy Jul 7, 2023
1dc58d8
filled telescope with contracts
Zetazzz Jul 14, 2023
e77b36a
Merge pull request #117 from cosmology-tech/feat/toast
marslavish Jul 14, 2023
457f0e5
upgrade telescope and re-gen code
Zetazzz Jul 14, 2023
5ed9be1
Merge pull request #121 from cosmology-tech/telescope-with-contracts
Zetazzz Jul 14, 2023
e2d9193
pkg
pyramation Jul 14, 2023
ae7dc02
chore(release): publish
pyramation Jul 14, 2023
768c465
cosmwasm example
pyramation Jul 14, 2023
903b475
chore(release): publish
pyramation Jul 14, 2023
be59f6d
remove unused code
pyramation Jul 14, 2023
7939ae0
pkg
pyramation Jul 14, 2023
68b7a7d
chore(release): publish
pyramation Jul 14, 2023
c785990
pkg
pyramation Jul 14, 2023
94e56d5
chore(release): publish
pyramation Jul 14, 2023
341c66b
boilerplates
pyramation Jul 16, 2023
14899f2
remove from workspace
pyramation Jul 16, 2023
f7f555f
Merge pull request #122 from cosmology-tech/boilerplates
pyramation Jul 16, 2023
e03fce5
chore(release): publish
pyramation Jul 16, 2023
b6950ca
cca
pyramation Jul 16, 2023
902fc68
chore(release): publish
pyramation Jul 16, 2023
beb11db
cca
pyramation Jul 16, 2023
eb2ac77
chore(release): publish
pyramation Jul 16, 2023
bdde49c
cca
pyramation Jul 16, 2023
803a941
chore(release): publish
pyramation Jul 16, 2023
2e1713d
boilerplates
pyramation Jul 16, 2023
88e80db
templates
pyramation Jul 16, 2023
275bc7c
chore(release): publish
pyramation Jul 16, 2023
082e8dd
cca
pyramation Jul 16, 2023
7782bb2
chore(release): publish
pyramation Jul 16, 2023
69ec3b2
cjs
pyramation Jul 16, 2023
21b29d6
update lib
pyramation Jul 16, 2023
caac127
chore(release): publish
pyramation Jul 16, 2023
52a6310
pkg
pyramation Jul 17, 2023
6b89d50
pkg
pyramation Jul 17, 2023
ae9d7d8
chore(release): publish
pyramation Jul 17, 2023
f27c506
pkg
pyramation Jul 17, 2023
ee67e9f
chore(release): publish
pyramation Jul 17, 2023
f7c3012
pkg
pyramation Jul 17, 2023
8bd5131
remove
pyramation Jul 17, 2023
0773859
remove types
pyramation Jul 17, 2023
e6e0322
use ts
pyramation Jul 17, 2023
82bc569
test
pyramation Jul 17, 2023
f7c334a
test
pyramation Jul 17, 2023
c121c01
pkg
pyramation Jul 17, 2023
7e2f080
pkg
pyramation Jul 17, 2023
f4c328d
pkg
pyramation Jul 17, 2023
a7394a2
react query hooks provider sample
Zetazzz Jul 26, 2023
27c6bc0
upgrade to cosmoskit v2
marslavish Jul 26, 2023
2391dd0
Merge pull request #123 from cosmology-tech/feat/cosmoskit-v2
marslavish Jul 26, 2023
6506070
add react-query sample in telescope-with-contract
Zetazzz Jul 26, 2023
d43379f
Merge branch 'main' into telescope-with-contracts
Zetazzz Jul 26, 2023
984cfa8
Merge pull request #124 from cosmology-tech/telescope-with-contracts
Zetazzz Jul 26, 2023
d1a9517
cosmwasm
pyramation Jul 29, 2023
4b44b44
cosmology
pyramation Jul 30, 2023
00c6852
chore(release): publish
pyramation Jul 30, 2023
1f39a19
POC of better ts-codegen react query usage
Zetazzz Aug 1, 2023
eec6218
Merge branch 'main' of github.com:cosmology-tech/create-cosmos-app
Zetazzz Aug 1, 2023
a306596
examples/swap-tokens updated to use @chain-registry/utils and @osmona…
fatsheep1919 Jul 30, 2023
0d2cbf2
examples/provide-liquidity updated to use @chain-registry/utils and @…
fatsheep1919 Jul 31, 2023
8372d9d
update osmojs version
fatsheep1919 Aug 2, 2023
1efae09
regen by telescope with latest version and config
Zetazzz Aug 3, 2023
1db5d8d
Merge pull request #126 from cosmology-tech/feat/use-utils
pyramation Aug 3, 2023
bf3d8b0
refactor staking folder
marslavish Aug 7, 2023
e654b6d
Merge branch 'main' into refactor/folder-and-ui
marslavish Aug 8, 2023
2fccca6
remove wallet utils
marslavish Aug 8, 2023
d869d75
restructure asset-list folders
marslavish Aug 8, 2023
30eeb6b
regen code in telescope example
Zetazzz Aug 11, 2023
25af62d
use osmo-query in asset-list
marslavish Aug 12, 2023
590dacd
restructure swap folders
marslavish Aug 12, 2023
32bfec4
Merge branch 'main' of github.com:cosmology-tech/create-cosmos-app in…
marslavish Aug 12, 2023
98f43c4
organize hooks
marslavish Aug 12, 2023
9c24a7f
use osmo-query in swap-tokens
marslavish Aug 13, 2023
8feacef
restructure provide-liquidity folders
marslavish Aug 14, 2023
61284c9
rename useInterchainQuery
marslavish Aug 14, 2023
e40be3b
some renaming
marslavish Aug 15, 2023
b4cc71b
Merge pull request #127 from cosmology-tech/refactor/folder-and-ui
marslavish Aug 15, 2023
a002954
Updated latest telescope and regen
Zetazzz Aug 16, 2023
01e5103
move codegen folder to src
Zetazzz Aug 16, 2023
576943f
refresh import of src/codegen
Zetazzz Aug 16, 2023
2e3906b
regen code and figured out pubkey logic
Zetazzz Aug 16, 2023
b981297
add validator test page to telescope
Zetazzz Aug 16, 2023
496466a
upgrade chain registry
pyramation Aug 17, 2023
a58a293
Merge pull request #128 from cosmology-tech/upgrade-chain-reg
pyramation Aug 17, 2023
367ad8c
use osmo-query in provide-liquidity
marslavish Aug 17, 2023
012d45d
Merge pull request #129 from cosmology-tech/refactor/folder-and-ui
marslavish Aug 17, 2023
504b40c
restructure folders in nft example
marslavish Aug 19, 2023
334423d
fix imports
marslavish Aug 19, 2023
df21848
fixed package.json in telescope example
Zetazzz Aug 22, 2023
d92df37
refactor: Header and Footer
twhy Aug 22, 2023
b9d948a
use stargaze-query in nft example
marslavish Aug 24, 2023
0f6b75b
refactor ibc-transfer
marslavish Aug 24, 2023
b1678df
upgrade telescope, regen and test
Zetazzz Aug 24, 2023
39fb553
refactor voting example
marslavish Aug 26, 2023
d3301a7
Merge branch 'main' into refactor/folder-structure
marslavish Aug 26, 2023
8517655
use react-no-ssr
marslavish Aug 26, 2023
49e606c
remove long
marslavish Aug 26, 2023
1142625
Merge pull request #130 from cosmology-tech/refactor/folder-structure
marslavish Aug 26, 2023
cf53219
upgrade deps in swap-token example
twhy Sep 18, 2023
0a63708
update chain registry
pyramation Sep 27, 2023
e8b2459
chore(release): publish
pyramation Sep 27, 2023
804f926
upgrade cosmology libs
pyramation Sep 27, 2023
fbefa2e
chore(release): publish
pyramation Sep 27, 2023
1484fd3
feat: add neutrino
mconcat Nov 2, 2023
80353db
Revert "feat: add neutrino"
mconcat Nov 2, 2023
05207d2
feat: add neutrino template
mconcat Nov 2, 2023
253c96c
fix: use host neutrino
mconcat Nov 2, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
29 changes: 0 additions & 29 deletions .github/workflows/run-tests.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# .prettierrc or .prettierrc.yaml
singleQuote: true
34 changes: 16 additions & 18 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
{
"editor.formatOnSave": true,
"[javascriptreact]": {
"editor.formatOnSave": false
},
"[javascript]": {
"editor.formatOnSave": false
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"eslint.validate": [
"javascript",
"javascriptreact"
],
"files.exclude": {
".yarn/*": true
},
}
"editor.formatOnSave": true,
"[javascriptreact]": {
"editor.formatOnSave": false
},
"[javascript]": {
"editor.formatOnSave": false
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"eslint.validate": ["javascript", "javascriptreact"],
"files.exclude": {
".yarn/*": true
},
"typescript.tsdk": "node_modules/typescript/lib"
}
294 changes: 293 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,293 @@
# create-cosmos-app
# create-cosmos-app

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

<p align="center" width="100%">
<a href="https://www.npmjs.com/package/create-cosmos-app"><img height="20" src="https://img.shields.io/npm/dt/create-cosmos-app"></a>
<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>
<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>
</p>

Set up a modern Cosmos app by running one command ⚛️

## Demo

https://user-images.githubusercontent.com/545047/192061992-f0e1106d-f4b2-4879-ab0a-896f22ee4f49.mp4

## Overview

```
# install
npm install -g create-cosmos-app

# run one command
create-cosmos-app

> name: my-app
cd my-app
yarn && yarn dev

# now your app is running on localhost:3000!
```

### Get Started Immediately

You don’t need to install or configure cosmjs, keplr, nextjs, webpack or Babel.

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

- ⚡️ Connect easily to 15+ wallets via [Cosmos Kit](https://github.com/cosmology-tech/cosmos-kit) — including Ledger, Keplr, Cosmostation, Leap, Trust Wallet, XDEFI, Exodus, Wallet Connect and more!
- ⚛️ Sign and broadcast with [cosmjs](https://github.com/cosmos/cosmjs) stargate + cosmwasm signers
- 🛠 Render pages with [next.js](https://nextjs.org/) hybrid static & server rendering
- 🎨 Build awesome UI with [Cosmos Kit UI](https://CosmosKit.com/explore) and [Chakra UI](https://chakra-ui.com/docs/components)
- 📝 Leverage [chain-registry](https://github.com/cosmology-tech/chain-registry) for Chain and Asset info for all Cosmos chains

## Education & Resources

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

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.

## Creating an App

To create a new app, you may choose one of the following methods:

### global install

```sh
npm install -g create-cosmos-app
```

Then run the command:

```sh
create-cosmos-app
```

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

```sh
cca
```

### npx

```sh
npx create-cosmos-app
```

### npm

```sh
npm init cosmos-app
```

### Yarn

```sh
yarn create cosmos-app
```

## Examples

Explore examples!

```
cca --example
```

### Send Tokens

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

```
cca --name send-example --example --template send-tokens
```

### Stake Tokens

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

```
cca --name stake-example --example --template stake-tokens
```

### Vote Proposal

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

```
cca --name vote-example --example --template vote-proposal
```

### IBC Transfer

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

```
cca --name ibc-example --example --template ibc-transfer
```

### grpc-web and grpc-gateway

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

```
cca --name grpc-example --example --template grpc-web-grpc-gateway
```

### Osmosis

<p align="center" width="100%">
<img height="48" src="https://user-images.githubusercontent.com/545047/184519024-2d34bf20-2440-4837-943f-4915a46409f5.svg" />
</p>

uses [osmojs](https://github.com/osmosis-labs/osmojs)

```
cca --name osmo-example --example --template osmosis
```

or the cosmwasm example:

```
cca --name osmowasm-example --example --template osmosis-cosmwasm
```

### Swap Tokens

<p align="center" width="100%">
<img height="48" src="https://user-images.githubusercontent.com/545047/184519024-2d34bf20-2440-4837-943f-4915a46409f5.svg" />
</p>

uses [osmojs](https://github.com/osmosis-labs/osmojs) to swap tokens

```
cca --name swap-example --example --template swap-tokens
```

### Provide Liquidity

<p align="center" width="100%">
<img height="48" src="https://user-images.githubusercontent.com/545047/184519024-2d34bf20-2440-4837-943f-4915a46409f5.svg" />
</p>

uses [osmojs](https://github.com/osmosis-labs/osmojs) to provide liquidity

```
cca --name liquidity-example --example --template provide-liquidity
```

### Asset List

<p align="center" width="100%">
<img height="48" src="https://user-images.githubusercontent.com/545047/184519024-2d34bf20-2440-4837-943f-4915a46409f5.svg" />
</p>

```
cca --name asset-list-example --example --template asset-list
```

### Juno

<p align="center" width="100%">
<img height="48" src="https://user-images.githubusercontent.com/545047/184516834-4b8190b0-0721-4778-b4fb-fa19ed3f9279.svg" />
</p>

uses [juno-network](https://github.com/CosmosContracts/typescript)

```
cca --name juno-example --example --template juno
```

### Stargaze

<p align="center" width="100%">
<img height="48" src="https://user-images.githubusercontent.com/545047/184694732-f4a3d397-14fb-415a-9562-a532f510f812.png" />
</p>

uses [stargazejs](https://github.com/cosmology-tech/stargazejs)

```
cca --name stargaze-example --example --template stargaze
```

### NFT

<p align="center" width="100%">
<img height="48" src="https://user-images.githubusercontent.com/545047/184694732-f4a3d397-14fb-415a-9562-a532f510f812.png" />
</p>

uses [stargazejs](https://github.com/cosmology-tech/stargazejs)

```
cca --name nft-example --example --template nft
```

### CosmWasm

<p align="center" width="100%">
<img height="48" src="https://user-images.githubusercontent.com/545047/197502724-4cb0f898-116c-4c14-89c8-3358e89eab70.svg" />
</p>

```
cca --name cosmwasm-example --example --template cosmwasm
```

### Tailwind

```
cca --name tailwind-example --example --template tailwindcss
```

## Development

Because the nature of how template boilerplates are generated, we generate `yarn.lock` files inside of nested packages so we can fix versions to avoid non-deterministic installations.

When adding packages, yarn workspaces will use the root `yarn.lock`. It could be ideal to remove it while adding packages, and when publishing or pushing new changes, generating the nested lock files.

In the root, to remove all nested lock files:

```
yarn locks:remove
```

When you need to remove/generate locks for all nested packages, simply run `yarn locks` in the root:

```
yarn locks
```

## Related

Checkout these related projects:

* [@cosmwasm/ts-codegen](https://github.com/CosmWasm/ts-codegen) for generated CosmWasm contract Typescript classes
* [@cosmology/telescope](https://github.com/cosmology-tech/telescope) a "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs.
* [chain-registry](https://github.com/cosmology-tech/chain-registry) an npm module for the official Cosmos chain-registry.
* [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) A wallet connector for the Cosmos ⚛️
* [create-cosmos-app](https://github.com/cosmology-tech/create-cosmos-app) set up a modern Cosmos app by running one command.
* [starship](https://github.com/cosmology-tech/starship) a k8s-based unified development environment for Cosmos Ecosystem

## Credits

🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.tech/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 or CLI, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ pids
*.seed

# dist
dist
mjs
main
module

Expand Down
Loading