OSDN Git Service
(root)
/
bytom
/
Bytom-JS-SDK.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
044edae
)
update readme
author
xuhongxin
<xuhongxin@luojilab.com>
Sat, 13 Oct 2018 09:03:10 +0000
(17:03 +0800)
committer
xuhongxin
<xuhongxin@luojilab.com>
Sat, 13 Oct 2018 09:03:10 +0000
(17:03 +0800)
README.md
patch
|
blob
|
history
diff --git
a/README.md
b/README.md
index
f339dee
..
267042a
100644
(file)
--- a/
README.md
+++ b/
README.md
@@
-13,7
+13,7
@@
npm install bytom-js-sdk
let bytom = new Bytom("http://52.82.24.155:3000/", chrome.runtime.getURL("main.wasm"));
//create key
-bytom.sdk.keys.create("test
666
", "123456").then((res)=>{
+bytom.sdk.keys.create("test
_alias
", "123456").then((res)=>{
console.log(res)
}).catch(error => {
console.log(error)