You are viewing a single comment's thread from:

RE: New Testnet Deployed

in #testnet5 years ago

that @0.8.0 is just an artifact - I copied those lines from somewhere.
I am not very familiar with dsteem or JS in general, either.

How do you get beem to work, then ?

from beem.blockchain import Blockchain
from beem import Steem
from beem.instance import set_shared_steem_instance

blockchain = Blockchain()
print(blockchain.get_current_block_num())

testnet = Steem(node=["https://testnet.steemdev.com:2001"])
set_shared_steem_instance(testnet)

blockchain2 = Blockchain()
print(blockchain2.get_current_block_num())

This does not work either, I tried variations of the url with port and without and http https ...

Coin Marketplace

STEEM 0.17
TRX 0.15
JST 0.028
BTC 60065.47
ETH 2420.85
USDT 1.00
SBD 2.46