Skip to content

blockchain wallet(In development, not available for production)

Notifications You must be signed in to change notification settings

tor-web3/django-wallet

 
 

Repository files navigation

简介

Django 区块链钱包应用

应用

pip install Django>=4.0.4,<5
# 构建本地数据库
python manage.py migrate
# 创建超级用户
python manage.py createsuperuser
# 加载基础区块链数据
python manage.py loaddata wallet.json
# 创建钱包地址
python manage.py create_deposit_address -u [username or uid]

检测充值情况

# 创建钱包地址
python manage.py create_deposit_address -u [username or uid]
# 检测地址是否发生余额变动
python manage.py check_address_status -c [eth or trx]
# 检测地址是否发生充值记录
python manage.py check_address_deposit -c [eth or trx]

更新地址

接口: /wallet/address/{address}

{
    "results": "success"
}
{
    "results": [
        "State matching query does not exist."
    ]
}

About

blockchain wallet(In development, not available for production)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.0%
  • Solidity 2.9%
  • Other 0.1%