Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: hyperweb-io/create-cosmos-app
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: hyperweb-io/create-cosmos-app
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fix/chain-assets
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.

Commits on Aug 24, 2022

  1. Copy the full SHA
    52974b9 View commit details
  2. remove placeholders

    pyramation committed Aug 24, 2022
    Copy the full SHA
    50ac561 View commit details
  3. remove lock

    pyramation committed Aug 24, 2022
    Copy the full SHA
    338da98 View commit details
  4. cleanup

    pyramation committed Aug 24, 2022
    Copy the full SHA
    17288b4 View commit details
  5. templates

    pyramation committed Aug 24, 2022
    Copy the full SHA
    854dd09 View commit details
  6. landing

    pyramation committed Aug 24, 2022
    Copy the full SHA
    79f3d97 View commit details
  7. landing

    pyramation committed Aug 24, 2022
    Copy the full SHA
    63813a9 View commit details
  8. landing

    pyramation committed Aug 24, 2022
    Copy the full SHA
    d9be7b8 View commit details
  9. landing

    pyramation committed Aug 24, 2022
    Copy the full SHA
    16e46a1 View commit details
  10. cmd

    pyramation committed Aug 24, 2022
    Copy the full SHA
    319eb66 View commit details
  11. Copy the full SHA
    4757048 View commit details
  12. replace userInfoCard

    yujulchen committed Aug 24, 2022
    Copy the full SHA
    16a63ba View commit details
  13. updates

    pyramation committed Aug 24, 2022
    Copy the full SHA
    856c99b View commit details
  14. chore(release): publish

     - create-cosmos-app@0.0.7
     - @cosmos-app/connect-chain@0.1.1
     - @cosmos-app/connect-multi-chain@0.1.1
    pyramation committed Aug 24, 2022
    Copy the full SHA
    e723cd3 View commit details
  15. readme

    pyramation committed Aug 24, 2022
    Copy the full SHA
    6f1088b View commit details
  16. chore(release): publish

     - create-cosmos-app@0.0.8
    pyramation committed Aug 24, 2022
    Copy the full SHA
    d2dfe74 View commit details
  17. readme

    pyramation committed Aug 24, 2022
    Copy the full SHA
    f6ad6c9 View commit details
  18. chore(release): publish

     - create-cosmos-app@0.0.9
    pyramation committed Aug 24, 2022
    Copy the full SHA
    c9e6a39 View commit details
  19. readme

    pyramation committed Aug 24, 2022
    Copy the full SHA
    b7611d2 View commit details
  20. chore(release): publish

     - create-cosmos-app@0.0.10
    pyramation committed Aug 24, 2022
    Copy the full SHA
    f0b80d6 View commit details

Commits on Aug 25, 2022

  1. lint

    pyramation committed Aug 25, 2022
    Copy the full SHA
    596100f View commit details
  2. examples

    pyramation committed Aug 25, 2022
    Copy the full SHA
    0ec9668 View commit details
  3. chore(release): publish

     - @cosmonauts/connect-chain-with-telescope-and-contracts@0.1.2
     - create-cosmos-app@0.0.11
     - @cosmonauts/connect-chain@0.1.2
     - @cosmonauts/connect-multi-chain@0.1.2
    pyramation committed Aug 25, 2022
    Copy the full SHA
    07a9918 View commit details
  4. ex

    pyramation committed Aug 25, 2022
    Copy the full SHA
    a2f26d3 View commit details
  5. chore(release): publish

     - create-cosmos-app@0.0.12
    pyramation committed Aug 25, 2022
    Copy the full SHA
    134389b View commit details
  6. examples

    pyramation committed Aug 25, 2022
    Copy the full SHA
    d335675 View commit details
  7. chore(release): publish

     - create-cosmos-app@0.1.0
    pyramation committed Aug 25, 2022
    Copy the full SHA
    b980ddd View commit details
  8. examples

    pyramation committed Aug 25, 2022
    Copy the full SHA
    c5d23a7 View commit details
  9. chore(release): publish

     - create-cosmos-app@0.2.0
    pyramation committed Aug 25, 2022
    Copy the full SHA
    28d4622 View commit details
  10. protos

    pyramation committed Aug 25, 2022
    Copy the full SHA
    2175574 View commit details
  11. chakra

    pyramation committed Aug 25, 2022
    Copy the full SHA
    0c9f5c8 View commit details
  12. chore(release): publish

     - @cosmonauts/connect-chain-with-telescope-and-contracts@0.1.3
     - @cosmonauts/connect-chain@0.1.3
     - @cosmonauts/connect-multi-chain@0.1.3
    pyramation committed Aug 25, 2022
    Copy the full SHA
    541da38 View commit details
  13. readme

    pyramation committed Aug 25, 2022
    Copy the full SHA
    c53218a View commit details
  14. chore(release): publish

     - create-cosmos-app@0.2.1
    pyramation committed Aug 25, 2022
    Copy the full SHA
    046bff8 View commit details

Commits on Aug 26, 2022

  1. replace multi style

    yujulchen committed Aug 26, 2022
    Copy the full SHA
    246775d View commit details
  2. remove unused import

    yujulchen committed Aug 26, 2022
    Copy the full SHA
    376388a View commit details

Commits on Aug 27, 2022

  1. cli

    pyramation committed Aug 27, 2022
    Copy the full SHA
    882c48d View commit details
  2. chore(release): publish

     - create-cosmos-app@0.2.2
    pyramation committed Aug 27, 2022
    Copy the full SHA
    98019df View commit details
  3. links

    pyramation committed Aug 27, 2022
    Copy the full SHA
    7779c1a View commit details
  4. chore(release): publish

     - @cosmonauts/connect-chain-with-telescope-and-contracts@0.1.4
     - @cosmonauts/connect-chain@0.1.4
     - @cosmonauts/connect-multi-chain@0.1.4
    pyramation committed Aug 27, 2022
    Copy the full SHA
    95ad171 View commit details
  5. layout

    pyramation committed Aug 27, 2022
    Copy the full SHA
    2760645 View commit details
  6. chore(release): publish

     - @cosmonauts/connect-chain-with-telescope-and-contracts@0.1.5
     - @cosmonauts/connect-chain@0.1.5
     - @cosmonauts/connect-multi-chain@0.1.5
    pyramation committed Aug 27, 2022
    Copy the full SHA
    75dcda0 View commit details
  7. simplify

    pyramation committed Aug 27, 2022
    Copy the full SHA
    0ca57fe View commit details
  8. chore(release): publish

     - @cosmonauts/connect-chain-with-telescope-and-contracts@0.1.6
     - @cosmonauts/connect-chain@0.1.6
     - @cosmonauts/connect-multi-chain@0.1.6
    pyramation committed Aug 27, 2022
    Copy the full SHA
    1951c16 View commit details

Commits on Aug 28, 2022

  1. defaults

    pyramation committed Aug 28, 2022
    Copy the full SHA
    deb7d4a View commit details
  2. lint

    pyramation committed Aug 28, 2022
    Copy the full SHA
    3072cdf View commit details

Commits on Aug 29, 2022

  1. Copy the full SHA
    4cbd16d View commit details
  2. delete extra codes

    liujun93 committed Aug 29, 2022
    Copy the full SHA
    02fd547 View commit details
  3. delete extra codes

    liujun93 committed Aug 29, 2022
    Copy the full SHA
    5b3737b View commit details

Commits on Aug 30, 2022

  1. Copy the full SHA
    5641f64 View commit details
Showing 1,275 changed files with 253,797 additions and 18,764 deletions.
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
165 changes: 164 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,164 @@
# 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://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 keplr + keplr mobile via wallet connect
* ⚛️ 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](https://github.com/cosmology-tech/cosmos-kit) 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 cca-sendtokens --example --template send-tokens
```

### 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 myosmoapp --example --template osmosis
```

or the cosmwsam example:

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

### 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 myjunoapp --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 mystarsapp --example --template stargaze
```

### Tailwind

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

## Credits

🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.tech/validator)

Code built with the help of these related projects:

* [@cosmwasm/ts-codegen](https://github.com/CosmWasm/ts-codegen) for generated CosmWasm contract Typescript classes
* [@osmonauts/telescope](https://github.com/osmosis-labs/telescope) a "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs.
* [chain-registry](https://github.com/cosmology-tech/chain-registry) Cosmos chain registry and chain info.
* [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) A wallet connector for the Cosmos.
File renamed without changes.
36 changes: 36 additions & 0 deletions examples/contracts/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
136 changes: 136 additions & 0 deletions examples/contracts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
# Change Log

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.0.2](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@1.0.1...@cosmonauts/connect-chain-with-telescope-and-contracts@1.0.2) (2022-10-15)

**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts





## [1.0.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@1.0.0...@cosmonauts/connect-chain-with-telescope-and-contracts@1.0.1) (2022-10-03)

**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts





# [1.0.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.6.0...@cosmonauts/connect-chain-with-telescope-and-contracts@1.0.0) (2022-10-01)

**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts





# [0.6.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.5.1...@cosmonauts/connect-chain-with-telescope-and-contracts@0.6.0) (2022-09-30)

**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts





## [0.5.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.5.0...@cosmonauts/connect-chain-with-telescope-and-contracts@0.5.1) (2022-09-25)

**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts





# [0.5.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.4.0...@cosmonauts/connect-chain-with-telescope-and-contracts@0.5.0) (2022-09-25)

**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts





# [0.4.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.3.0...@cosmonauts/connect-chain-with-telescope-and-contracts@0.4.0) (2022-09-23)

**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts





# [0.3.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.2.0...@cosmonauts/connect-chain-with-telescope-and-contracts@0.3.0) (2022-09-22)

**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts





# [0.2.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.9...@cosmonauts/connect-chain-with-telescope-and-contracts@0.2.0) (2022-09-22)

**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts





## [0.1.9](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.8...@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.9) (2022-09-11)

**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts





## [0.1.8](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.7...@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.8) (2022-09-08)

**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts





## [0.1.7](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.6...@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.7) (2022-08-30)

**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts





## [0.1.6](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.5...@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.6) (2022-08-27)

**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts





## [0.1.5](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.4...@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.5) (2022-08-27)

**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts





## [0.1.4](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.3...@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.4) (2022-08-27)

**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts





## [0.1.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.2...@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.3) (2022-08-25)

**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts





## 0.1.2 (2022-08-25)

**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts
Loading