Sort:  

Nodejs, vue.js 中使用,所以,请自行安装所需环境。

cnpm install steem --save

//main.js
import steem from 'steem'

//设置steem节点,挂载到全局
steem.api.setOptions({ url: 'https://anyx.io' })
Vue.prototype.steem= steem

steem节点国内测试:

https://cn.steems.top //平均 = 256ms 194ms 203ms
https://steemd.privex.io //平均 = 269ms 308ms 309ms
https://steemd.minnowsupportproject.org //平均 = 282ms 281ms 279ms

https://api.steemjiang.com //平均 = 327ms 373ms
https://api.steems.top //平均 = 337ms 365ms
https://api.justyy.com //平均 = 317ms 372ms
https://api.steem.bts.tw //平均 = 321ms 333ms

https://steem.61bts.com //平均 = 36ms,前端无法使用
https://s2.61bts.com //平均 = 159ms,前端无法使用
https://steem.bts.tw //平均 = 169ms,前端无法使用
https://steem-api.urbanpedia.com //平均 = 174ms,前端无法使用
https://api.steemit.com //无法使用
https://api.steemitdev.com //无法使用

Loading...
Loading...
Loading...
Loading...
steem.broadcast.accountUpdate(wif, account, owner, active, posting, memoKey, jsonMetadata, function(err, result) {
  console.log(err, result)
})
Loading...

Coin Marketplace

STEEM 0.19
TRX 0.16
JST 0.030
BTC 69253.24
ETH 2750.52
USDT 1.00
SBD 2.74