Skip to main content

Preparing your assets

Example NFT Collection​

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

Assets/imagesAssets/metadata
0.png0.json
1.png1.json
2.png2.json
3.png3.json
4.png4.json
5.png5.json
6.png6.json
7.png7.json
8.png8.json
9.png9.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

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

note

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"
}
]
}