Skip to content

CouplingIO/angular-bitcore-wallet-client

 
 

Repository files navigation

angular-bitcore-wallet-client

AngularJS module for bitcore-wallet-client

Get started

bower install angular-bitcore-wallet-client

Add javascript to index.html after angular.js:

<script src="bower_components/angular-bitcore-wallet-client/angular-bitcore-wallet-client.min.js"></script>

Add to your array of AngularJS modules:

var modules = [
  'bwcModule'
];

var myApp = angular.module('myApp', modules);

Use

See the API referece for more details.

angular.module('myApp').factory('myService', 
  function(bwcService) {
    var credential = getCredentials(); // e.g. from localStorage
    bwcService.getStatus(credentials, function(err, res) {
      console.log(res);
    });
  }
);

About

angular module for bitcore-wallet-client

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • JavaScript 92.7%
  • Makefile 7.3%