mirror of
https://github.com/fluencelabs/examples
synced 2025-06-12 09:31:20 +00:00
Add section 5: Decentralized Oracles With Fluence And Aqua (#35)
* init quickstart-5 * update consensus calc, tests * update serivce, aqua * update service and deploymnt * update aqua, air * add seq version * update aquq * update examples * add fold, no fold to aqua * update par * update service, aqua with err value * update tests with err_val * add connect check, remove peer.connect funcs * update Readme * move body to gitbook
This commit is contained in:
6
quickstart/5-oracle-service/scripts/build.sh
Executable file
6
quickstart/5-oracle-service/scripts/build.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash -o errexit -o nounset -o pipefail
|
||||
|
||||
mkdir -p artifacts
|
||||
rm -f artifacts/*.wasm
|
||||
marine build --release
|
||||
cp target/wasm32-wasi/release/ts_oracle.wasm artifacts/
|
9
quickstart/5-oracle-service/scripts/deploy.sh
Executable file
9
quickstart/5-oracle-service/scripts/deploy.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash -o errexit -o nounset -o pipefail
|
||||
|
||||
fldist --node-id 12D3KooWFEwNWcHqi9rtsmDhsYcDbRUCDXH84RC4FW6UfsFWaoHi \
|
||||
new_service \
|
||||
--ms artifacts/ts_oracle.wasm:configs/ts_oracle_cfg.json \
|
||||
--name ts-oracle \
|
||||
--verbose \
|
||||
>> \
|
||||
deployed_service.data
|
Reference in New Issue
Block a user