Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Aptos

The executor folder was generated with aptos move init --name executor.

This module was developed with aptos CLI 7.2.0. It should generally match the Sui implementation with minor changes necessary for Aptos-specific implementation details.

💡 Note: The payeeAddress on the signed quote must be registered for AptosCoin before being able to receive payments.

Development

Move IDE Plugins

Compile

aptos move compile --named-addresses executor=default

Test

aptos move test --named-addresses executor=default

For coverage, add the --coverage flag.

aptos move test --coverage --named-addresses executor=default

Deploy

First initialize the config, setting the desired network and deployment private key.

cd executor
aptos init

Then, publish the module immutably via a resource account.

aptos move create-resource-account-and-publish-package --address-name executor --seed-encoding Utf8 --seed executorv1

Repeat this with the executor_requests module.

cd executor
aptos init
aptos move create-resource-account-and-publish-package --address-name executor_requests --named-addresses executor=<ADDRESS_FROM_PREVIOUS_STEP> --seed-encoding Utf8 --seed executor_requestsv1