Skip to content

Instantly share code, notes, and snippets.

@GZShi
Created April 23, 2018 10:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GZShi/4fdf316ea6e0e93441587d195e872d94 to your computer and use it in GitHub Desktop.
Save GZShi/4fdf316ea6e0e93441587d195e872d94 to your computer and use it in GitHub Desktop.
import zs from 'ZSBridge.js'
;(async function () {
try {
let { account, apass } = await zs.getAccount()
console.log(`current account is ${account}`)
} catch(ex) {
console.log(`failed: ${ex}`)
}
})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment