Discover and read the best of Twitter Threads about #Cairo1

Most recents (1)

Today, I'm going to walk you through the functions of the MultiSig Wallet smart contract on #Starknet. Brace yourself for an exciting dive into the world of #Cairo1 and #SmartContracts.

1/11
The constructor function is the first function called when the contract is deployed. It takes an array of owners & a required number of confirmations as input. It adds each owner to the contract, & sets up the number of confirmations needed to approve a transaction.

2/11 Image
The submitTransaction function allows only wallet owners to propose transactions. It accepts an address, a value. A new transaction with these details, marked as not yet executed, will be added to the transactions list.

3/11 Image
Read 11 tweets

Related hashtags

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!