examples/archived/multi-service/air-scripts/add_stored_service.clj
boneyard93501 6381411ed9
Reorg (#10)
* init reorg

* updated readme

* fix CI

* remove outdated ipfs-node example

* add Readme

* update readme, add config file

Co-authored-by: folex <0xdxdy@gmail.com>
2021-07-16 02:04:18 -05:00

11 lines
329 B
Clojure

(xor
(seq
(call node ("script" "add") [script interval] id)
(call %init_peer_id% (returnService "run") [id])
)
(seq
(call relay ("op" "identity") [])
(call %init_peer_id% (returnService "run") ["XOR FAILED" %last_error%])
)
)