--- tags: ncd --- # Day 1 ## Reading web 3 > *Wait, what's a contract even?* *Learn to read (smart?) contracts in Rust and AssemblyScript, there's really nothing to it.* ### Core Activities - Watch these orientation videos before doing anything else - [steps a & b](https://www.loom.com/share/528942bebbe9419b8b65f0832b953034) (survey and curate) - [step c](https://www.loom.com/share/ff7b381f7d4147d7861065819544c737) (analyze) - [steps d & e](https://www.loom.com/share/f0f138efccc64fd59a839b4ac7275fe6) (review) - **( a )** survey all 25 contract repositories as per video (30 mins) - Skim the database for about 1 minute - Open all 25 links in tabs (or in batches of 5 if you prefer) - Find the contract “purpose” and “code” - Close it if you’re not interested - You should end up with 10 contract tabs open - **( b )** choose 5 out of the 25 contracts and prioritize them as per video (5 mins) - Make new records, one for each contract of interest - Prioritize it in your todo list, most important at top - **( c )** review each of the 5 contracts and make notes as per video (120 mins) - Scan for structure (and capture in airtable) - Scan for interface (and capture in airtable) - Add comments as needed to teach others **STOP** *Continue ... NEXT DAY ... (it’s best to sleep between these activities)* - **( d )** review all others’ notes for their contracts (30 mins) - Review all contract summaries for all other participants - Marking your “intuitive confidence” in understanding - **( e )** dig into your 3 lowest confidence contracts (60 mins) - Choose any 3 of your lowest confidence scores - Review the contract as if it were your own ### Bonus Activities *If you have the time to look around the corner, here's a little more for you.* - [Scavenger Hunt Challenge #1](https://hackmd.io/DiDr80wrT1ugS7iSVJiZ8Q) - [Scavenger Hunt Challenge #2](https://hackmd.io/HA390FYeRBKieLvL5dK64Q) ### Going Deeper *If you're feeling fearless, here's about as far as you might take this road in a day* - review all [core-contracts](https://github.com/near/core-contracts) and watch related [Live Contract Reviews](https://www.youtube.com/watch?v=BA7VeUS_RAA&list=PL9tzQn_TEuFXnYksuNJwrl1l_AuWzn6eF) - review [Eugene's workshop](https://github.com/evgenykuzyakov/workshop) and related [berryclub](https://berryclub.io) [contracts](https://github.com/evgenykuzyakov/berryclub) - review [Illia's contract repo](https://github.com/ilblackdragon/contracts) - review all [Rainbow Hackathon contract submissions](https://docs.google.com/spreadsheets/d/19By6mCBnfCO076plLitF-S1MeTpVLgISF_aAlZ5I2-4/edit#gid=0) --- > _**smart**_ > _adj. Having or showing intelligence; bright. synonym: intelligent._ > _adj. Canny and shrewd in dealings with others._ --- ![airtable entries for smart contracts ready for review](https://i.imgur.com/OY4yyWN.png)