0.0.1-beta.0 • Published 3 years ago
@passage-protocol/tollbooth-core v0.0.1-beta.0
Tollbooth core
This repository contains the core contracts for the Tollbooth membership framework by Passage protocol
Documentation for the Tollbooth membership framework can be found here
Install
To consume the Tollbooth core contracts or ABIs from your own project
npm install @passage/tollbooth-coreor
yarn add @passage/tollbooth-coreDevelopment
To install packages and dependencies for your development environment
yarn installTest
To run all tests
yarn testTo run some subset of tests
yarn hardhat compile && yarn hardhat test --grep registerTo calculate code coverage
yarn coverageDeploy
For full deployment documentation see the wiki page here
Copy .env.template to .env and define fields as required
To deploy a new membership contract to testnet
yarn hardhat run scripts/deploy_membership.ts --network goerliTo verify contract source code
yarn hardhat verify --contract contracts/Membership.sol:Membership --network goerli 0xdeploymentaddress "Highly Exclusive" 0xmetadataprovider ""0.0.1-beta.0
3 years ago