The Reclaim Move SDK Client provides a streamlined interface for building, testing, and deploying Move modules that interact with the Reclaim protocol on the Sui blockchain.
To build the project, run the following command:
sui move buildTo execute the test suite and verify the functionality of the modules, use:
sui move testTo publish the package on the Sui network, execute:
sui client publish --gas-budget 100000000To create a new Reclaim Manager, use the following command:
sui client call --package $PACKAGE --module client --function create_reclaim_manager --args 1000000 --gas-budget 100000000Note: Replace $PACKAGE with your actual package ID.
To add a new epoch to an existing Reclaim Manager, use the following command:
sui client call --package $PACKAGE --module client --function add_new_epoch --args $MANAGER "[0x244897572368eadf65bfbc5aec98d8e5443a9072]" 1 --gas-budget 100000000Note:
- Replace
$PACKAGEwith your package ID. - Replace
$MANAGERwith the object ID obtained from thecreate_reclaim_managercommand.
sui client call --package $PACKAGE --module client \
--function create_proof --args '"$PARAMETERS"' \
'"$CONTEXT"' \
'"$IDENTIFIER"' \
'"$OWNER"' \
'"$EPOCH"' \
'"$TIMESTAMP_S"' \
"$SIGNATURE" --gas-budget 100000000sui client call package $PACKAGE --module client \
--function verify_proof --args $MANAGER $PROOF --gas-budget 100000000You can view the Testnet deployment here: Testnet Object