Code Monkey home page Code Monkey logo

did-solidity's Introduction

DID-solidity

Specification

Spec

Design and Interface Document

We offer versions in two language:

中文文档

接口文档

设计文档

English Document

interface document

design document

Implementation

Ropsten

EternalStorageProxy: 0x9fF365Eb96B2E1E6F968947F56275D2bBe50F06e

DIDContract: 0x55DE116e54220a243d2e77cEaC78B5F2B3F7f73c

Ethereum

EternalStorageProxy: 0xBc11091d6203500C480f0305140c687aB52b224B

DIDContract: 0x5409Ff9585C9C942389f4f84EE4dc28AE2F361f1

StorageUtils: 0x49831fD1B9753b630A5b220656Dd42D6CD7aE8F1

IterableMapping: 0xeF40fd44b78775Df6FB0b19eb680475Cf2d239Ea

ZeroCopySource: 0xB51D7A841911461d4AE97A49DE78BE086A71a724

ZeroCopySink: 0x252a7aa203A6Df2F7781A124CB95C27aaE4F286C

KeyUtils: 0x22AdA8420468Ea3b3B39B87CDa5742B183c7e28b

DidUtils: 0xE21b6194903282772BCF40FEf6848F28F50B51EE

BytesUtils: 0x5E5003e1B658A9c37660F4E6a730833b8A433047

Gas Consumed

Note: It's just an estimate because it comes from unit test.

name gas
addKey 555392
setAuthKey 191619
deactivateAuthKey 174081
addNewAuthKey 415953
addContext 295411
removeContext 125832
addService 238210
updateService 138008
removeService 127017
deactivateKey 174061
deactivateID 153470
addController 382943
addNewAuthKeyByController 580692
setAuthKeyByController 271635
deactivateAuthKeyByController 269118
addAddr 382321
setAuthAddr 176123
deactivateAuthAddr 165259
deactivateAddr 169394
addNewAuthAddr 388968
deactivateAuthAddr 169481
addNewAuthAddrByController 537963
setAuthAddrByController 267114
deactivateAuthAddrByController 264576

TODO

  1. add more unit test;

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.