Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #1 Update your system
- sudo apt update && sudo apt upgrade -y
- #2 Install Soundnessup
- curl -sSL https://raw.githubusercontent.com/soundnesslabs/soundness-layer/main/soundnessup/install | bash
- #3 Install Rust
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs/ | sh
- #4 Reload your shell
- source ~/.bashrc
- #5 Install Soundness CLI
- soundnessup install
- #6 Update Soundness CLI
- soundnessup update
- #7 Import an existing key
- soundness-cli import-key --name my-key --mnemonic "YOUR_SEED_PHRASE"
- #8 Check your keys
- soundness-cli list-keys
- #9 Generate Proof
- soundness-cli send --proof-file="sf1fPu8vwfcf4eX8Rx1qZyAM8mhWVAH9I5uI_ebRBvI" --game="8queens" --key-name="YOUR_KEY_HERE_DO_NOT_REMOVE_QUOTES" --proving-system="ligetron" --payload='{"program": "/root/ligero_internal/sdk/build/examples/8queen.wasm", "shader-path": "/root/ligero_internal/shader", "packing": 8192, "private-indices": [1, 2], "args": [{"str": "0000000000000000"}, {"str": "11111111111111111111111111111111"}, {"str": "IhF2U06WOOEEi84/goFnFzPCg5+YuQF/bIcwBjmLml4="}, {"str": "dbfe9850120e5d1848e79542d40ccf2fa135dc2d4693cf99b6a581b7ba93f0c6"}]}'
- #FIX
- sudo apt update
- sudo apt install -y build-essential pkg-config libssl-dev
- . "$HOME/.cargo/env"
- soundnessup install
Advertisement
Add Comment
Please, Sign In to add comment