2. Philosophy
Faster SweeterSimpler
Minimalistic, a couple of helpers,
matchers and tasks rather than a
framework,
few dependencies.
Faster contract compilation.
Faster test execution.
Nice syntax, fast,
easy to extend.
3. Basic features
Create a mock provider
provider = createMockProvider();
[wallet, walletTo] = getWallets(provider);
Get example wallets
token = await deployContract(wallet, BasicTokenMock, [wallet.address, 1000]);
Deploy contract
Linking
myLibrary = await deployContract(wallet, MyLibrary, []);
link(LibraryConsumer, 'path/to/file/MyLibrary.sol/MyLibrary', myLibrary.address);
libraryConsumer = await deployContract(wallet, LibraryConsumer, []);
npm i open-zeppelin
Import contracts from nom library
import "openzeppelin-solidity/contracts/math/SafeMath.sol";