[pysteem/piston] Support for GOLOS has been added by chainsquad

View this thread on steempeak.com
· @chainsquad ·
$14.19
[pysteem/piston] Support for GOLOS has been added
![](https://github.com/xeroc/piston/raw/master/docs/_static/logo.png)

With the release of piston 0.4.3a0 and python-steem 0.4.3, the library and command line application now support the interaction with the GOLOS network.

## Changes

The changes required can be summarized to:

* Added GOLOS' chain-id to allow proper signing of transactions
* Modify some of the Operations to also distinguish network prefixes
* Add a way to distinguish keys in different networks
* Some minor differences in the API

## How to use piston

You can install piston using `pip3` (the package manager for python3):

    pip3 install --user --upgrade steem-piston==0.4.3a0


This will install piston 0.4.3a0 and pysteem 0.4.3.
After that, you need to set the default node to an API that works on GOLOS:

    piston set node wss://ws.golos.io

Now, piston (and pysteem) are setup to connect to GOLOS, you can check by running

    piston balance golos

To add your own account, you can either use

    piston addkey  (and provide a raw wif key), or
    piston importaccount <accountname>   (and provide the password to your account - owner key won't be stored by default)

More information about available calles be be found via

    piston --help

or on [the official piston.rocks webpage](http://piston.rocks).

## How to use pysteem

If you want to use the library with GOLOS (instead of STEEM) you can either change the default node via `piston set node x` (as described above) or do so programatically:

```python
from steem import Steem
golos = Steem('wss://ws.golos.io')
```

More documentation about how to use the library can be found on it's own [documentation webpage](http://pysteem.com).

Now, have fun!
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 165 others
properties (23)
post_id1,887,338
authorchainsquad
permlinkpysteempiston-support-for-golos-has-been-added
categorygolos
json_metadata"{"app": "piston/0.4.3", "tags": ["piston", "pysteem", "chainsquad"]}"
created2017-02-02 09:52:24
last_update2017-02-02 09:52:24
depth0
children3
net_rshares40,102,306,619,260
last_payout2017-03-05 12:26:30
cashout_time1969-12-31 23:59:59
total_payout_value12.896 SBD
curator_payout_value1.296 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length1,696
author_reputation41,793,727,920,840
root_title"[pysteem/piston] Support for GOLOS has been added"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars0
author_curate_reward""
vote details (229)
@ardina ·
thanks
properties (22)
post_id1,887,416
authorardina
permlinkre-chainsquad-pysteempiston-support-for-golos-has-been-added-20170202t100533873z
categorygolos
json_metadata"{"app": "steemit/0.1", "tags": ["golos"]}"
created2017-02-02 10:05:39
last_update2017-02-02 10:05:39
depth1
children0
net_rshares0
last_payout2017-03-05 12:26:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length6
author_reputation1,139,374,949,281
root_title"[pysteem/piston] Support for GOLOS has been added"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@screenname ·
Re: [pysteem/piston] Support for GOLOS has been added
<p>This post has been ranked within the top 25 most undervalued posts in the first half of Feb 02. We estimate that this post is undervalued by $9.07 as compared to a scenario in which every voter had an equal say.</p> 
<p>See the full rankings and details in <a href="https://steemit.com/curation/@screenname/the-daily-tribune-most-undervalued-posts-of-feb-02---part-i">The Daily Tribune: Feb 02 - Part I</a>. You can also read about some of our methodology, data analysis and technical details in <a href="https://steemit.com/curation/@screenname/introducing-the-daily-tribune-most-undervalued-posts-of-nov-04---part-i">our initial post</a>.</p>
<p>If you are the author and would prefer not to receive these comments, simply reply "Stop" to this comment.</p>
👍  
properties (23)
post_id1,888,320
authorscreenname
permlinkre-pysteempiston-support-for-golos-has-been-added-20170202t130739
categorygolos
json_metadata"{"replyto": "@chainsquad/pysteempiston-support-for-golos-has-been-added"}"
created2017-02-02 13:07:39
last_update2017-02-02 13:07:39
depth1
children0
net_rshares534,849,707
last_payout2017-03-05 12:26:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length762
author_reputation46,297,288,412,649
root_title"[pysteem/piston] Support for GOLOS has been added"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@hipster · (edited)
Thanks for your awesome work. Piston library was essential thing for us to start
properties (22)
post_id1,890,576
authorhipster
permlinkre-chainsquad-pysteempiston-support-for-golos-has-been-added-20170202t192250158z
categorygolos
json_metadata"{"app": "steemit/0.1", "tags": ["golos"]}"
created2017-02-02 19:22:51
last_update2017-02-02 19:23:18
depth1
children0
net_rshares0
last_payout2017-03-05 12:26:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length80
author_reputation43,875,514,502,608
root_title"[pysteem/piston] Support for GOLOS has been added"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000