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

for preview #149

Draft
wants to merge 45 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
28335f3
Initial abstract-app class
adairrr Apr 14, 2023
1b9cf55
Abstract App query interface
adairrr Apr 15, 2023
e380fee
Add query factory to abstract app
adairrr Apr 16, 2023
8f87074
Abstract app types
adairrr Apr 16, 2023
e7eaf04
Abstract app query clients
adairrr May 21, 2023
c926307
AppExecuteInterface
adairrr May 21, 2023
fe66c65
Missing extends in IAppClient
adairrr May 21, 2023
cbb72b9
Abstract app execute client
adairrr May 21, 2023
17557cb
App execute client
adairrr May 21, 2023
6ebed01
Lint the message composer
adairrr May 21, 2023
97d5ab0
Update message builder with abstract
adairrr May 21, 2023
67195cb
Merge 'main'
adairrr May 21, 2023
3777a4b
Clean up abstract app client
adairrr May 21, 2023
3172021
Merge branch 'underscoreFunds' into feature/abstractApp
adairrr May 21, 2023
a3a62aa
Merge branch 'underscoreFunds' into feature/abstractApp
adairrr May 21, 2023
c04b24c
Update react query generation with abstract app
adairrr May 21, 2023
22a40f1
Rely on msg builder for abstract-app
adairrr May 21, 2023
9880c32
Abstract app readme
adairrr May 21, 2023
814b353
Extract from execute msg in appclient
adairrr May 21, 2023
9d3e56b
Update ts-codegen tests
adairrr May 21, 2023
2898bf5
Union _moduleAddress with undefined
adairrr May 21, 2023
2d1640b
Add clientPrefix option to abstractApp
adairrr May 30, 2023
3dd3d78
Merge branch 'main' into feature/abstractApp
NoahSaso Jul 10, 2023
338bbed
Changed wasm-ast-types package name back to npm.
NoahSaso Jul 10, 2023
ea8122e
number to AbstractAccountId and update tests
adairrr Oct 11, 2023
7842b1d
Bump
adairrr Nov 11, 2023
d5d397f
Merge branch 'main' into feature/abstractAppNov
adairrr Nov 11, 2023
6423b12
Check module addresses
adairrr Nov 11, 2023
ca52b30
gst
adairrr May 20, 2024
5fd7a04
Ensure that parameters account for tuple variants
adairrr May 20, 2024
7cdde3a
Bump version
adairrr May 20, 2024
60c4f3b
Merge pull request #1 from AbstractSDK/adair/fixAppTuples
adairrr May 22, 2024
54e0933
Generate for adapters
adairrr May 29, 2024
737b7d2
Ensure factory
adairrr May 30, 2024
49ba363
Suffix fee, memo, and funds with underscores
adairrr Aug 15, 2024
24ceb85
Make beta
adairrr Aug 15, 2024
a8d89f7
Merge pull request #3 from AbstractSDK/adair/memoFix
adairrr Oct 7, 2024
bd631f1
Merge pull request #2 from AbstractSDK/adair/generateForAdapters
adairrr Oct 7, 2024
7655135
Merge pull request #4 from AbstractSDK/adair/memoFix
adairrr Oct 7, 2024
3b8730c
Abstract 2.0 generation
adairrr Oct 11, 2024
692671d
Update specs
adairrr Oct 11, 2024
740649c
Update ts-codegen snaps
adairrr Oct 11, 2024
2062d7f
Match ts-codegen version
adairrr Oct 11, 2024
4cecf93
Publish
adairrr Oct 11, 2024
a47bc0f
Merge pull request #5 from AbstractSDK/adair/abstract2.0
adairrr Oct 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,26 @@ cosmwasm-ts-codegen generate \
|------------------------- | ---------------------------------- |
| `messageBuilder.enabled` | enable the messageBuilder plugin |

### Abstract App

Generate a client for an app-module using the created using the [Abstract SDK](https://docs.abstract.money). This plugin will generate a `AppQueryClient` for queries as well as a `AppClient` for queries and mutations.
This client will be injected as the client for the `react-query` and `message-composer` plugins, if enabled. It is NOT currently compatible with the `recoil` plugin.

#### Abstract App via CLI

```sh
cosmwasm-ts-codegen generate \
--plugin abstract-app \
--schema ./schema \
--out ./ts \
--name MyAppModuleName
```
#### Abstract App Options

| option | description |
-------------|-------------------------------| ------------------------------------------------------------------- |
| `abstractApp.enabled` | enable the abstractApp plugin |
| `abstractApp.clientPrefix` | prefix the client name, defaults to `App` |

### Use Contracts Hooks

Expand Down
Loading