README
Protocols
Smart contracts for the Celo protocols, including identity and stability.
Usage
- Target Release
RELEASE="celo-core-contracts-v2.mainnet"
URL="https://gitpkg.now.sh/celo-org/celo-monorepo/packages/protocol/contracts?$RELEASE"
- Installation
npm install $URL
or
yarn add $URL
- Development
Solidity
pragma solidity ^0.5.13;
import '@celo/contracts/common/UsingRegistry.sol';
contract Example is UsingRegistry {
constructor() public {
require(getAccounts().createAccount());
}
}
License
The contents of this package are licensed under the terms of the GNU Lesser Public License V3