Skip to Content
Ethereum Cookbook
book

Ethereum Cookbook

by Manoj P R
August 2018
Intermediate to advanced
404 pages
11h 19m
English
Packt Publishing
Content preview from Ethereum Cookbook

How to do it...

  1. A multisig wallet is a smart contract for transferring funds or interacting with other contracts. The transfers are done based on approval from multiple addresses.
  2. You can use the smart contract and the associated library provided by parity as a multisig wallet for managing your funds.
  3. The library contains an initWallet function. Use this to set the address of owners and other basic parameters:
function initWallet(    address[] _owners,     uint _required,     uint _daylimit) {    initDaylimit(_daylimit);     initMultiowned(_owners, _required);}
  1. While deploying a wallet contract, the initWallet function will be called from the constructor wallet contract. This is probably to bring some reusability to the constructor code.
  2. You can use ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Building Ethereum Dapps

Building Ethereum Dapps

Roberto Infante
Ethereum For Dummies

Ethereum For Dummies

Michael G. Solomon

Publisher Resources

ISBN: 9781789133998Supplemental Content