Smart contracts for the Celo protocol.
npm install @celo/contracts
or
yarn add @celo/contracts
pragma solidity ^0.5.13;
import '@celo/contracts/common/UsingRegistryV2.sol';
contract Example is UsingRegistryV2 {
constructor() public {
require(getAccounts().createAccount());
}
}
The contents of this package are licensed under the terms of the GNU Lesser Public License V3