Solidity Util Contracts
Last updated 2 months ago by felipeargento .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @cartesi/util 
SYNC missed versions from official npm registry.

:warning: The Cartesi team keeps working internally on the next version of this repository, following its regular development roadmap. Whenever there's a new version ready or important fix, these are published to the public source tree as new releases.


Basic solidity contracts and solidity libraries used the Cartesi on-chain code.

Packaged as npm and published at https://www.npmjs.com/package/@cartesi/util

The npm package contains deployment information of contracts to testnets (ropsten, kovan and rinkeby). In the future it may also include deployment to mainnet.

Getting Started

To use this package in another truffle project you must include as a dependency in package.json.

"dependencies": {
    "@cartesi/util": "<version>"

And in your solidity contract import it as:

import "@cartesi/util/contracts/Instantiator.sol";

You can also use the deployed contract:

const contract = require("@truffle/contract");
const BitsManipulationLibrary = contract(require("@cartesi/util/build/contracts/BitsManipulationLibrary.json"));
BitsManipulationLibrary.setNetwork(4); // for rinkeby


To get a list of all available npm targets run:

% npm run info


Thank you for your interest in Cartesi! Head over to our Contributing Guidelines for instructions on how to sign our Contributors Agreement and get started with Cartesi!

Please note we have a Code of Conduct, please follow it in all your interactions with the project.


The machine-solidity-step repository and all contributions are licensed under APACHE 2.0. Please review our LICENSE file.

Current Tags

  • 0.1.0-alpha.7                                ...           alpha (9 months ago)
  • 0.3.0                                ...           latest (2 months ago)

7 Versions

  • 0.3.0                                ...           2 months ago
  • 0.2.1                                ...           4 months ago
  • 0.2.0                                ...           5 months ago
  • 0.1.1                                ...           8 months ago
  • 0.1.0                                ...           8 months ago
  • 0.1.0-alpha.7                                ...           9 months ago
  • 0.1.0-alpha.6                                ...           9 months ago

Copyright 2014 - 2016 © taobao.org |