truffle develop
Inside migrations
folder create a new javascript file. I am going to name it 2_deploy_contracts.js
Here is the code to deploy our multi-sig wallet contract
const MultiSigWallet = artifacts.require("MultiSigWallet")
module.exports = function (deployer, network, accounts) {
const owners = accounts.slice(0, 3)
const numConfirmationsRequired = 2
deployer.deploy(MultiSigWallet, owners, numConfirmationsRequired)
}
Inside truffle console type
migrate