You are viewing a single comment's thread from:

RE: Hivejs开发实战指南

in #starnote21 days ago
hive.broadcast.vote(wif, voter, author, permlink, weight, function(err, result) {
  console.log(err, result)
})

//函数讲解
hive.broadcast.vote (
    wif,         //发帖密钥
    voter,       //点赞人
    author,      //作者
    permlink,    // URL地址
    weight       //点赞比重,100*100
)

eg:
hive.broadcast.vote(
  "5KRSmEMffffff",
  "luck",
  "lemooljiang",
  '6ekczn-2019',
  10000,
  function(err, result) {
    console.log(8888, err, result)
  })