@deficonnect/truffle-provider
v1.6.14-dev.2
Published
WalletConnect Provider for Truffle
Downloads
71
Maintainers
Readme
WalletConnect Truffle Provider
Deploy your contracts using WalletConnect
Install
yarn add @deficonnect/truffle-provider
# OR
npm install --save @deficonnect/truffle-provider
Example usage
const WalletConnectProvider = require('@deficonnect/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