Git Product home page Git Product logo

hydruscoin's Introduction

Hydruscoin

一个简单支持UTXO模型和Account模型的数字货币,基于Hyperledger Chaincode。主要用于普及智能合约,非商用。

注:适用于Fabric V0.6

目录

  • coin: 货币代码,诸如coinbase,转账等功能
  • client: 简单的一些tx生成函数

实现功能

  • coinbase交易
  • 数字货币转账
  • 账户查询
  • 交易查询
  • 数字货币简单统计

代码调试

请参考Hyperledger Chaincode开发调试教程

代码解读

请参考简易UTXO与账户模型的数字资产智能合约Hydruscoin

代码贡献

欢迎大家提pr丰富hydruscoin的功能

Change Log

2016/10/28

  • 删除查询APIquery_addr,统一使用query_addrs
  • 增加账号注册API,现阶段只接受唯一参数,即钱包地址

2016/11/02

  • 交易输入TX_IN新增地址字段,交易发起者可以使用其他地址的UTXO
  • coinbase交易默认交易输入为空

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

hydruscoin's People

Contributors

mintzhao avatar

Stargazers

Mohammed A.Baqi avatar  avatar  avatar Mohit Garg avatar  avatar Zhao.Xing avatar rtee+ avatar

Watchers

James Cloos avatar Shangyuan Guo avatar  avatar  avatar

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.