Discover and read the best of Twitter Threads about #cadence

Most recents (3)

A huge update is coming to #Cadence, the smart contract language used by @flow_blockchain:

📥Attachments

What are they and how do we code them?
👇🧵 Image
@flow_blockchain 📽️Before I begin, I made a YouTube video diving into attachments here:
@flow_blockchain 1/ What are they?

Attachments are what they sound like: things we can attach to resources and structs in Cadence.

⚔️For example, we can attach a "Pet" or a "Weapon" to any NFT.
Read 9 tweets
In #Cadence, there are 4 phases to a transaction:

1. "Prepare"
2. "Pre"
3. "Execute"
4. "Post"

What are the differences between them?

👇🧵 Image
1. The prepare phase

This is the first part of the transaction to get run.

⚠️It is also the only place you have access to the signer's `AuthAccount`, a type that allows you to have full access to an account.
It is best practice to only use the prepare phase for things that require the `AuthAccount` type, like borrowing a reference to a user's NFT Collection.

You can think of the prepare phase as the "setup" of a transaction. Image
Read 7 tweets
1. Point Sanitaire 23/04 #Genève

-Quasi que du #variant #britannique
-Quelques variants #brésiliens / #sudafricains
dont contamination intra-communautaire (pas que retours de voyage). #Enquêtes d'#entourage précise et + intense pour ces variants
-Pas variant #indien pr l'instant
2. Vaccination #Genève
▪️74 et +: Bcp de vaccinés doses 1+2
▪️65-74: bcp de 1ères doses, pas encore de 2ème (ça ne fait pas 4 sem. que vaccination ouverte)
▪️45-64: bcp de #vaccinosenthousiastes ds cette tranche d'âge. Vaccination a commencé. #Palexpo
3. Vaccination #Genève

Aujourd'hui

▪️Priorité 1:
- 65 et+
- femmes enceintes avec critère vulnérabilité

▪️Priorité2:
- 45 et+
- collaborateurs (prof de santé)
- personnes avec critère de vulnérabilité qq soit âge
Read 18 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!