https://github.com/oasislabs/zig-demo
Zig on Oasis using WASI
https://github.com/oasislabs/zig-demo
Last synced: 10 months ago
JSON representation
Zig on Oasis using WASI
- Host: GitHub
- URL: https://github.com/oasislabs/zig-demo
- Owner: oasislabs
- Created: 2019-07-25T17:12:16.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-06T09:24:00.000Z (over 2 years ago)
- Last Synced: 2025-01-26T19:17:15.311Z (12 months ago)
- Language: JavaScript
- Size: 4.66 MB
- Stars: 0
- Watchers: 22
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# zig-demo
Run [Zig](https://ziglang.org) programs on the Oasis platform using WASI!
This demo will greet the sender and return a random number.
It assumes that you have a web3 gateway running at `localhost:8546`.
You can use [oasis-chain](https://github.com/oasislabs/oasis-chain) for that.
Just run `make` to do the thing!
## Example
```
$ make
Hi b8b3666d8fea887d97ab54f571b8e5020c5c8b58! Your number is 42.
```