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
// Necessary typeurl and codecs will be registered automatically in the helper functions. Meaning users don't have to register them all at once.
184
+
const result =awaitsubmitProposal(
185
+
signingClient,
186
+
directAddress,
187
+
{
188
+
proposer: directAddress,
189
+
initialDeposit: [
190
+
{
191
+
amount: "1000000",
192
+
denom: denom,
193
+
},
194
+
],
195
+
content: {
196
+
typeUrl: "/cosmos.gov.v1beta1.TextProposal",
197
+
value: TextProposal.encode(contentMsg).finish(),
198
+
},
199
+
},
200
+
fee,
201
+
"submit proposal"
202
+
);
203
+
console.log(result.hash); // the hash of TxRaw
204
+
```
99
205
100
-
---
101
206
102
-
##Auth
207
+
### Quick Setup with create-interchain-app
103
208
104
-
The authentication module is universally applied across different networks.
209
+
The easiest way to get started is by using the create-interchain-app tool, which sets up a complete project with all necessary dependencies:
210
+
211
+
```bash
212
+
npm install -g create-interchain-app
213
+
214
+
cia --example authz
215
+
```
105
216
106
-
| Package | Description |
107
-
|---------|-------------|
108
-
|[@interchainjs/auth](/packages/auth/README.md)| Handles authentication across blockchain networks. |
109
-
|[Advanced Docs: `Auth vs. Wallet vs. Signer`](/docs/auth-wallet-signer.md)| Explanation of the differences between authentication, wallets, and signers. |
217
+
Then an authz example website will be created and users can take a look how signing clients and helper functions are used.
|**Chain Information**|[**Chain Registry**](https://github.com/hyperweb-io/chain-registry), [**Utils**](https://www.npmjs.com/package/@chain-registry/utils), [**Client**](https://www.npmjs.com/package/@chain-registry/client)| Everything from token symbols, logos, and IBC denominations for all assets you want to support in your application. |
148
-
|**Wallet Connectors**|[**Interchain Kit**](https://github.com/hyperweb-io/interchain-kit)<sup>beta</sup>, [**Cosmos Kit**](https://github.com/hyperweb-io/cosmos-kit)| Experience the convenience of connecting with a variety of web3 wallets through a single, streamlined interface. |
149
-
|**Signing Clients**|[**InterchainJS**](https://github.com/hyperweb-io/interchainjs)<sup>beta</sup>, [**CosmJS**](https://github.com/cosmos/cosmjs)| A single, universal signing interface for any network |
150
-
|**SDK Clients**|[**Telescope**](https://github.com/hyperweb-io/telescope)| Your Frontend Companion for Building with TypeScript with Cosmos SDK Modules. |
151
-
|**Starter Kits**|[**Create Interchain App**](https://github.com/hyperweb-io/create-interchain-app)<sup>beta</sup>, [**Create Cosmos App**](https://github.com/hyperweb-io/create-cosmos-app)| Set up a modern Interchain app by running one command. |
152
-
|**UI Kits**|[**Interchain UI**](https://github.com/hyperweb-io/interchain-ui)| The Interchain Design System, empowering developers with a flexible, easy-to-use UI kit. |
153
-
|**Testing Frameworks**|[**Starship**](https://github.com/hyperweb-io/starship)| Unified Testing and Development for the Interchain. |
154
-
|**TypeScript Smart Contracts**|[**Create Hyperweb App**](https://github.com/hyperweb-io/create-hyperweb-app)| Build and deploy full-stack blockchain applications with TypeScript |
155
-
|**CosmWasm Contracts**|[**CosmWasm TS Codegen**](https://github.com/CosmWasm/ts-codegen)| Convert your CosmWasm smart contracts into dev-friendly TypeScript classes. |
|**Chain Information**|[**Chain Registry**](https://github.com/hyperweb-io/chain-registry), [**Utils**](https://www.npmjs.com/package/@chain-registry/utils), [**Client**](https://www.npmjs.com/package/@chain-registry/client)| Everything from token symbols, logos, and IBC denominations for all assets you want to support in your application. |
256
+
|**Wallet Connectors**|[**Interchain Kit**](https://github.com/hyperweb-io/interchain-kit)<sup>beta</sup>, [**Cosmos Kit**](https://github.com/hyperweb-io/cosmos-kit)| Experience the convenience of connecting with a variety of web3 wallets through a single, streamlined interface.|
257
+
|**Signing Clients**|[**InterchainJS**](https://github.com/hyperweb-io/interchainjs)<sup>beta</sup>, [**CosmJS**](https://github.com/cosmos/cosmjs)| A single, universal signing interface for any network|
258
+
|**SDK Clients**|[**Telescope**](https://github.com/hyperweb-io/telescope)| Your Frontend Companion for Building with TypeScript with Cosmos SDK Modules.|
259
+
|**Starter Kits**|[**Create Interchain App**](https://github.com/hyperweb-io/create-interchain-app)<sup>beta</sup>, [**Create Cosmos App**](https://github.com/hyperweb-io/create-cosmos-app)| Set up a modern Interchain app by running one command.|
260
+
|**UI Kits**|[**Interchain UI**](https://github.com/hyperweb-io/interchain-ui)| The Interchain Design System, empowering developers with a flexible, easy-to-use UI kit.|
261
+
|**Testing Frameworks**|[**Starship**](https://github.com/hyperweb-io/starship)| Unified Testing and Development for the Interchain.|
262
+
|**TypeScript Smart Contracts**|[**Create Hyperweb App**](https://github.com/hyperweb-io/create-hyperweb-app)| Build and deploy full-stack blockchain applications with TypeScript|
263
+
|**CosmWasm Contracts**|[**CosmWasm TS Codegen**](https://github.com/CosmWasm/ts-codegen)| Convert your CosmWasm smart contracts into dev-friendly TypeScript classes.|
156
264
157
265
## Credits
158
266
159
-
🛠 Built by Hyperweb (formerly Cosmology) —if you like our tools, please checkout and contribute to [our github ⚛️](https://github.com/hyperweb-io)
267
+
🛠 Built by Hyperweb (formerly Cosmology) —if you like our tools, please checkout and contribute to [our github ⚛️](https://github.com/hyperweb-io)
160
268
161
269
## Disclaimer
162
270
163
-
AS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED “AS IS”, AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND.
271
+
AS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED "AS IS", AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND.
164
272
165
273
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