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 Candy Machine Smart Contract
  1. Aptos
  2. candymachine

Installation

PreviouscandymachineNextPreparing your assets

Last updated 2 years ago

Install aptos CLI

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

Deploy Candy Machine Smart Contract

Create aptos account

aptos init

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

 aptos move publish --named-addresses candymachine=b2707ff4b0db41e9b72f4b682b35f06d20ac9bd1c3360e6c5e6ba21971261dc6

Replace b2707ff4b0db41e9b72f4b682b35f06d20ac9bd1c3360e6c5e6ba21971261dc6 with your account address.

Aptos account