Skip to content

The smart contracts for allowing anonymous, scalable API and Infrastructure access on-chain

License

Notifications You must be signed in to change notification settings

credmark/protocol-access-contracts

Repository files navigation

protocol-access-contracts

The smart contracts for allowing anonymous, scalable API and Infrastructure access on-chain

Deployed addresses

Check deploys.md for addresses of deployed contracts

Environment

Environment variables can be passed via .env file (dotenv) or by command line. Hardhat requires the following env variables:

  • INFURA_API_KEY (mandatory)
  • ETHERSCAN_API_KEY (mandatory when verifying contracts)

One of the following is required when deploying contracts

  • ACCOUNT_MNEMONIC
  • ACCOUNT_PRIVATE_KEY

Scripts

  • npm run compile -> Compiles all contracts to generates ABIs and typescript types
  • npm test -> Runs all tests in test/ directory
  • npm run test:gas -> Runs all tests in test/ directory and displays gas usage

About

The smart contracts for allowing anonymous, scalable API and Infrastructure access on-chain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published