https://github.com/pyramation/gnojs
https://github.com/pyramation/gnojs
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/pyramation/gnojs
- Owner: pyramation
- License: mit
- Created: 2022-05-03T00:28:26.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-18T06:37:17.000Z (about 4 years ago)
- Last Synced: 2025-03-13T02:03:51.493Z (over 1 year ago)
- Language: TypeScript
- Size: 794 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gnojs
```sh
npm install gnojs
```
Now you can import packages from the `gno` repo's protobuffers directly into TS/JS:
```js
import { abci, bank, std, tm, vm } from './proto';
```
## for developers building `gnojs`
Copy the files from the repo into `./proto`
```sh
git clone git@github.com:gnolang/gno.git
cd ./gno
export PATH="$PATH:$(go env GOPATH)/bin"
make genproto
cp -LR ./proto /path/to/gnojs/proto
code /path/to/gnojs/proto
```
Then run build and generate:
```sh
yarn proto:gen
```