当前位置: 首页 > 软件库 > Web3 > 区块链 >

bitcoin-s

Bitcoin Implementation in Scala
授权协议 MIT License
开发语言
所属分类 Web3、 区块链
软件类型 开源软件
地区 不详
投 递 者 上官树
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Build Status Gitter chat

Feature-rich toolkit for making Bitcoin and Lightning applications on the JVM.

For a complete guide on how to get started with Bitcoin-S, see our website at Bitcoin-S.org.

Contents

What is bitcoin-s?

Bitcoin-S is a loosely coupled set of cryptocurrency libraries for the JVM. They work well together, but also can be used independently.

This project's goal is NOT to be a full node implementation, rather a set of scalable cryptocurrency libraries that use industry standard tools (rather than esoteric tech often found in cryptocurrency) where possible to make the lives of professional software engineers, security engineers, devops engineers and accountants easier.

We are rapidly iterating on development with the goal of getting to a set of stable APIs that only change when the underlying bitcoin protocol changes.

If you are a professional working a cryptocurrency business and have feedback on how to make your lives easier, please reachout on slack or twitter!

Is bitcoin-s production ready?

Please see our latest releases here.

Warning! While we try out best to test every pull request in master, this branch may not be stable! Bad things can happen to your node! Beware!

Can I trust the code in bitcoin-s?

Please audit and verify any and all code in this toolkit for its suitability and validity. This includes reviewing any and all dependencies.

Getting started (non-developers)

For a complete guide on how to get started with bitcoin-s, see our Getting started.

This link is intended for individuals who are just interested in installing bitcoin-s rather than developing. If you are interested in development, see Getting setup below.

Getting setup (developers)

For a complete guide on how to get setup with bitcoin-s, see our Getting setup.

This link is intended for setting up development of bitcoin-s. If you want to just install bitcoin-s rather than develop, see Getting started above.

Adding bitcoin-s to your library

The latest release of bitcoin-s is 1.7.0, here is how you can use the dependencies in your projects:

libraryDependencies += "org.bitcoin-s" % "bitcoin-s-secp256k1jni" % "1.7.0"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-core" % "1.7.0"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-crypto" % "1.7.0"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-chain" % "1.7.0"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-dlc-oracle" % "1.7.0"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-oracle-explorer-client" % "1.7.0"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-app-commons" % "1.7.0"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-db-commons" % "1.7.0"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-fee-provider" % "1.7.0"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-bitcoind-rpc" % "1.7.0"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-eclair-rpc" % "1.7.0"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-lnd-rpc" % "1.7.0"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-key-manager" % "1.7.0"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-node" % "1.7.0"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-dlc-node" % "1.7.0"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-wallet" % "1.7.0"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-dlc-wallet" % "1.7.0"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-testkit-core" % "1.7.0"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-testkit" % "1.7.0"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-zmq" % "1.7.0"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-tor" % "1.7.0"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-cli" % "1.7.0"

Docker images

We publish docker images to docker hub on every PR merge and tag on github.You can obtain the images for both the app server and oracle server on thesedocker hub repos

bitcoin-s docker hub repo

oracle-server docker hub repo

Contributing

Bitcoin-S is an open source project where anyone is welcome to contribute. All contributions are encouraged and appreciated, whether that is code, testing, documentation or something else entirely.

See here for more information.

Good first issues

Here is a list of good first issues that contain bugs which have a relatively limited scope. This is a great place to get started, gain experience, and get familiar with the bitcoin-s contribution process.

License

Bitcoin-s is MIT licensed, as found in the LICENSE file.

  • BitCoin 报文格式 分析比特币源码: Main.cpp ProcessMessage 处理不同类型的协议信息 chainParam.h protocol.h 一些报文的参数 COMMAND_SIZE=12, 报文头,数据包类型的ASCII表示形式,如果数据包内容是空的,用NULL填充 MESSAGE_SIZE_SIZE=sizeof(int), 数据内容的长度 CHECKSUM_SIZE=s

  • BitCoin全攻略二 我们看下刚刚写的代码 package main import "fmt" type Block struct { //1.前区块哈希值 PrevBlockHash []byte //2.当前区块的哈希 Hash []byte //3.数据 Data []byte } func NewBlock(data []byte, prevBl

  • BitCoin全攻略四 我们创建完了区块链 现在我们来写一个方法 往区块链里面添加区块 func (bc *BlockChain) AddBlock(data []byte){ //获取前一个区块 lastBlock := bc.Blocks[len(bc.Blocks) - 1] //获取前一个区块的hash值 prevHash := lastBlock.Hash

  • 蹭蹭热度,研究一下区块链和bitcoin,还是Linus的话: talk is cheap , show me the code 想要分析原理的话,推荐图书: 区块链原理、设计与应用 git bitcoin源码: git clone https://github.com/bitcoin/bitcoin.git 安装编译环境和依赖包: sudo apt-get install software

  • bitcoin bitcoin.conf rpcuser=bitcoinrpc rpcpassword=abc123 datadir=./ txindex=1 daemon=1 操作命令 启动命令 ./bitcoind -datadir=/root/Desktop/bitcoin/.bitcoin -conf=/root/Desktop/bitcoin/.bitcoin/bitcoin.conf

  • 9 Questions about bitcoin how send money to B from A online ? A digist signature with A’s private/secrect key(SK). B can valide the sign with A’s Public key (PK) - compute hash of received content as

  • BitCoin全攻略三 单个区块的代码已经差不多了 现在我们要创建多个区块 然后把一个个区块串联起来 形成 区块链 我们先来写一个结构体,表示区块链 然后里面就放的是区块数组 type BlockChain struct{ blocks []*Block } 然后我们写一个方法去创建区块链 func NewBlockChain() *BlockChain{ bc :

 相关资料
  • Bitcoin (比特币)是点对点(peer-to-peer)基于网络的匿名数字货币。点对点(peer-to-peer)的意思是指没有中央权威控制货币 的汇款通道。相反,这些货币转帐的任务是由网络节点进行的集体管理。匿名就意味着交易各方可以隐藏自己的真实身份。优势: 无需信托中间人,能够方便的进行互联网上的汇款。 第三方不能够控制或者阻止您的交易。 Bitcoin 交易几乎免费, 而信用卡的网上在

  • Bitcoin-Qt 是使用 Qt 开发的比特币客户端,目前该项目已经成为比特币官方的客户端,合并到比特币项目中,不再单独立项。

  • Bitcoin ETL Join Telegram Group Install Bitcoin ETL: pip install bitcoin-etl Export blocks and transactions (Schema, Reference): > bitcoinetl export_blocks_and_transactions --start-block 0 --end-block

  • BITCOIN WALLET Welcome to Bitcoin Wallet, a standalone Bitcoin payment app for your Android device! This project contains several sub-projects: wallet:The Android app itself. This is probably what you

  • Translations ���� ελληνικά | ���� Français | ���� 한국어 | ���� 普通話 | ���� 台灣話 | ���� Español | ���� Türkçe | ���� Deutsch | ���� Italiano | ���� हिन्दी | Arabic | ���� Português | ���� Русский язык | ��

  • The Parity Bitcoin client. Gitter Installing from source Installing the snap Running tests Going online Importing bitcoind database Command line interface JSON-RPC Logging Internal Documentation Proje

相关阅读

相关文章

相关问答

相关文档