curl -fsSL "https://aptos.dev/scripts/install_cli.py" | python3
aptos help
mkdir calculator
cd calculator
aptos init
- when prompted, type testnet and press Enter
- enter your private key from Aptos Wallet (Petra)
- create a move package
aptos move init --name calculator_app
- inside Move.toml, add your public wallet address in addresses field
aptos move compile
aptos move publish
cd interface
andnpm install
- create a .env file inside interface/
- write two parameters in .env:
REACT_APP_MODULE_ADDRESS = "<your-public-wallet-address-of-input-private-key>"
REACT_APP_MODULE_NAME="calculator"