Skip to content

reclaimprotocol/reclaim-move-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Reclaim Move SDK Client

Overview

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.

Building the Project

To build the project, run the following command:

sui move build

Running Tests

To execute the test suite and verify the functionality of the modules, use:

sui move test

Publishing the Package

To publish the package on the Sui network, execute:

sui client publish --gas-budget 100000000

Interacting with the Reclaim Manager

Creating a Reclaim Manager

To create a new Reclaim Manager, use the following command:

sui client call --package $PACKAGE --module client --function create_reclaim_manager --args 1000000 --gas-budget 100000000

Note: Replace $PACKAGE with your actual package ID.

Adding a New Epoch

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 100000000

Note:

  • Replace $PACKAGE with your package ID.
  • Replace $MANAGER with the object ID obtained from the create_reclaim_manager command.

Create a Proof

sui client call --package $PACKAGE --module client \
    --function create_proof --args '"$PARAMETERS"' \
    '"$CONTEXT"' \
    '"$IDENTIFIER"' \
    '"$OWNER"' \
    '"$EPOCH"' \
    '"$TIMESTAMP_S"' \
    "$SIGNATURE" --gas-budget 100000000

Verify a Proof

sui client call package $PACKAGE --module client \
    --function verify_proof --args $MANAGER $PROOF --gas-budget 100000000

Deployment Links

Testnet Deployment

You can view the Testnet deployment here: Testnet Object

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages