diff --git a/docs/guide/getting-started.md b/docs/guide/getting-started.md index ecd1431..5ea3095 100644 --- a/docs/guide/getting-started.md +++ b/docs/guide/getting-started.md @@ -49,7 +49,7 @@ import { nuls2 } from 'aleph-js' // From mnemonics: account = await nuls2.import_account({mnemonics: 'cool install source weather mass material hope inflict nerve evil swing swamp'}) // From private key: -account = nuls2.import_account({private_key: 'cc0681517ecbf8d2800f6fe237fb0af9bef8c95eaa04bfaf3a733cf144a9640c'}) +account = await nuls2.import_account({private_key: 'cc0681517ecbf8d2800f6fe237fb0af9bef8c95eaa04bfaf3a733cf144a9640c'}) ``` ### Ethereum @@ -517,4 +517,4 @@ All those methods accept a 3rd argument, `options`, with those options: The first 2 options are useful if you want to serialize yourself, or avoid serialization, and if you are working with files (or binary blobs). -Typically, if you want to store an encrypted file, you will handle Buffer objects, and won't serialize in any way (both options will by false). \ No newline at end of file +Typically, if you want to store an encrypted file, you will handle Buffer objects, and won't serialize in any way (both options will by false).