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
  1. Aptos
  2. candymachine

Preparing your assets

Example NFT Collection​

Create an Asset Folder and add Images and Metadata into it.

Assets/images
Assets/metadata

0.png

0.json

1.png

1.json

2.png

2.json

3.png

3.json

4.png

4.json

5.png

5.json

6.png

6.json

7.png

7.json

8.png

8.json

9.png

9.json

Upload it in arweave using arkb

Install arkb

npm install -g arkb

Upload your images to areweave.

arkb deploy ./Assets/images --use-bundler URL_OF_BUNDLR_NODE --wallet path/to/my/wallet.json

For more detail review - https://docs.arweave.org/developers/tools/textury-arkb

Now you will see a link like https://arweave.net/Your_ID

copy your arweave url and your json file must have image parameter with https://arweave.net/Your_ID/index_of_image.json

https://arweave.net/Your_ID/ is your baseuri that you need to add in config.json

Example:

https://arweave.net/Your_ID/0.png Example of json file

{
  "name": "Mokshya Protocol #0",
  "description": "Building Open Source Solutions for Aptos Blockchain.",
  "image": "https://arweave.net/your_id/0.png",
  "external_url": "https://mokshya.io",
  "attributes": [
    {
      "trait_type": "number",
      "value": "0"
    }
  ]
}

PreviousInstallationNextPrepare config.json

Last updated 2 years ago