Host should be running a public Gate server.

Testing from browser

Executing greet function of WebAssembly module /ipfs/QmNhmVbd32cEWjunu96MkahKXLx5SykwVfzpB7uWHwQw8n.

The server call is made anonymously.

Anonymous usage with curl

Upload and execute (module hash must be supplied in URL):

$ curl -o hello.wasm $ curl -XPUT -H"content-type: application/wasm" -H"content-length: 75724" --data-binary @hello.wasm -L "" hello, world

Execute by IPFS hash:

$ curl -XPOST -L "" hello, world

Command line client with identity support

Manage resources bound to a public key (requires Go, Git and OpenSSH keygen):

$ go get $ PATH=$(go env GOPATH)/bin:$PATH $ ssh-keygen -t ed25519 -f key $ gate -o identityfile=key launch ./hello.wasm greet 01234567-89ab-odef-0123-456789abcdef $ gate -o identityfile=key io 01234567-89ab-cdef-0123-456789abcdef hello, world $ gate -o identityfile=key instances 01234567-89ab-odef-0123-456789abcdef HALTED with result 0 $ gate -o identityfile=key modules 2QLyjShYUsWvXNVliEZ11EyKmAfo8YvRnBM79eX2RryYN5mPfya6mH5bEMsDTBBn $ gate -o identityfile=key call 2QLyjShYUsWvXNVliEZ11EyKmAfo8YvRnBM79eX2RryYN5mPfya6mH5bEMsDTBBn greet hello, world

Key defaults to ~/.ssh/id_ed25519.