Parfait 2 months ago

Origin of the bitcoin library used in wallet.js?

I would just like to figure out where the bitcoin library used in the following statement comes from? Can someone help?

bitcoin.createWallet(network).then(function(wallet) {

  1. 2
    Parfait Cyriaque 2 months ago
    Aha, got it 🙂

    it’s specified here and ends up in the bundle.js, right?

    gulp.task(‘default’, () => {

        browserify(‘./src/simplewallet.js’, {standalone: ‘bitcoin’, debug: true})
        .transform(babelify, {presets: [‘es2015’]})
  2. 2
    Charlotte Mellor 2 weeks ago
    In theory, this is it