@celo/contracts

13.0.0 • Public • Published

Celo core contracts

Smart contracts for the Celo protocol.

Usage

Installation

npm install @celo/contracts

or

yarn add @celo/contracts

In your Solidity contracts

pragma solidity ^0.5.13;

import '@celo/contracts/common/UsingRegistryV2.sol';

contract Example is UsingRegistryV2 {
  constructor() public {
    require(getAccounts().createAccount());
  }
}

License

The contents of this package are licensed under the terms of the GNU Lesser Public License V3

Readme

Keywords

none

Package Sidebar

Install

npm i @celo/contracts

Weekly Downloads

138

Version

13.0.0

License

LGPL-3.0

Unpacked Size

906 kB

Total Files

202

Last publish

Collaborators

  • app-tooling