laconic-sdk/DEVELOPMENT.md

25 lines
424 B
Markdown
Raw Normal View History

2022-04-05 14:11:06 +00:00
# Development
## Protobuf
Run following scripts when [proto files](./proto/) are updated.
1. Install dependencies
```bash
yarn
```
2. Generate typescript code for the proto files
```bash
2022-04-20 07:38:57 +00:00
./scripts/create-proto-files.sh
2022-04-05 14:11:06 +00:00
```
3. Remove GRPC code from generated code
```bash
2022-04-20 07:38:57 +00:00
./scripts/remove-grpc.sh
2022-04-05 14:11:06 +00:00
```
Reference: https://github.com/tharsis/evmosjs/tree/main/packages/proto#note