koda-contract-tools

KODA Smart Contract tools and Utils


Keywords
koda, knownorigin, smartcontract
License
MIT
Install
npm install koda-contract-tools@1.15.8

Documentation

koda-contract-tools

NPM Module containing the following

  • Truffle Contract Schemas Github

    • KODA V1 ABI
    • KODA V2 ABI
    • Auction V1 ABI
    • ArtistControls V1 ABI
    • ArtistControls V2 ABI
  • ABI definitions for

    • KODA V1 ABI
    • KODA V2 ABI
    • Auction V1 ABI
    • ArtistControls V1 ABI
    • ArtistControls V2 ABI
  • A set of common network lookup tools

Contract Lookup

  • getContractForNetworkAndAddress(network, address)

Address lookup tools

  • getNetwork(network)
  • getKodaV1Address(network)
  • getKodaV2Address(network)
  • getAuctionV1Address(network)
  • getArtistControlsV1Address(network)
  • getArtistControlsV2Address(network)

Deployment block lookup tools

  • getKodaV1DeploymentBlock(network)
  • getKodaV2DeploymentBlock(network)
  • getAuctionV1DeploymentBlock(network)
  • getArtistsControlsV1DeploymentBlock(network)
  • getArtistsControlsV2DeploymentBlock(network)

Installation

npm install koda-contract-tools --save

Deploying new version

  • Bump version of packages.json
  • Commit changes
  • Run npm publish