Skip to content
This repository was archived by the owner on May 1, 2023. It is now read-only.

Configuration

Ben Guidarelli edited this page Aug 15, 2021 · 2 revisions
{
    "domain": "YOUR DOMAIN", // This is the domain name of your website
    "algod":{ // These are settings specific to the Algorand API service you're using
        "server":"https://testnet.algoexplorerapi.io",
        "port":0,
        "token":"",
        "network": "TestNet"
    },
    "indexer": { // These are the settings specific to the Algorand Indexer service you're using
        "server":"https://testnet.algoexplorerapi.io/idx2",
        "port":0,
        "token":""
    },
    "ipfs":{ 
        "display":"https://cloudflare-ipfs.com/ipfs/", // This is the gateway URL used to retrieve images and metadata
        "token":"YOUR nft.storage TOKEN"  // This is the token for the ipfs uploading service (using nft.storage for now)
    },
    "explorer":"algoscan.app",  // This is the URL to the blockchain explorer you'd like to use for linking out to
    "application": {
        "admin_addr": "YOUR ADDRESS", // This is the address that will receive fees and be the creator of the application
        "app_id": 0,  // The ID of the application, the create process will set this, just copy it from there
        "price_id": 0, // The ASA ID of the price token, the create processes will set this, just copy it from there 
        "owner_addr": "", // The Address of the owner escrow account, the create processes will set this, just copy it from there 
        "name": "YOUR APP NAME", // Just the name of your app
        "unit": "YOUR APP SHORT NAME (3 char)", // Short name
        "fee_amt": 10000, // How much you want to collect for a successful sale
        "tags": [ // These are populated in the admin page, tags tab, copy and paste them into here after you've created them
        ],
        "listing_hash": "", // This is the base64 encoded hash of a blank listing contract, the create processes will set this, just copy it from there 
        "seed_amt": 5000000, // Number of microalgos to send to the listing address to cover transaction fees and minimum balance for holding assets, whatever is remaining goes back to the listing creator on close or purchase
        "max_price": 10000000000 // The max allowable price for a listing, just to make sure folks dont set the price to 2^64 and take all the price tokens.
    },
    "contracts":{ 
        "approval":"platform-approval.teal",
        "clear":"platform-clear.teal",
        "listing":"listing.teal",
        "listing-positions":"listing.tmpl.teal.json"
    },
    "dev":{ 
        "debug_txns":false, // Automatically downloads transactions prior to sending them to the network 
    }
}

Clone this wiki locally