This package has been deprecated

Author message:

WalletConnect's v1 SDKs are now deprecated. Please upgrade to a v2 SDK. For details see: https://docs.walletconnect.com/

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

1.7.8 • Public • Published

WalletConnect Truffle Provider

Deploy your contracts using WalletConnect

Install

yarn add @walletconnect/truffle-provider

# OR

npm install --save @walletconnect/truffle-provider

Example usage

const WalletConnectProvider = require('@walletconnect/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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Published

Version History

  • Version
    Downloads (Last 7 Days)
    • Published

Package Sidebar

Install

npm i @walletconnect/truffle-provider

Weekly Downloads

2

Version

1.7.8

License

Apache-2.0

Unpacked Size

747 kB

Total Files

13

Last publish

Collaborators

  • cyberdrk
  • nachosan
  • boidushya
  • huxwell
  • chris13524
  • crypblizz
  • devceline
  • gancho_walletconnect
  • bkrem
  • pedrouid