stellar-wallet-login

1.0.1 • Public • Published

stellar-wallet-login

Get an authorization token for the Stellar Wallet with a username and password. Works in node and in the browser (with browserify).

Example

var login = require('stellar-wallet-login');

login({
  user: 'awesome_username',
  pass: 'totally unguessable passphrase',
  // optional
  // url: 'http://some-custom-wallet-url.biz'
}, function(err, token, raw) {
  /*
   `token` is the authorization token
   `raw` is the raw data object returned from stellar.
  */
})

Readme

Keywords

none

Package Sidebar

Install

npm i stellar-wallet-login

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • brianloveswords