The CLI interface for interacting Momentum Safe. This repository majorly has two components:
- The CLI interface for users to interact with Momentum Safe.
- The underlying typescript SDK of for smart contract interaction.
Clone the repository and change directory:
git clone [email protected]:Momentum-Safe/CLI-MSafe.git
cd CLI-MSafe
Install dependencies:
yarn install
The CLI tool is used for setting up the initial account. Install with github release or compile from source.
- Github release (Recommended)
- Install from source
Use aptos CLI to setup the wallet and environment.
aptos init
Choose all default settings to create a new wallet with the devnet endpoint settings.
The command will create a config file .aptos/config.yaml
under the current directory, which includes
the wallet information as well as the network endpoint message.
yarn start
And follow the instructions to operate with momemtum safe.
The following features are currently supported by Momentum Safe:
- Momentum Safe creation
- APT coin transfer
- View momentum safe owned by the account
- View pending transactions of the momentum safe
- Coin registry.
- Coin transfer of any coin type.
- Custom MOVE module interaction (For simple types).
- MOVE module publish.
- Revert transaction.
- Asset list.
We will add more features shortly:
- Add coin decimal and bigint
- Add more custom ABI, struct, e.t.c.