Skip to content

Commit 1a945ed

Browse files
Gefei HouGefei Hou
authored andcommitted
Remove ts-codegen
1 parent 3ef6a4e commit 1a945ed

File tree

25 files changed

+71
-2593
lines changed

25 files changed

+71
-2593
lines changed

README.md

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1431,31 +1431,8 @@ Here is how these patches can be defined within the prototypes configuration:
14311431
}
14321432
}
14331433
```
1434-
1435-
1436-
## CosmWasm
1437-
1438-
Generate TypeScript SDKs for your CosmWasm smart contracts by using the `cosmwasm` option on `TelescopeOptions`. The `cosmwasm` option is actually a direct reference to the `TSBuilderInput` object, for the most up-to-date documentation, visit [@cosmwasm/ts-codegen](https://github.com/CosmWasm/ts-codegen).
1439-
1440-
```ts
1441-
import { TSBuilderInput } from '@cosmwasm/ts-codegen';
1442-
const options: TelescopeOptions = {
1443-
cosmwasm: {
1444-
contracts: [
1445-
{
1446-
name: 'SG721',
1447-
dir: './path/to/sg721/schema'
1448-
},
1449-
{
1450-
name: 'Minter',
1451-
dir: './path/to/Minter/schema'
1452-
}
1453-
],
1454-
outPath: './path/to/code/src/'
1455-
}
1456-
};
1457-
```
1458-
1434+
## Cosmwasm
1435+
Cosmwasm option is deprecated. Please visit [@cosmwasm/ts-codegen](https://github.com/hyperweb-io/ts-codegen) for cosmwasm codegen.
14591436
14601437
## Helper Functions Configuration
14611438
The nameMappers object supports three service types: All, Query, and Msg. Each pattern within these categories can specify:

docs/Usage/cosmwasm.mdx

Lines changed: 0 additions & 221 deletions
This file was deleted.

docs/Usage/stack.mdx

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -112,16 +112,6 @@ Telescope supports integration with Recoil for React state management.
112112
**Resources**:
113113
- [Recoil Documentation](https://recoiljs.org/docs/introduction/installation)
114114

115-
### CosmWasm
116-
117-
Telescope integrates with CosmWasm for generating TypeScript clients for CosmWasm smart contracts.
118-
119-
**Technology**:
120-
- [@cosmwasm/ts-codegen](https://github.com/CosmWasm/ts-codegen)
121-
122-
**Resources**:
123-
- [CosmWasm Documentation](https://docs.cosmwasm.com/)
124-
125115
## Development Tools
126116

127117
### Jest
@@ -225,4 +215,4 @@ Typical resource requirements for running Telescope:
225215
| CPU | 2 cores | 4+ cores |
226216
| Memory | 2 GB | 4+ GB |
227217
| Disk Space | 1 GB | 5+ GB |
228-
| Node.js Version | 14.x | 16.x+ |
218+
| Node.js Version | 14.x | 16.x+ |

0 commit comments

Comments
 (0)