当前位置: 首页 > news >正文

比特币通用API服务

Bitcoin 通用API服务

exlectrs:

  • API后台服务(Rust语言编写) https://github.com/Blockstream/electrs.git

  • 使用electr作为后台的区块链浏览器:https://github.com/Blockstream/esplora.git

https://github.com/Blockstream/electrs

https://github.com/romanz/electrs/blob/master/doc/usage.md

## btcapiserver

  • https://github.com/bitaps-com/btcapiserver.git
  • https://github.com/bitaps-com/pybtc
  • https://github.com/bitaps-com/aiojsonrpc

bitcores

https://github.com/bitpay/bitcore/

部署步骤:

  • 服务器配置: 8 核, 16G, 1TB+ SSD

  • 比特币全节点(或者可靠的peer节点)

  • 安装mongodb 3.4 及以上

    修改 /etc/mongo.conf , 设置数据存储路径, 将SSD挂在到 对应的路径下

    storage:dbPath: /data1/mongojournal:enabled: truenet:port: 27017bindIp: 0.0.0.0 
    
  • gcc 和 g++

  • CentOS 7

  • node: v10.21.0

  • bitcore version: master (commit: 734107b)

git clone https://github.com/bitpay/bitcore.gitnpm cache clean --force
rm -rf node_modules
rm -rf package-lock.json#使用 cnpm 替换 npmnpm config set registry https://registry.npm.taobao.orgnpm install -g cnpm --registry=https://registry.npm.taobao.orgcnpm install #如果报警告: eslint@^4.9.0 is not installed , 安装一下  eslint@4.9.0cnpm install cnpm install eslint@4.9.0然后运行cnpm  run node #可以启动浏览器
NETWORK=mainnet CHAIN=BTC cnpm run insight

Bitcoin相关库

Python

  • https://github.com/richardkiss/pycoin
  • https://github.com/petertodd/python-bitcoinlib
  • https://github.com/chainside/btcpy
  • https://github.com/1200wd/bitcoinlib.git
http://www.lryc.cn/news/374039.html

相关文章:

  • Spock mock私有方法
  • 网络协议四
  • 大数据入门实践一:mac安装Hadoop,Hbase,FLume
  • openGauss 6.0.0 一主二备集群安装及使用zcbus实现Oracle到openGauss的数据同步
  • 0118__C语言——float.h文件
  • settings和toolchains.xml 区别用法配置
  • leetcode打卡#day43 携带研究材料(第六期模拟笔试)、416. 分割等和子集
  • MPLS的配置
  • 【机器学习】机器学习与教育科技在个性化教学中的融合应用与性能优化新探索
  • C++:十大排序
  • Python武器库开发-武器库篇之Mongodb未授权漏洞扫描器(五十六)
  • 【论文速读,找找启发点】2024/6/16
  • canal监控mysql变化
  • MySQLWorkbench导出sql文件
  • 不一样的SYSTEM APP(SYSTEM flag和system_prop区别)
  • C++ 和 JAVA 位运算符
  • 项目进度和成本管理
  • Dorkish:一款针对OSINT和网络侦查任务的Chrome扩展
  • 树莓派4B_OpenCv学习笔记10:调整视频帧大小
  • MySQL 保姆级教程(五):数据过滤
  • 《全职猎人》
  • Linux各目录的作用
  • Windows Docker Desktop 安装 postgres
  • C# OpenCvSharp Mat操作-创建Mat-构造函数
  • 【制作100个unity游戏之29】使用unity复刻经典游戏《愤怒的小鸟》(完结,附带项目源码)
  • 稀疏矩阵是什么 如何求
  • 57.Linux/Unix 系统编程手册(下) -- SOCKET : Unix domain
  • Hvv--知攻善防应急响应靶机--Linux1
  • Solus Linux: 有自己的软件包管理器
  • Java GUI编程