Skip to content

yuhuajing/aptos-nft-random-mint

 
 

Repository files navigation

Random NFT mint smart contract for Aptos Blockchain. The smart contract is available in mainnet and testnet. For detail information please go to our docs

Mainnet contract : 0x25d440284ca6c13afadb0e83ff1bccacbaa75175551111d8b7cb5d2854e708f0

source_address Contract: 0x8d0bcecc1ad9da703b30c8067b76bd954edd95dfe9c5936d638bb65dd393a27e

admin_account : 0xf42c8f5e4c13b796b4c729bb78cc8e5632b00eb4eaba3857d2272af4bb49d4a3 (which is the address that initiates the source address)

  1. 部署合约
  2. 执行init_candy方法,创建资源账户和指定admin管理地址
  3. 用户执行mint操作,mint资源的限制条件都写在资源账户中。
  4. 合约更新可以通过更新资源账户地址,通过重新提供参数部署资源合约地址进行执行合约的更新操作

Quick Installation

yarn & cd packages/CLI & yarn & cd ../Candymachine-UI & yarn & ../../

Set up candy machine

ts-node packages/CLI/src/index.ts --create_candy 

Add whitelist Users

ts-node packages/CLI/src/index.ts --create_whitelist 

Mint NFT UI

  • copy the resource_account from config.json file.
cd package/Candymachine-UI & yarn
  • Add config.json resource_account to the env file in resource_account .
npm run dev  

About

Random NFT Mint smart contract for Aptos Blockchain.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 54.1%
  • Move 23.0%
  • Vue 13.4%
  • TypeScript 5.4%
  • HTML 2.5%
  • CSS 1.3%
  • Other 0.3%