angular-bwc

AngularJS module for bitcore-wallet-client library

Added by: Sam Deering

GitHub

Repository

cmgustavo/angular-bwc

Stats

Stars: 1

Watchers: 1

Forks: 1

Module Description

angular-bwc

AngularJS module for bitcore-wallet-client

Demo

Website

** DO NOT use this demo for real bitcoins! **

Get started

bower install angular-bwc

Add javascript to index.html after angular.js:

<script src="bower_components/angular-bwc/angular-bwc.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);
    });
  }
);

Module stats last updated: 2015-04-28 11:07:47

Disclaimer: Some data on this page may have been gathered from the authors GitHub respository. If you see any mistakes or outdated information please let us know. Thanks!