1. Installation

Learn about installing CUBE3 RASP interfaces.

Foundry

For both upgradeable and non-upgradeable

forge install cube-web3/protection-solidity

Next, add a reference to CUBE3 contracts in your remappings.txt file:

@cube3/=lib/cube-web3/protection-solidity/src/

this installation step includes both non-upgradeable and upgradeable implementations.

If you are having issues with installation or imports, follow the Quick Start section.

Hardhat

For both upgradeable and non-upgradeable

npm i @cube3/protection-solidity

Last updated