
Security News
VulnCon 2025: NVD Scraps Industry Consortium Plan, Raising Questions About Reform
At VulnCon 2025, NIST scrapped its NVD consortium plans, admitted it can't keep up with CVEs, and outlined automation efforts amid a mounting backlog.
@3web/contracts
Advanced tools
NFTLabs lets anyone create and sell packs filled with rewards. A pack can be opened only once. On opening a pack, a reward from the pack is distributed to the pack opener.
NFTLabs lets anyone create and sell packs filled with rewards. A pack can be opened only once. On opening a pack, a reward from the pack is distributed to the pack opener.
The contracts in the /contracts
directory are deployed on the following networks.
Registry.sol
: 0x5665e52Ed893891F44e0fFE67c40F29074d81a6B
ProtocolControl.sol
: 0xea68422Cee517E2D5a702fA43cd891a8e3EDd7d7
Market.sol
: 0x005b59d38EB1b76412bCe0BA37c45128EEbda362
AccessNFT.sol
: 0xE8cBcE800dcc6C2957626732e808E1833052DCEE
Forwarder.sol
: 0x4B649d0f9E8B00Df56E339C09939A8A15e55f264
MintableERC20Permit.sol
: 0xCe8271Ad06e8CB0EE47d1486947313b7c1290D14Clone the project
git clone https://github.com/nftlabs/pack-protocol.git
Install dependencies
yarn install
Add a .env
file to the project's root directory. Update the .env
file with the values mentioned in the provided .env.example
file.
Run tests
npx hardhat test
To use scripts, update the transaction parameters in the particular script (e.g. packId
in scripts/txs/openPack.ts
) and run e.g -
yarn run openPack --network {network name}
To deploy this project on a given network (e.g. mumbai) update the hardhat.config.ts
file with the following
// ...
if (testPrivateKey) {
config.networks = {
mumbai: createTestnetConfig("mumbai"),
};
}
To deploy the entire protocol, run
yarn run deploy-protocol --network {network name}
To deploy Pack.sol
and Market.sol
as individual modules, run e.g.
yarn run deploy-pack --network {network name}
Finally, update the README.md
files with the new addresses, which can be found in utils/addresses.json
.
To verify the entire protocol, run
yarn run verify-protocol --network {network name}
To verify individual modules like Pack.sol
, run
yarn run verify-pack --network {network name}
If you have any feedback, please reach out to us at support@nftlabs.co.
FAQs
NFTLabs lets anyone create and sell packs filled with rewards. A pack can be opened only once. On opening a pack, a reward from the pack is distributed to the pack opener.
The npm package @3web/contracts receives a total of 0 weekly downloads. As such, @3web/contracts popularity was classified as not popular.
We found that @3web/contracts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
At VulnCon 2025, NIST scrapped its NVD consortium plans, admitted it can't keep up with CVEs, and outlined automation efforts amid a mounting backlog.
Product
We redesigned our GitHub PR comments to deliver clear, actionable security insights without adding noise to your workflow.
Product
Our redesigned Repositories page adds alert severity, filtering, and tabs for faster triage and clearer insights across all your projects.