OSDN Git Service

update readme
authorxuhongxin <xuhongxin@luojilab.com>
Sat, 13 Oct 2018 09:03:10 +0000 (17:03 +0800)
committerxuhongxin <xuhongxin@luojilab.com>
Sat, 13 Oct 2018 09:03:10 +0000 (17:03 +0800)
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("test666", "123456").then((res)=>{
+bytom.sdk.keys.create("test_alias", "123456").then((res)=>{
     console.log(res)
 }).catch(error => {
     console.log(error)