@neowalletconnect/truffle-provider
TypeScript icon, indicating that this package has built-in type declarations

1.3.2-rc.3 • Public • Published

WalletConnect Truffle Provider

Deploy your contracts using WalletConnect

Install

yarn add @neowalletconnect/truffle-provider

# OR

npm install --save @neowalletconnect/truffle-provider

Example usage

const WalletConnectProvider = require('@neowalletconnect/truffle-provider').default

let provider = new WalletConnectProvider(
  `https://ropsten.infura.io/v3/${process.env.INFURA_API_KEY}`
)

module.exports = {
  networks: {
    development: {
      host: 'localhost',
      port: 8545,
      network_id: '*' // Match any network id
    },
    ropsten: {
      provider: () => provider,
      network_id: '3',
      networkCheckTimeout: 10000
    }
  }
}

On command line:

truffle migrate --network ropsten

Package Sidebar

Install

npm i @neowalletconnect/truffle-provider

Weekly Downloads

0

Version

1.3.2-rc.3

License

LGPL-3.0

Unpacked Size

1.38 MB

Total Files

8

Last publish

Collaborators

  • liuqiang1357