payment-api

所属分类:区块链开发
开发工具:Java
文件大小:830KB
下载次数:0
上传日期:2016-02-09 13:15:18
上 传 者sh-1993
说明:  去中心化Restful Api管理智能合约和小额支付
(Decentralized Restful Api To Manage Smart Contracts And Micro-payments)

文件列表:
.mailmap (155, 2016-02-09)
LICENSE.txt (1059, 2016-02-09)
YD-Cookbook-291115-1530-187.pdf (187065, 2016-02-09)
pom.xml (10557, 2016-02-09)
yope-payment-blockchain-j (0, 2016-02-09)
yope-payment-blockchain-j\pom.xml (1560, 2016-02-09)
yope-payment-blockchain-j\src (0, 2016-02-09)
yope-payment-blockchain-j\src\main (0, 2016-02-09)
yope-payment-blockchain-j\src\main\java (0, 2016-02-09)
yope-payment-blockchain-j\src\main\java\io (0, 2016-02-09)
yope-payment-blockchain-j\src\main\java\io\yope (0, 2016-02-09)
yope-payment-blockchain-j\src\main\java\io\yope\payment (0, 2016-02-09)
yope-payment-blockchain-j\src\main\java\io\yope\payment\blockchain (0, 2016-02-09)
yope-payment-blockchain-j\src\main\java\io\yope\payment\blockchain\bitcoinj (0, 2016-02-09)
yope-payment-blockchain-j\src\main\java\io\yope\payment\blockchain\bitcoinj\BitcoinjBlockchainServiceImpl.java (11767, 2016-02-09)
yope-payment-blockchain-j\src\main\java\io\yope\payment\blockchain\bitcoinj\ConfidenceListener.java (2178, 2016-02-09)
yope-payment-blockchain-j\src\main\java\io\yope\payment\blockchain\bitcoinj\Constants.java (331, 2016-02-09)
yope-payment-blockchain-j\src\main\java\io\yope\payment\blockchain\bitcoinj\WalletEventListener.java (5984, 2016-02-09)
yope-payment-blockchain-j\src\main\java\io\yope\payment\configuration (0, 2016-02-09)
yope-payment-blockchain-j\src\main\java\io\yope\payment\configuration\BitcoinjConfiguration.java (3124, 2016-02-09)
yope-payment-blockchain-j\src\main\java\io\yope\payment\configuration\BitcoinjMainNetConfiguration.java (505, 2016-02-09)
yope-payment-blockchain-j\src\main\java\io\yope\payment\configuration\BitcoinjTestNetConfiguration.java (453, 2016-02-09)
yope-payment-blockchain-j\src\test (0, 2016-02-09)
yope-payment-blockchain-j\src\test\java (0, 2016-02-09)
yope-payment-blockchain-j\src\test\java\io (0, 2016-02-09)
yope-payment-blockchain-j\src\test\java\io\yope (0, 2016-02-09)
yope-payment-blockchain-j\src\test\java\io\yope\payment (0, 2016-02-09)
yope-payment-blockchain-j\src\test\java\io\yope\payment\blockchain (0, 2016-02-09)
yope-payment-blockchain-j\src\test\java\io\yope\payment\blockchain\bitcoinj (0, 2016-02-09)
yope-payment-blockchain-j\src\test\java\io\yope\payment\blockchain\bitcoinj\BitcoinjBlockchainServiceImplTest.java (5290, 2016-02-09)
yope-payment-blockchain-j\src\test\resources (0, 2016-02-09)
yope-payment-blockchain-j\src\test\resources\content.cnt (31152, 2016-02-09)
yope-payment-blockchain-j\src\test\resources\content1.cnt (31152, 2016-02-09)
yope-payment-blockchain (0, 2016-02-09)
yope-payment-blockchain\pom.xml (1448, 2016-02-09)
yope-payment-blockchain\src (0, 2016-02-09)
... ...

# Yope API * It is currency-agnostic and blockchain-agnostic. * It exposes a RESTful API which can be consumed by any client program. Read our documentation here: developer.yope.com * Transactions happen off-chain so there is no need to wait for confirmations and there is no limit to the number of transactions or internal wallets that a user can have. Writing to the blockchain occurs only when the user deposits or withdraws their Yope balance, while internal transactions between Yope wallets happen at the speed of the internet, rather than the speed of the blockchain. * Yope API authentication is performed through the blockchain, given that accounts, profiles and roles are registered in the blockchain, and as such are totally decentralised (coming soon) * It can be locally installed in a matter of seconds, thanks to an up-to-date Docker image stored into the Hub registry (coming soon) * Dockerisation makes it easy for any developer to be up and running writing smart contracts within 10 minutes, ready for integration into the Ethereum blockchain (coming soon) * The Yope API is perfectly designed to buy or sell virtual goods and to register them as smart contracts. ## Minimum prerequisites * java 8 * Apache Maven v.3.0.3 * Neo4j v.2.3.0 * Redis v.2.8.12 ## System requirements * at least 2GB RAM ## How to run it locally * clone the project and build it from the root executing `mvn clean install` command * run Neo4j executing `neo4j start` command and change the password in `localhost:7474` using the same `neo4jPassword` defined in `yope-payment-rest/application.yml` * run Redis executing `redis-server` command * run the project executing `mvn spring-boot:run` command from the `yope-payment-rest` path * test it executing the command `curl --include \ --request POST \ --header "Content-Type: application/json" \ --data-binary "{ \"email\": \"sellerB@yope.io\", \"firstName\": \"John\", \"lastName\": \"Bull\", \"name\": \"VEGA\", \"password\": \"pwd123\" }" \ 'http://localhost:8080/accounts'`. * the response should be like `{ "header" : { "success" : true, "status" : 200 }, "body" : { "type" : "SELLER", "id" : 37, "email" : "sellerB@yope.io", "firstName" : "John", "lastName" : "Bull", "status" : "ACTIVE", "registrationDate" : 1451239489421 } }` More infos: http://developer.yope.io Documentation: http://docs.yope.apiary.io Cookbook: https://github.com/yopeio/payment-api/blob/master/YD-Cookbook-291115-1530-187.pdf

近期下载者

相关文件


收藏者