OSDN Git Service
(root)
/
bytom
/
bytom-node-sdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
418e8d7
)
add access token to readme
author
Yongfeng LI
<wliyongfeng@gmail.com>
Mon, 21 May 2018 02:08:32 +0000
(10:08 +0800)
committer
Yongfeng LI
<wliyongfeng@gmail.com>
Mon, 21 May 2018 02:08:37 +0000
(10:08 +0800)
README.md
patch
|
blob
|
history
diff --git
a/README.md
b/README.md
index
2753124
..
6f31cb7
100644
(file)
--- a/
README.md
+++ b/
README.md
@@
-42,7
+42,10
@@
summation of UTXOs of one account.
const bytom = require('bytom-sdk')
const url = 'http://localhost:9888'
-const client = new bytom.Client(url)
+// access token is required when client is not in same origin with the request bytom node
+const accessToken = ''
+
+const client = new bytom.Client(url, accessToken)
```
## Interaction with bytom