Skip to content

Instantly share code, notes, and snippets.

@Gajche
Gajche / gist:9d7cdcffcd907187d85946aed1e9c946
Created January 7, 2022 18:51
RARITY INFO (npm run rarity)
Trait type: Background
{ trait: 'biserno', chance: '100', occurrence: '3% out of 100%' }
{ trait: 'bluepurple', chance: '100', occurrence: '3% out of 100%' }
{ trait: 'blupinkdark', chance: '100', occurrence: '3% out of 100%' }
{
trait: 'crvenobordolila',
chance: '100',
occurrence: '3% out of 100%'
}
{
const fetch = require("node-fetch");
const path = require("path");
const isLocal = typeof process.pkg === "undefined";
const basePath = isLocal ? process.cwd() : path.dirname(process.execPath);
const fs = require("fs");
const AUTH = "your api here";
const CONTRACT_ADDRESS = "your contract address here";
const MINT_TO_ADDRESS = "you walllet address here";
const CHAIN = "polygon";
const fetch = require("node-fetch");
const path = require("path");
const isLocal = typeof process.pkg === "undefined";
const basePath = isLocal ? process.cwd() : path.dirname(process.execPath);
const fs = require("fs");
const AUTH = "fbdd2464-65c4-4d05-901d-5c7b36dcba98";
const CONTRACT_ADDRESS = "0x19eb8a3ecd7e7e377e07de339c03c61931cfe543";
const MINT_TO_ADDRESS = "0xBF3E3AC6D97ca151953F709Cfc2c4Ff6D7Ad2b38";
const CHAIN = "polygon";