Skip to main content

SDK for ETH Wallet(以太坊钱包)

Project description

基于以太坊的LDG币钱包

实现ERC-20代币LDG钱包功能:创建地址,代币交易,查询余额。

安装

pip install web3 pip install ethwallet-sdk

导入

from ethwlt_sdk import wallet

创建新账户

wallet.newaccount()-->[privateKey,address]

导入旧账户

wallet.inputaccount(privateKey)-->address

查询余额

wallet.get_balance(address)-->account

转账

wallet.transfer(privateKey,account_self,to_add,value)-->blockNumber

注意

本币在ropsten测试网络上

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ethwallet-sdk, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size ethwallet--sdk-0.0.2.tar.gz (2.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page