• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

input-output-hk/rscoin-haskell: Haskell implementation of RSCoin

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

input-output-hk/rscoin-haskell

开源软件地址(OpenSource Url):

https://github.com/input-output-hk/rscoin-haskell

开源编程语言(OpenSource Language):

Haskell 75.2%

开源软件介绍(OpenSource Introduction):

RSCoin: A scalable distributed cryptographic currency framework

RSCoin proposes¹ a framework to implement centrally banked monetary systems based on cryptographic methods in such way that it is possible for a system which uses RSCoin framework to meet every of the following criteria:

  1. System can handle massive amount of users and scales well;
  2. Transaction times are comparable to those of MasterCard and other payment systems that issue plastic cards;
  3. The system is auditable and transparent for all the users;
  4. The system allows rapid payments in which instruments are sent between two or more commercial banks or other payment systems, which don't have a partnership agreement. It is so because compliance is ensured by protocol and no direct communication between the systems of those banks or payment systems is required.
  5. For central banks and other possible governors of monetary supply, RSCoin provides a way to focus on this, off-loading transaction handling to commercial banks and other governed entities
  6. With a simple extension, RSCoin provides a way to perform extremely fast international transactions with no need for manual work and correspondent banks;.

This repository

This repository is the first full implementation of RSCoin framework, as well as its application in form of working deployable system. In this implementation authors tried to follow paper by Dr. Danezis and Dr. Meiklejohn as close as possible.

Platform support

At the moment, the only supported platform is Linux. Mac OS X isn't officially supported, but it should be possible to deploy and run RSCoin on Mac OS X the same way as it is done on Linux.

Windows will be supported at some point, but for now we don't have a milestone for that.

Installation

At the moment, RSCoin has binary distribution served from our servers through Nix² package manager³. To perform automatic installation, please run the script which you can find in this repository under admin/install.sh.

To build from source, clone this repository, navigate to the directory into which the project was cloned and run stack build there.

To build with web frontend support run stack build --flag rscoin:befrontend. To build with gui support run stack build --flag rscoin:gtkgui.

Running

To understand how to run central bank, mintettes and user nodes, please refer to admin/demo script. It is the simplest script which runs just two mintettes, central bank and allows you to perform transactions in bank-mode. In order to get a more sophisticated layout with more than one user and nine mintettes, please refer to script admin/demo9.

We also have testing and benchmarking.

# Full tests, run 3 times
stack test rscoin --test-arguments '--match "Test.RSCoin.Full" -a 3'
# All other tests
stack test rscoin --test-arguments '--skip "Test.RSCoin.Full"'
# And that's how to run bench:
stack bench rscoin:rscoin-bench-local --benchmark-arguments "--users 2 --mintettes 1"

References

¹ — G. Danezis and S. Meiklejohn, “Centrally Banked Cryptocurrencies

² — E. Dolstra et al, “Nix: A Safe and Policy-Free System for Software Deployment

³ — NixOS Foundation, Nix Package Manager




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap