• R/O
  • HTTP
  • SSH
  • HTTPS

bytom-node-sdk: 提交

Node.js SDK for Bytom protocol


Commit MetaInfo

修订版b6fd6bf0c02330dfab7568d57d1c3ed6cc794d59 (tree)
时间2018-05-21 11:08:37
作者Yongfeng LI <wliyongfeng@gmai...>
CommiterYongfeng LI

Log Message

add access token to readme

更改概述

差异

--- a/README.md
+++ b/README.md
@@ -42,7 +42,10 @@ summation of UTXOs of one account.
4242 const bytom = require('bytom-sdk')
4343 const url = 'http://localhost:9888'
4444
45-const client = new bytom.Client(url)
45+// access token is required when client is not in same origin with the request bytom node
46+const accessToken = ''
47+
48+const client = new bytom.Client(url, accessToken)
4649 ```
4750
4851 ## Interaction with bytom
Show on old repository browser