oasislabs / zig-demo

Zig on Oasis using WASI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zig-demo

Run Zig 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 for that.

Just run make to do the thing!

Example

$ make
Hi b8b3666d8fea887d97ab54f571b8e5020c5c8b58! Your number is 42.

About

Zig on Oasis using WASI


Languages

Language:JavaScript 28.9%Language:Rust 28.1%Language:Makefile 24.9%Language:Zig 18.1%