Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

Bitski Truffle Provider

Note: This package is no longer necessary.

Use bitski-node instead. See the README for more information.

To use Bitski as your Truffle wallet, run npm install --save-dev bitski-truffle-provider.

Then set up your truffle.js to look something like this:

const BitskiTruffleProvider = require('bitski-truffle-provider');

const bitskiCredentials = {
  client: {
    id: '<YOUR CLIENT ID>',
    secret: '<YOUR CLIENT SECRET>'
  },
  auth: {
    tokenHost: "https://account.bitski.com/",
    tokenPath: "/oauth2/token"
  }
};

module.exports = {
  networks: {
    mainnet: {
      network_id: '1',
      provider: BitskiTruffleProvider("mainnet", bitskiCredentials),
    },
    kovan: {
      network_id: '42',
      provider: BitskiTruffleProvider("kovan", bitskiCredentials),
    },
    rinkeby: {
      network_id: '4',
      provider: BitskiTruffleProvider("rinkeby", bitskiCredentials),
    },
    development: {
      host: "localhost",
      port: 7545,
      network_id: "*"
    }
  }
};

Now you can run Truffle!

About

Bitski Web3 Provider for Truffle

Resources

Releases

No releases published

Packages

No packages published