https://github.com/urbit/roller-rpc-client
https://github.com/urbit/roller-rpc-client
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/urbit/roller-rpc-client
- Owner: urbit
- Created: 2021-07-06T06:36:02.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-18T07:53:46.000Z (over 3 years ago)
- Last Synced: 2025-04-10T17:00:00.166Z (about 1 year ago)
- Language: TypeScript
- Size: 902 KB
- Stars: 4
- Watchers: 7
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Azimuth Roller Client
## Generate Typescript client
```bash
npm i
npm run build
```
## Build Typescript client and docs
```bash
# update spec.json with the newest version
npm i && npm run build
rm -rf docs
cd ./client/typescript
npm i && npm run build
mv docs ../../.
cd ../..
# The client docs are hosted as a github page, so we need to push the updated version
git add . && git commit -m 'add new docs' && git push origin master
```
## Test
The tests expect an urbit on `localhost:8080` running `%aggregator` and `%aggregator-rpc` gall agents.
```bash
npm run test
```
`./tests/roller.tests.ts` shows some examples of using the RPCs