It's my pleasure to present to you the python-peerplays library!
The sources can be found in the PBSA github repository: https://github.com/PBSA/python-peerplays
Documentation is available on: http://python.peerplays.com
Those that are familiar with piston-lib or pybitshares will find that it works the same way and is very similar to the other libraries, except that this time, it is built for peerplays.
Installation
pip3 install peerplays [--user]
or
git clone https://github.com/pbsa/python-peerplays
python3 python-peerplays/setup.py install --user
Command line tool
Similar to piston and uptick, peerplays comes with it's own command line tool that is installed together with the library right away. You can use it with
peerplays --help
To add your private keys, you can use
peerplays addkey
Current command line features:
$ peerplays --help
Usage: peerplays [OPTIONS] COMMAND [ARGS]...
Options:
--debug / --no-debug Enable/Disable Debugging (no-broadcasting
mode)
--node TEXT Websocket URL for public Peerplays API
(default: "wss://t.b.d./")
--rpcuser TEXT Websocket user if authentication is required
--rpcpassword TEXT Websocket password if authentication is
required
-d, --nobroadcast / --broadcast
Do not broadcast anything
-x, --unsigned / --signed Do not try to sign the transaction
-e, --expires INTEGER Expiration time in seconds (defaults to 30)
-v, --verbose INTEGER Verbosity (0-15)
--version Show version
--help Show this message and exit.
Commands:
addkey Add a private key to the wallet
allow Add a key/account to an account's permission
approvecommittee Approve committee member(s)
approveproposal Approve a proposal
approvewitness Approve witness(es)
balance Show Account balances
broadcast Broadcast a json-formatted transaction
changewalletpassphrase Change the wallet passphrase
configuration Show configuration variables
delkey Delete a private key from the wallet
disallow Remove a key/account from an account's...
disapprovecommittee Disapprove committee member(s)
disapproveproposal Disapprove a proposal
disapprovewitness Disapprove witness(es)
getkey Obtain private key in WIF format
history Show history of an account
info Obtain all kinds of information
listaccounts List accounts (for the connected network)
listkeys List all keys (for all networks)
newaccount Create a new account
permissions Show permissions of an account
randomwif Obtain a random private/public key pair
set Set configuration key/value pair
sign Sign a json-formatted transaction
transfer Transfer assets
upgrade Upgrade Account
Lack of public API servers
Due to current lack of public API servers, you will need to first point your library to an existing API:
peerplays set node ws://HOST:PORT
Notice
Please keep in mind that there is coding still in progress and you might encouter bugs here and there. For that reasons, the library carries the version number 0.1.x :)
Also I would like to let you know that the library supports features that are not yet part of the public blockchain but will be hard forked into it at a later point in time (when they are ready).
Now, get back to coding and have fun.
Thanks.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Great work!
Upvoted and followed you.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Resteemed and upvoted!
I'm running into a weird issue where it claims python-click isn't installed, but I've verified that it is and it's current :-/. But like you were saying, work in progress!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
make sure to use python3 and have python-click installed into python3
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
@xeroc Hey I sent the .0001 SBD as directed for reg. on the Steemian Forum but it is still asking for it -
Please send
Amount
0.001 SBD
Account
streemian
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Congratulations @chainsquad! You have completed some achievement on Steemit and have been rewarded with new badge(s) :
Award for the number of posts published
Click on any badge to view your own Board of Honnor on SteemitBoard.
For more information about SteemitBoard, click here
If you no longer want to receive notifications, reply to this comment with the word
STOP
By upvoting this notification, you can help all Steemit users. Learn how here!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Congratulations @chainsquad!
Your post was mentioned in my hit parade in the following category:
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Good job . It reminds me that I firstly use Python to finish my FInal year project , and it is still a nightmare for me:(
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
This is so important for those who work with python. Keep up the good work!!!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Great!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you for your contribution to this platform!
#steemboost
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
We almost there ) Nice work!!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Good post my friend... I like it, thanks for sharing this blog.
I have one post, Help me to steemit
https://steemit.com/introducemyself/@alga/hi-steemit-community-help-me-welcome-to-all-steemians-201767t201148364z
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Good @chainsquad
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks for your info.nice to be part of your community
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
good job.You're great。
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
thanx for sharing this vaulable information about peerplays
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Good effort dear @chainsquad.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Great work!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
nice work, thank you for sharing!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Nice work, thanks!
Do you know of any (basic) examples of how to get started using this?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I can highly recommend to look into the code for the command line tool over here:
https://github.com/PBSA/python-peerplays/tree/master/peerplays/cli
Also, since it are a couple examples on python.peerplays.com
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I have read your blog.
Amazing post brother, good luck.
Help me to share this blog.
https://steemit.com/history/@joe28/study-history-of-aceh-sumatra-read-this-blog-if-you-want-to-know-about-aceh
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
very nice post...
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I apologize if this message is in the wrong place. I need to contact streemian support for help with my sign up. Appreciate any help :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
so nice work
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit