Skip to content

observer0x/solidity-cborutils

 
 

Repository files navigation

solidity-cborutils CircleCI

Utilities for encoding CBOR data in solidity

Install

$ git clone https://github.com/smartcontractkit/solidity-cborutils.git
$ cd solidity-cborutils
$ npm install

Usage

The Buffer library is not intended to be moved to storage. In order to persist a Buffer in storage from memory, you must manually copy each of its attributes to storage, and back out when moving it back to memory.

Test

$ truffle test

About

A library for encoding CBOR in Solidity.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 77.8%
  • JavaScript 22.2%