Skip to main content



This package contains 3 core folders:

  • contracts which holds all the Solidity contracts for Paima
  • abi which holds the ABI for all the contracts
  • plugin which contains a Hardhat plugin containing Hardhat tasks to easily interact with these contracts from the command line

Goals in designing this package

Users can:

  • Access utility functions for Paima contracts (ex: withdraw from NFT sale contract)
  • Use Paima Solidity contracts from their projects
  • Use Paima ABIs from their projects (ex: can easily generate types for the contracts)
  • Pin a specific version of the contracts so that the deployment is reproducible
  • Combine the setup with other Hardhat plugins & tools