Host should be running a public Gate server.

Testing from browser

Executing main function of WebAssembly module /ipfs/QmQugy6674g1rJumFQ5gAtuJf8uJobxSi23GUqUaewoPLc.

The server call is made anonymously. See the module source code.

Anonymous usage with curl

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

$ curl -ohello.wasm $ curl -XPUT -Hcontent-type:application/wasm -Hcontent-length:68596 --data-binary @hello.wasm "" hello, world

Execute by IPFS hash:

$ curl -XPOST "" hello, world

Command line client with identity support

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

$ ssh-keygen -t ed25519 -f key $ go get $ PATH=$(go env GOPATH)/bin:$PATH $ gate -c identityfile=key launch $(go env GOPATH)/src/ 01234567-89ab-cdef-0123-456789abcdef $ gate -c identityfile=key io 01234567-89ab-cdef-0123-456789abcdef hello, world $ gate -c identityfile=key instances 01234567-89ab-cdef-0123-456789abcdef terminated with result 0 $ gate -c identityfile=key modules I4hOg1lxclcr20elFIIjlrWw4H7Twp2eMTGU1KrfX_np05M6WZ0DpcTIvSajbE9d $ gate -c identityfile=key call I4hOg1lxclcr20elFIIjlrWw4H7Twp2eMTGU1KrfX_np05M6WZ0DpcTIvSajbE9d hello, world

Key defaults to ~/.ssh/id_ed25519.