Git Product home page Git Product logo

tron's Introduction

波场钱包代理

  1. 采用GPRC协议调用超级节点服务
  2. 使用golang开发,目前满足trx、trc10和trc20转账以及交易记录扫描,归集,地址生成功能
  3. 每一种合约开启json-rpc端口兼容比特币rpc接口
  4. 钱包私钥全部加密保存,密钥保存在sqlite数据库,所以必须定期备份
  5. 启动配置文件为当前目录下tron.toml文件,具体示例请查看文件参数

注:clone之后需更新子模块
git submodule update --init --recursive
为了安全,需要自己配置主钱包地址,加密私钥等相关参数

合约发布网站

https://cn.developers.tron.network/docs/issuing-trc20-tokens-tutorial

change log

生成相关配置

# 主私钥
go test -timeout 30s -run ^TestCreatAddress$ tron/trx -v
# === RUN   TestCreatAddress
#     client_test.go:xx: 9f974ecb-839c-483f-9f36-f0e730b51658
#     client_test.go:xx: TL4kyKaXJ9gThBhHtyMSN4ZMKSaD5cZUGL
#     client_test.go:xx: PxfYdiHPZ6SloTlLBTEKmCHbB/YDOtD44KWIm7eZELKhjOu335WTq/eethyym3ks2KW2ZUGLGJbmOOcOMBaBianlmpg2SUbhih9Yk1HKWgk=
# --- PASS: TestCreatAddress (0.00s)
# PASS
# ok      tron/trx        0.093s

# db 文件生成
go test -timeout 30s -run ^TestDB$ tron/trx -v
# === RUN   TestDB
# --- PASS: TestDB (0.06s)
# PASS
# ok      tron/trx        0.180s

tron's People

Contributors

smirkcat avatar dependabot[bot] 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.