You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+61-16Lines changed: 61 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ Set up a Hyperweb app by running one command ⚛️
15
15
-[Overview](#overview)
16
16
-[Education & Resources](#education--resources)
17
17
-[Creating an App](#creating-an-app)
18
-
-[Examples](#examples)
18
+
-[Templates](#templates)
19
19
-[Options](#options)
20
20
-[Development](#development)
21
21
@@ -53,15 +53,15 @@ Now your app should be running on `http://localhost:3000`!
53
53
54
54
### Get Started Immediately
55
55
56
-
You don’t need to install or configure cosmjs, keplr, nextjs, webpack or Babel.
56
+
You don't need to install or configure cosmjs, keplr, nextjs, webpack or Babel.
57
57
58
58
Everything is preconfigured, ready-to-go, so you can focus on your code!
59
59
60
-
- ⚡️ 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!
60
+
- ⚡️ 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
61
- ⚛️ Sign and broadcast with [cosmjs](https://github.com/cosmos/cosmjs) stargate + cosmwasm signers
62
62
<!-- - 🎨 Build awesome UI with [Interchain UI](https://cosmology.zone/products/interchain-ui) and [Explore Components](https://cosmology.zone/components) -->
63
63
- 🛠 Render pages with [next.js](https://nextjs.org/) hybrid static & server rendering
64
-
<!-- - 📝Leverage [chain-registry](https://github.com/cosmology-tech/chain-registry) for Chain and Asset info for all Cosmos chains -->
64
+
<!-- - 📝Leverage [chain-registry](https://github.com/cosmology-tech/chain-registry) for Chain and Asset info for all Cosmos chains -->
65
65
- 🚀 Ensure reliability with [Starship](https://github.com/cosmology-tech/starship), our end-to-end testing CI/CD project for GitHub Actions, streamlining continuous integration and delivery across the interchain ecosystem.
66
66
67
67
<!-- ## Education & Resources
@@ -110,18 +110,63 @@ npm init hyperweb-app
110
110
yarn create hyperweb-app
111
111
```
112
112
113
-
## Options
113
+
## Templates
114
+
115
+
The `create-hyperweb-app` tool provides carefully crafted templates to help you understand and test various features and integrations. By executing the templates, you can quickly see how to implement specific functionalities in your Cosmos app.
116
+
117
+
```
118
+
cha --template
119
+
```
120
+
121
+
If you know the template name, you can do
122
+
123
+
```
124
+
cha --template <template-name>
125
+
```
126
+
127
+
Alternatively, you can use the shorthand `-t` flag to achieve the same:
128
+
129
+
```
130
+
cha -t <template-name>
131
+
```
132
+
133
+
This command will generate a new project configured with the selected template, allowing you to dive into the code and functionality right away.
Manage and integrate multiple modules such as staking, voting and asset-list within your application. This template provides a comprehensive setup for building robust and feature-rich Cosmos apps.
154
+
155
+
```
156
+
cha --name chain-admin-template --template chain-admin
|`--printCmd`| Print the command to run after setup |`true`|
166
+
|`-n`, `--name`| Provide a project name | None |
167
+
|`-e`, `--example`| Provide an example name | None |
168
+
|`-t`, `--template`| Define the template to use | None |
169
+
|`-b`, `--fromBranch`| Specify the branch to use for cloning | None |
125
170
126
171
## Related
127
172
@@ -137,10 +182,10 @@ Checkout these related projects:
137
182
138
183
## Credits
139
184
140
-
🛠 Built by Hyperweb (formerly Cosmology) —if you like our tools, please checkout and contribute to [our github ⚛️](https://github.com/hyperweb-io)
185
+
🛠 Built by Hyperweb (formerly Cosmology) —if you like our tools, please checkout and contribute to [our github ⚛️](https://github.com/hyperweb-io)
141
186
142
187
## Disclaimer
143
188
144
-
AS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED “AS IS”, AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND.
189
+
AS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED "AS IS", AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND.
145
190
146
191
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, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value.
0 commit comments