Open Testnet

Docs : https://mirror.xyz/0x7794D1c55568270A81D8Bf39e1bcE96BEaC10901/F99hEjkxcsWNefjnaEhoxCOPgHn0I7oJG3fflRjQUGU

Saya hanya memperjelas tutorial disini

kalian bisa pakai codespace

Buat folder aligned

mkdir aligned

Download dan install aligned

curl -L https://raw.githubusercontent.com/yetanotherco/aligned_layer/main/batcher/aligned/install_aligned.sh | bash

Verify instalation

source /root/.bashrc

Download example SP1 proof file

curl -L https://raw.githubusercontent.com/yetanotherco/aligned_layer/main/batcher/aligned/get_proof_test_files.sh | bash

Send proof (disini tunggu beberapa menit sampe selesai)

/root/.aligned/bin/aligned submit --proving_system SP1 --proof ~/.aligned/test_files/sp1_fibonacci.proof --vm_program ~/.aligned/test_files/sp1_fibonacci-elf --aligned_verification_data_path ~/aligned_verification_data --conn wss://batcher.alignedlayer.com

outputnya seperti ini :

Verify proof

aligned verify-proof-onchain --aligned-verification-data ~/aligned_verification_data/*.json --rpc https://ethereum-holesky-rpc.publicnode.com --chain holesky

outputnya seperti ini :

verify proof

Jangan lupa tag @alignedlayer

Congratulations. You are now aligned. ✅

Last updated