🦁
Art Factory
  • Overview
  • Quick Start
  • NFT Formatting
  • Admin
    • Deploy
    • Initialize
    • Whitelist
    • Add NFT
  • Updating the Leo Program
  • Program Walkthrough
    • v3
    • v4
  • Authorization
Powered by GitBook
On this page

Updating the Leo Program

PreviousAdd NFTNextProgram Walkthrough

Last updated 1 year ago

You can arbitrarily change the on-chain program to suit your needs. Setup Instructions

  1. Install Leo. You can find the .

  2. Change .env.local.example to .env.local and add your Private_Key. It must match your ADDRESS in the .env

  3. Edit the

  4. Once you've changed the program to suit your needs. Run

yarn program

This command will compile the leo program and then update the file. This is the actual file that's used within the Deploy page to create the on-chain deployment.

In future updates of the SDK, we hope to remove the Leo dependency as it's only purpose right now is to ensure that we can compile from Leo code to Aleo instructions.

setup instructions here
program here
nft-program.ts