Mokshya Protocol
  • Mokshya
  • Aptos
    • candymachine
      • Installation
      • Preparing your assets
      • Prepare config.json
      • Initialize Candy Machine
      • Update Whitelist
      • Mint UI
    • Token Staking
      • Installation
      • Staking Creation and Control
      • Stake Token
      • Claim Reward and Unstake
    • Token Vesting
      • Installation
      • Vesting Operations
Powered by GitBook
On this page
  • Install Aptos CLI
  • Deploy Token Staking Smart Contract
  1. Aptos
  2. Token Staking

Installation

PreviousToken StakingNextStaking Creation and Control

Last updated 2 years ago

Install Aptos CLI

Install Aptos from here https://aptos.dev/cli-tools/aptos-cli-tool/use-aptos-cli

Deploy Token Staking Smart Contract

Create aptos account

aptos init

Copy the aptos account key and use it to publish the mokshyastaking smart contract

 aptos move publish --named-addresses mokshyastaking=0xb2bad458173e8b15d653a4fa1bee43317b6f52cba75ad4201c0f6fa2048514cc

Replace 0xb2bad458173e8b15d653a4fa1bee43317b6f52cba75ad4201c0f6fa2048514cc with your account address.

Mainnet and Testnet Address

0xb2bad458173e8b15d653a4fa1bee43317b6f52cba75ad4201c0f6fa2048514cc