Minimal ERC721 implementation for academic articles. Distribution of access control tokens from licensed holders.
├── Factory.sol - "Factory for deploying contracts"
├── MasterNFT.sol - "Main ERC721 storing data and representing ownership of article"
├── License.sol - "License for distributing access tokens"
├── AccessToken.sol - "Distributed access for academic articles and journals"
├── AuthorityModule.sol - "Authority for access tokens"
└── test
└── FactoryTest.t.sol
└── LicenseTest.t.sol
First run the command below to get foundryup
, the Foundry toolchain installer:
curl -L https://foundry.paradigm.xyz | bash
If you do not want to use the redirect, feel free to manually download the foundryup installation script from here.
Then, in a new terminal session or after reloading your PATH
, run it to get
the latest forge
and cast
binaries:
foundryup
Advanced ways to use foundryup
, and other documentation, can be found in the
foundryup package. Happy forging!
`npm install` or `yarn`
forge test -vv