<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Tushar on Medium]]></title>
        <description><![CDATA[Stories by Tushar on Medium]]></description>
        <link>https://medium.com/@tushar21?source=rss-48e76b06230------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*BIKpNzvYsLvjXGCNcYgs5A.jpeg</url>
            <title>Stories by Tushar on Medium</title>
            <link>https://medium.com/@tushar21?source=rss-48e76b06230------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 16:06:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tushar21/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Kaggle Chronicles, Episode 2: I Taught a Model to Appraise Houses]]></title>
            <link>https://medium.com/@tushar21/kaggle-chronicles-episode-2-i-taught-a-model-to-appraise-houses-ff22b783aed1?source=rss-48e76b06230------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff22b783aed1</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[kaggle]]></category>
            <category><![CDATA[regression]]></category>
            <dc:creator><![CDATA[Tushar]]></dc:creator>
            <pubDate>Sat, 03 Oct 2026 16:42:27 GMT</pubDate>
            <atom:updated>2026-10-03T16:42:27.372Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pfJlZ-8a2Fz2MxbtAGswtQ.png" /></figure><h3>Kaggle House Prices, from $14,330 to $12,520. Every improvement was something a real appraiser already does.</h3><p>Hi everyone, Tushar here, and this is episode two of Kaggle Chronicles. In episode one I took on the Titanic; this time it is the <a href="https://www.kaggle.com/competitions/home-data-for-ml-course">Housing Prices Competition for Kaggle Learn Users</a>, the final exercise in Kaggle’s <a href="https://www.kaggle.com/learn/intro-to-machine-learning">Intro to Machine Learning</a> course.</p><p>If you have ever bought or sold a house, somebody looked at it and said a number: an agent, an appraiser, a website. I trained a model to do that job for 1,459 real homes. On average it misses by <strong>$12,520</strong>, about 7% of a typical house here.</p><p>The surprising part was not the model. It was that every step that made it better is something a good appraiser already does. So that is how I will tell it: three versions of an appraiser, getting better.</p><h3>The job: price 1,459 homes</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*UQsa6wzd6gt6XOhZUhFm4A.gif" /><figcaption>The competition page, one real listing sheet, its price, and the number to beat</figcaption></figure><p>The data is every home sold in Ames, Iowa, between 2006 and 2010. Each one comes with 79 facts, basically a very detailed listing sheet: size, quality, neighborhood, year built, garage, basement, even the type of road out front. 1,460 homes come with the price they sold for. 1,459 do not. Your job is to price those, and Kaggle scores you with <strong>mean absolute error (MAE)</strong>: on average, how many dollars your predictions are off. Lower is better.</p><p>Before building anything, I submitted Kaggle’s free sample file to see what “no skill” scores. <strong>$59,347.</strong> That is roughly what you get by pricing every house in town the same. Any real appraiser had better beat it.</p><h3>Lesson zero: think in percentages, not dollars</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tX-gBVc3HJ23qfeeYNHCcg.png" /><figcaption>Same $20,000 miss, very different mistake</figcaption></figure><p>Agents already know this one. Being $20,000 off on a $100,000 starter home is a disaster. On a $700,000 house it is a rounding error.</p><p>Prices here bunch up between $100k and $250k (median $163,000) with a long tail of expensive homes. Train on raw dollars and the model obsesses over the mansions. So every model in this project predicts the <strong>logarithm</strong> of the price, which turns dollar misses into percentage misses:</p><pre>y = np.log1p(train.SalePrice)      # train on log(price)<br>...<br>prices = np.expm1(model.predict(X_test))   # back to dollars at the end</pre><h3>How do you test an appraiser fairly?</h3><p>You would not test an appraiser on houses they have already seen the price of. So before improving anything, I set up <strong>5-fold cross-validation</strong>: split the known sales into five groups, learn from four, hide the prices of the fifth, then rotate until every house has been priced once by a model that never saw it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*wtcjqxu-Bt3-jOoHizTLow.gif" /><figcaption>Five groups; the hidden one rotates</figcaption></figure><pre>FOLDS = KFold(5, shuffle=True, random_state=0)<br>def oof_predict(model, X, y):<br>    &quot;&quot;&quot;Out-of-fold predictions: each row is predicted by a model that never saw it.&quot;&quot;&quot;<br>    oof = np.zeros(len(y))<br>    for tr, va in FOLDS.split(X):<br>        model.fit(X.iloc[tr], y.iloc[tr])<br>        oof[va] = model.predict(X.iloc[va])<br>    return oof</pre><p>In episode one, my cross-validation lied to me. Here it never did. Every version landed within $900 of the real leaderboard:</p><ul><li><strong>v1:</strong> local CV $15,257, leaderboard $14,330</li><li><strong>v2:</strong> local CV $13,132, leaderboard $12,874</li><li><strong>v3:</strong> local CV $12,655, leaderboard $12,520</li></ul><p>That meant I could test ideas at home and only spend submissions on the winners.</p><h3>Version 1: the rookie</h3><p>The rookie is <strong>gradient boosting</strong>: hundreds of small decision trees, each one a rule of thumb like “big house and high quality, push the price up”, each fixing the mistakes of the one before. scikit-learn’s HistGradientBoostingRegressor handles blanks and text columns by itself, so I handed it all 79 facts, untouched:</p><pre>model = HistGradientBoostingRegressor(<br>    max_iter=1000, learning_rate=0.03, max_leaf_nodes=15,<br>    l2_regularization=1.0, categorical_features=&quot;from_dtype&quot;, random_state=0,<br>)</pre><p><strong>Leaderboard: $14,330.</strong> Already 76% better than pricing every house the same.</p><p>But rookies have a blind spot. Rules of thumb only cover what you have seen, and a tree cannot predict a price higher than the prices it trained on. I checked where v1’s misses landed:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XT8i2avK-SYZFCV5m_crfw.png" /><figcaption>The rookie’s blind spot: homes over $400k came out $56,715 too cheap</figcaption></figure><p>Cheap homes came out slightly too expensive (+$3,233 on average), and the 28 homes over $400,000 came out <strong>$56,715 too cheap</strong> on average. That one chart told me what v2 needed.</p><h3>Version 2, part 1: throw out the bad comps</h3><p>A real appraiser starts with the comparable sales, so I looked at mine. Two houses stood out immediately.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*jfG1GAniLO1EdnNUAzRdrg.gif" /><figcaption>Two comps no appraiser would use, and the record that explains them</figcaption></figure><p>One is 5,642 square feet, quality 10 out of 10, brand new, and sold for <strong>$160,000</strong>, less than the typical house in town. The data explains why. Both are marked <strong>“Partial”</strong>, which the data description defines as “home was not completed when last assessed”. They were sold before construction was finished. No appraiser would use that as a comp, but a model sees “huge house, cheap price” and learns that bigness can be cheap. So I removed both from training:</p><pre>outlier = (train.GrLivArea &gt; 4000) &amp; (train.SalePrice &lt; 300000)<br>train = train[~outlier]</pre><h3>Version 2, part 2: the math buyers do in their heads</h3><p>Buyers ask “how big is it really?”, “how old is it?”, “how many bathrooms?”. The facts were all in the data, just spread across separate columns, so I combined them:</p><pre>X[&quot;TotalSF&quot;]   = X[[&quot;TotalBsmtSF&quot;, &quot;1stFlrSF&quot;, &quot;2ndFlrSF&quot;]].fillna(0).sum(axis=1)<br>X[&quot;Age&quot;]       = X.YrSold - X.YearBuilt<br>X[&quot;TotalBath&quot;] = X.FullBath + 0.5 * X.HalfBath + X.BsmtFullBath + 0.5 * X.BsmtHalfBath</pre><h3>Version 2, part 3: hire a veteran</h3><p>The rookie’s blind spot called for a different kind of thinker. <strong>Lasso</strong> is a pricing formula: so much per square foot, plus a premium for the neighborhood, plus a bump for quality. Because it is a straight-line formula on the log scale, it naturally extends to expensive homes where trees run out of examples.</p><p>And location really matters here. The median home in Northridge Heights sold for $315,000. In Meadow Village, $88,000.</p><p>Plain linear regression would give a weight to all 320 columns (after turning text into yes/no columns), including pure noise. Lasso adds a penalty on the size of the weights, so a column only earns a weight if it pays for itself. LassoCV picks the penalty strength by cross-validation:</p><pre>lasso = make_pipeline(<br>    linear_prep(X),   # log-transform skewed columns, fill blanks, standardize, one-hot encode<br>    LassoCV(alphas=np.logspace(-4, -2, 20), max_iter=50000),<br>)</pre><p>The formula learned exactly what an agent would tell you:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*8VwCa5M_lNBpVbHIFR7GWw.gif" /><figcaption>Location first, then everything the veteran’s formula learned</figcaption></figure><p>Crawford neighborhood adds about 11%. An excellent kitchen adds about 6%. No central air takes off 3%. A foreclosure or short sale, 4%. Commercial zoning takes off 24%. And it set <strong>218 of the 320 columns to exactly zero</strong>, because buyers do not pay for them.</p><p>On its own, the veteran beat the rookie (CV $13,406 against $14,575). Then I did what a careful buyer does and got both opinions. Where one guesses high, the other often does not, so averaging cancels part of the error:</p><pre>blend = 0.5 * oof[&quot;hgb&quot;] + 0.5 * oof[&quot;lasso&quot;]   # averaged in log space</pre><p><strong>Leaderboard: $12,874</strong>, down $1,456 from v1.</p><h3>Version 3, part 1: read the listing properly</h3><p>1,453 of the 1,460 homes have the pool quality field left blank. Only seven have a pool. A blank there does not mean “unknown”, it means <strong>no pool</strong>. The same is true for garages, basements, fences and fireplaces, so I filled those in explicitly:</p><pre>X[NONE_CATS] = X[NONE_CATS].fillna(&quot;None&quot;)   # PoolQC, GarageType, BsmtQual, Fence, ...<br>X[ZERO_NUMS] = X[ZERO_NUMS].fillna(0)        # garage area, basement square feet, ...</pre><p>Honest result: it was worth about <strong>$30</strong>. The models had already figured it out. But measuring it means I know that, instead of guessing.</p><h3>Version 3, part 2: the careful appraiser</h3><p>The real win was a third appraiser. Some sales are just weird: foreclosures, sales between family members. Real appraisers set those aside. <strong>Huber loss</strong> does the same thing in math: a gradient boosting model that stops bending itself around the few sales no model can explain.</p><pre>huber = make_pipeline(linear_prep(X), GradientBoostingRegressor(<br>    loss=&quot;huber&quot;, n_estimators=2000, learning_rate=0.03, max_depth=4,<br>    min_samples_leaf=15, max_features=&quot;sqrt&quot;, subsample=0.7, random_state=0,<br>))</pre><p>On its own it matched Lasso (CV $13,353), and its mistakes were different from both of the others, which is exactly what a blend needs. I tried every combination of weights in steps of 0.1 on the out-of-fold predictions and kept the best:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*RjY_WUzRCp-nMifJ7OvDSA.gif" /><figcaption>Blank means none, then three opinions blended into $12,520</figcaption></figure><p>Half the veteran, 40% the careful appraiser, 10% the rookie. The rookie nearly dropped out: the other two already cover what it knows. <strong>Leaderboard: $12,520.</strong> The careful appraiser alone was worth about $450.</p><p>One caveat worth knowing: choosing weights on the same predictions that score them makes the CV number slightly optimistic. The leaderboard confirmed it was close.</p><h3>How it all fits together</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*HjAbVYGos_8eFZQnXtni0g.gif" /><figcaption>The pipeline growing from v1 to v3</figcaption></figure><p>Each version kept what worked and added one new idea. (There is an interactive version of this diagram, with a “what we did / why / result” panel for each version, linked at the end.)</p><h3>Proof of work</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2wyl_skkuNCqjnpjqLKT-g.png" /><figcaption>My Kaggle submissions page</figcaption></figure><p>Straight from my Kaggle submissions page: $59,346.95 for the sample file, then $14,330.29, $12,873.85 and <strong>$12,520.04</strong>. Top entries on this leaderboard show errors near zero because the true prices for this dataset are public. Honest models land somewhere around $12,000 to $13,500, so this is a solid place to stop.</p><h3>Four lessons, none of them really about machine learning</h3><ol><li><strong>Know what doing nothing scores.</strong> The $59,347 baseline made every later number meaningful.</li><li><strong>Throw out bad comps first.</strong> Two unfinished houses mattered more than any tuning.</li><li><strong>Get opinions from people who think differently.</strong> Two rookies agree on the same mistakes. A rookie and a veteran cancel each other’s.</li><li><strong>Measure every change by itself.</strong> Filling in the blanks felt important. It was worth thirty dollars.</li></ol><h3>Thank you</h3><p>A big thank you to <strong>Dan Becker</strong>, who created this competition and Kaggle’s Intro to Machine Learning course (Kaggle’s citation: DanB. <em>Housing Prices Competition for Kaggle Learn Users</em>, 2018. Kaggle). It is one of the best places to start if you are learning machine learning.</p><p><strong>Links</strong></p><ul><li>Competition: <a href="https://www.kaggle.com/competitions/home-data-for-ml-course">kaggle.com/competitions/home-data-for-ml-course</a></li><li>Course: <a href="https://www.kaggle.com/learn/intro-to-machine-learning">Intro to Machine Learning</a></li><li><a href="https://www.kaggle.com/code/tusharshah21/house-prices-one-model-to-a-3-model-blend">My notebook (every version, explained)</a></li><li>The video version of this post: <a href="https://www.youtube.com/watch?v=kC7JuPos_94">https://www.youtube.com/watch?v=kC7JuPos_94</a></li><li>X: <a href="https://x.com/tusharshahkumar">@tusharshahkumar</a></li></ul><p>If this helped, follow along for episode three. And if you have beaten $12,520 with an honest model, I would love to hear what your appraiser did differently.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff22b783aed1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kaggle Chronicles · Episode 1 of the series]]></title>
            <link>https://medium.com/@tushar21/kaggle-chronicles-episode-1-of-the-series-f70ef752867a?source=rss-48e76b06230------2</link>
            <guid isPermaLink="false">https://medium.com/p/f70ef752867a</guid>
            <category><![CDATA[feature-engineering]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[kaggle]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Tushar]]></dc:creator>
            <pubDate>Wed, 09 Sep 2026 14:21:18 GMT</pubDate>
            <atom:updated>2026-09-12T06:51:23.723Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ImY2ul_C7DhCnU2kPnslgw.png" /></figure><h3>A One-Line Model Beat Four of My Five Titanic Submissions</h3><p>I climbed from 0.775 to 0.81100 in five iterations. Then I did the arithmetic on what a leaderboard point is actually worth, and most of my “progress” disappeared.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZUQ7JoMZ0ULWG48qRTAxKg.gif" /><figcaption>Five submissions, from 0.77511 to 0.81100.</figcaption></figure><p>This is the first post in <strong>Kaggle Chronicles</strong>, where I take one competition at a time and publish what actually happened including the parts that didn’t work. One rule for the series: <strong>no copy-pasted notebooks, no leaderboard lookups, every number checked.</strong> Titanic taught me less about models than about measurement.</p><p>The short version</p><ul><li>Every Titanic score is a multiple of <strong>1/418</strong>. Multiply by 418 and you get people, not decimals.</li><li>Kaggle’s freebie “all women survive” file scores <strong>320/418</strong>. Four of my five models landed within <strong>4 passengers</strong> of it.</li><li>One idea actually worked: passengers didn’t die alone, they died in <strong>families</strong>. That was worth +19.</li></ul><h3>First: what is one leaderboard point worth?</h3><p>Take any Titanic public score and multiply it by 418, the number of rows in test.csv:</p><pre>0.77511 × 418 = 324.0<br>0.78708 × 418 = 329.0<br>0.81100 × 418 = 339.0</pre><p>Whole numbers, every time. The leaderboard is scored on all 418 test rows, so <strong>your score is just a count of people you got right</strong>.</p><p>Now submit the file Kaggle hands you for free gender_submission.csv, every woman lives, every man dies. It scores <strong>0.76555. That&#39;s 320 of 418</strong>, and it&#39;s the number any real model has to beat.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*maM7LmMEoTm_n_acL_bMyQ.png" /><figcaption>The same five scores as passengers. The dashed line is the one-line baseline.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/821/1*AcTCY2aSyr_aJD7UVkxtrA.png" /></figure><p>My baseline, my “catastrophic” overfitting disaster and my proud recovery all sit <strong>within four people</strong> of a heuristic that needs no model at all. The whole V1→V4 arc — four submissions, two evenings, a lot of feelings is a swing of <strong>8 passengers</strong>.</p><blockquote><em>Only one of my five versions clearly beat doing almost nothing.</em></blockquote><h3>What worked: one word in the Name column</h3><p>My baseline learned exactly one rule: <em>female lives, male dies</em>. In the training data 81% of men died and 74% of women survived, so that gets you most of the way and then stops. The real question is <strong>which men survived</strong>.</p><p>In 1912 the answer was sitting in plain text. An adult man was <em>“Mr.”</em> A boy under about 13 was <em>“Master”</em>:</p><pre>train[&#39;Title&#39;] = train[&#39;Name&#39;].str.extract(&#39; ([A-Za-z]+)\\.&#39;, expand=False)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vsGCbhXn6pjAj9RIpJ2TCw.png" /><figcaption>Adult ‘Mr’: 15.7% survived. Young boys, ‘Master’: 57.5%.</figcaption></figure><p>“Women and children first” was real policy, and my model had no idea who the children were Age is missing for over 20% of passengers. One regex fixed that, and it let me impute the missing ages sensibly too (a Master gets ~4 years, not the global median of 28).</p><p><strong>0.78708.</strong> Nine passengers up. My local hold-out jumped 3.35 points, which I originally reported as proof — but that hold-out was 179 rows, so 3.35 points is six people. The idea is sound. That number never was.</p><h3>What didn’t work: the deck feature</h3><p>Feeling clever, I extracted Deck from the Cabin letter, added an Age × Pclass term, log-transformed the fare and wrapped it all in a voting ensemble. Local cross-validation hit <strong>83.84%</strong>, a personal best. Kaggle gave me <strong>0.76794</strong> three passengers <em>worse</em> than my four-feature baseline.</p><p>Here’s what the deck data actually looks like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5EwHt-s7_tiqM9-GLuNo9Q.gif" /><figcaption>Every passenger with a recorded cabin, on the deck they actually berthed on with the interval the evidence supports.</figcaption></figure><p>Three things killed it:</p><ul><li><strong>The cabin field is a wealth flag, not a location.</strong> A cabin is recorded for 79% of first class, 8% of second and 2% of third. <strong>1,014 of 1,309 passengers have no cabin at all.</strong> Deck mostly says “this person was rich” which Pclass already said.</li><li><strong>The decks are tiny.</strong> Deck A rests on 15 known outcomes; deck G on <strong>four</strong>. Every deck’s 95% interval overlaps every other deck’s, and all of them cross a coin flip. There is no signal there to learn.</li><li><strong>My log-transform did nothing.</strong> Trees split on order, not magnitude. A monotone transform can’t change a single split. Pure placebo.</li></ul><p>I also changed five things at once, so I couldn’t have attributed the crash even if I’d been right about it. V4 stripped the noise back out and recovered to 0.77272 still six people behind V2.</p><blockquote><strong>A bonus trap I fell into.</strong> That famous £512 top fare? It wasn’t one ticket for one suite it covered a party of four. Fare is the whole-ticket price, so per person the first-to-third class gap is <strong>3.8×, not 64×</strong> and raw Fare is partly just measuring family size.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LUlKGmZX8pqTCNr3URvOIg.png" /><figcaption>Per person: £29.70 median in first class, £7.75 in third.</figcaption></figure><h3>What really worked: nobody died alone</h3><p>Every model so far treated passengers as independent rows. They weren’t. <strong>People evacuated in families and travel groups.</strong> The Sages eleven people in third classall died. The Carters all lived.</p><p>And many of those groups are <strong>split across </strong><strong>train.csv and </strong><strong>test.csv</strong>. A test passenger&#39;s fate is often written in their relatives&#39; labels, which I&#39;m entirely allowed to read.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eoRemmJewUi2CSgtkZWOxw.png" /><figcaption>Linking passengers by surname, fare and shared ticket number.</figcaption></figure><p>So I gave everyone a score based only on the <em>other</em> members of their group:</p><pre>for idx, row in all_data.iterrows():<br>    grp = (all_data[&#39;FamilyGroup&#39;] == row[&#39;FamilyGroup&#39;]) &amp; (all_data.index != idx)<br>    tkt = (all_data[&#39;Ticket&#39;] == row[&#39;Ticket&#39;])           &amp; (all_data.index != idx)<br>    # .dropna() = training labels only, never a test label<br>    relatives = pd.concat([all_data.loc[grp, &#39;Survived&#39;].dropna(), all_data.loc[tkt, &#39;Survived&#39;].dropna()])<br>    if len(relatives) &gt; 0:<br>      if relatives.max() == 1.0:<br>        all_data.loc[idx, &#39;FamilySurvival&#39;] = 1.0<br>      elif relatives.min() == 0.0:<br>        all_data.loc[idx, &#39;FamilySurvival&#39;] = 0.0</pre><p>1.0 if a relative is known to have survived, 0.0 if all known relatives died, 0.5 otherwise.</p><p><strong>Is that leakage?</strong> No and I tested it rather than asserting it. The .dropna() is what makes it safe: test labels are NaN, so they&#39;re never read. But building any feature from the target can still inflate your CV, so I rebuilt it inside each fold with the validation labels hidden:</p><pre>CV as reported (built on all training labels): 84.74%<br>CV rebuilt inside each fold:                   84.96%</pre><p>No optimism at all. If you ever build a feature from the target, <strong>this is the fifteen-line test to run.</strong></p><p><strong>0.81100 Accuracy (339 of 418).</strong> It changed 20 predictions, 19 of them in third class, and mostly in the direction I didn’t expect: nine of twelve third-class women flipped from <em>survived</em> to <em>died</em>, because their families went down together. Third-class women survived at exactly 50% a coin flip. No amount of tuning tells you <em>which</em> ones. Their families do.</p><p>Link to notebook: <a href="https://www.kaggle.com/code/tusharshah21/titanic-competetion">https://www.kaggle.com/code/tusharshah21/titanic-competetion</a> (would recommend not to check untill you don’t try yourself)</p><h3>Version 6: what I’d try next and what you should</h3><p>V5 is my champion, not a finish line. Here’s the real backlog. If you’re on Titanic right now, <strong>take any one of these and you’ll beat my score</strong> I’d like to read about it.</p><ol><li><strong>Restrict family survival to women and children.</strong> The refinement I skipped. An adult man in a surviving family often still died he gave his seat away. Apply the group signal only to women and boys, and leave adult men to their own attributes.</li><li><strong>Swap </strong><strong>Fare for </strong><strong>fare_per_person.</strong> One line, and it removes the family-size confound baked into the raw column. My best guess at the highest-value single change left on the table.</li><li><strong>Group by ticket, not </strong><strong>SibSp + Parch.</strong> Shared tickets catch nannies, companions and friends people who evacuated as a unit but share no surname.</li><li><strong>Build the group feature out-of-fold from the start.</strong> Mine survived the leakage test; a finer-grained target encoding won’t. Wire the fold-safe version in first.</li><li><strong>Upgrade the ruler before the model.</strong> Repeated stratified CV (5×5, not 1×5) and paired tests between submissions, so you can tell a real gain from eight lucky passengers. This is the one I’d do first, and the one nobody does.</li></ol><blockquote>If your V6 only moves the score by three passengers, you haven’t found anything. That’s the lesson I paid four submissions for.</blockquote><h3>Three things I’d tell you</h3><ol><li><strong>Submit the dumbest possible model first.</strong> Until you know what zero skill scores, you cannot tell progress from noise. I didn’t, and celebrated four rounds of noise.</li><li><strong>Change one thing per iteration.</strong> My V3 changed five and crashed. I explained the crash confidently and was mostly wrong.</li><li><strong>Put an error bar on small categories before engineering them.</strong> Deck G has four passengers. Nothing you learn from four passengers will generalise.</li></ol><p>I’m stopping at <strong>0.811 </strong>not because it’s a theoretical ceiling (you’ll see that claim a lot; there’s no citation for it), but because one standard error on 418 rows is about 2 points. Below that I’d be tuning against noise. And the 1.00000 scores? Those are people looking up the real passenger manifest.</p><h3>Where the series goes from here</h3><p>Each episode takes one competition and one hard-won lesson. Titanic’s was <em>measure before you celebrate</em>.</p><blockquote><strong>Your turn:</strong> what’s your best legitimate Titanic score and if you try one of the Version 6 ideas above, tell me what it did. That’s the whole point of writing this down.</blockquote><p>Kaggle profile: <a href="https://www.kaggle.com/tusharshah21">https://www.kaggle.com/tusharshah21</a></p><p>Twitter : <a href="https://x.com/tusharshahkumar">@tusharshahkumar</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f70ef752867a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Builder Rootcamp — Week 12: Certified]]></title>
            <link>https://medium.com/@tushar21/builder-rootcamp-week-12-certified-32fbf505d3fb?source=rss-48e76b06230------2</link>
            <guid isPermaLink="false">https://medium.com/p/32fbf505d3fb</guid>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[builders]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[rootstock]]></category>
            <category><![CDATA[bootcamp]]></category>
            <dc:creator><![CDATA[Tushar]]></dc:creator>
            <pubDate>Sat, 29 Aug 2026 09:54:27 GMT</pubDate>
            <atom:updated>2026-08-29T09:54:27.465Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*E4tA5H0c_FHRa-WV" /></figure><h3>The last week, the permanent credential, and what comes next</h3><p><em>This is the final entry in my series documenting the Rootstock Builder Rootcamp a 12-week program building on Bitcoin-secured, EVM-compatible Rootstock. If you’re new here, start from Week 1.</em></p><p>Some endings feel like doors closing.</p><p>This one felt like a door opening.</p><p>Week 12 was graduation week for the Rootstock Builder Rootcamp Cohort 2026-Q1.</p><p>No new modules. No new deadlines.</p><p>Just the closing session, the final steps, and something that no other course I’ve completed has done:</p><p>A certificate that lives on-chain.</p><blockquote>Permanently. Immutably. On the same network I spent twelve weeks learning to build on.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Q8CO4GJPsAcMA5AP.png" /></figure><h3>The Closing Session</h3><p>The session opened with two words:</p><p><strong><em>Congratulations, Rootcamper.</em></strong></p><p><em>You are now a Rootcamp Certified Builder.</em></p><p>Twelve weeks compressed into one sentence.</p><p>And somehow despite having seen it coming for weeks it still landed differently when it arrived.</p><p>The session wasn’t a recap. It wasn’t a lecture.</p><p>It was a handoff.</p><blockquote>Here’s what you built. Here’s what you earned. Here’s what’s next.</blockquote><h3>32 Builders. 32 Projects.</h3><p>One of the most grounding moments of the closing session was seeing the full cohort board.</p><p><strong>Cohort 2026-Q1. 32 total projects.</strong></p><p>Every builder. Every GitHub repo. Every idea that got claimed, built, reviewed, and shipped.</p><p>Looking at that table, two things hit simultaneously.</p><p><strong>First </strong>— the range of what people built. Salary vaults, lending protocols, donation trackers, escrow systems, ticketing platforms, signal registries. All on Rootstock. All from scratch.</p><p><strong>Second </strong>— the fact that every single one of those projects started as an idea on a form and ended as deployed, verified, on-chain code.</p><p>That’s not a small thing.</p><blockquote><em>31 builders. 31 ideas. Every one of them deployed, reviewed, and on-chain.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lw6ZFpd3GhUf0v8Y.png" /></figure><h3>Two Projects That Stood Out</h3><p>The closing session highlighted two projects from the cohort.</p><p><strong>Trustless Author Notarizer — by Jekayin-Oluwa</strong></p><p>A dApp that hashes text or files locally in the browser and anchors proof-of-existence on-chain.</p><p>No admin. No mutable state. No content ever leaves the client.</p><p>Only the fingerprint gets transmitted.</p><p>The elegance of it: the thing being proved never touches the network. Only the proof does.</p><blockquote>The thing being proved never touches the network. Only the proof does. That’s blockchain thinking.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*R4UveWMYgw1MAi77.png" /></figure><p>That’s blockchain primitives applied with real design thinking.</p><p><strong>HeartbeatRing — by Meriem</strong></p><p>An on-chain coordination game where players must regularly check in to stay alive in a ring.</p><p>13 rings on chain at the time of the demo. Epoch lengths. Stake requirements. Live state visible in the UI.</p><p>What made it interesting wasn’t the game mechanic — it was the fact that the contract state was the game state. No backend. No database. The chain was the source of truth.</p><blockquote>No backend. No database. The contract state was the game state. The chain was the source of truth.</blockquote><p>Both projects demonstrated something the Rootcamp had been building toward since Week 3:</p><p>A smart contract isn’t just code. It’s a system that behaves.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NQTgCDoHQDyAlJfd.png" /></figure><h3>The Credential That Lives On-Chain</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*u9mGdCJG3dTxzAhY.jpg" /></figure><blockquote>Here’s mine. Permanently on-chain. Verifiable by anyone.</blockquote><p>Here’s what makes the Rootcamp certification different from every other certificate I’ve received:</p><p>It’s not a PDF. It’s not just a badge.</p><p>It’s an attestation issued via the Rootstock Attestation Service (RAS) — permanently anchored to my wallet address on Rootstock Mainnet.</p><p>What that means in practice:</p><ul><li>A unique UID issued to your wallet.</li><li>Verifiable through the Rootcamp Attestation Verifier.</li><li>Your name in the Hall of Fame searchable, public, permanent.</li><li>A QR code linking to your project details and explorer links.</li><li>An exportable verifiable badge for social media.</li></ul><p>And then there’s the NFT.</p><blockquote>The Rootcamp Certified Builder NFT minted from the RootstockCollective app, directly to Rootstock Mainnet.</blockquote><p>Not a collectible. A credential.</p><p>The certificate exists because I built something real.</p><p>And the proof of that like everything else on this network — is immutable.</p><p>That’s not something a PDF can say.</p><blockquote>Not a PDF. An attestation. Permanently anchored to your wallet. Verifiable by anyone.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*q2HzvAPgxJmNXPdw.png" /></figure><h3>The Final Steps (And What They Actually Mean)</h3><p>The closing module walked through the last four actions.</p><ul><li><strong>Submit your postal address</strong> — for the physical swag package.</li><li><strong>Submit your Rootstock Mainnet wallet address</strong> — this address permanently holds the on-chain credential, the NFT, and receives the Hacktivator rewards on May 15th.</li><li><strong>Access your attestation</strong> — navigate the verifier, find your name, export your badge.</li><li><strong>Mint your NFT</strong> — connect to Rootstock Mainnet, a small amount of RBTC covers the transaction.</li></ul><p>Each step felt deliberately designed.</p><p>The swag grounds it in the physical world.</p><p>The wallet address grounds it in the chain.</p><p>The attestation makes it permanent. The NFT makes it yours.</p><p>And the mandatory completion survey — eleven questions — felt like the right final act. After twelve weeks of receiving, giving something back.</p><blockquote>Four steps. Each one grounding the achievement in something permanent physical, on-chain, verifiable, yours.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wzKnU5kn03BnP9wn.png" /></figure><h3>What Opens After</h3><p>The closing session didn’t just close. It pointed forward.</p><p>Four paths available to Rootcamp Certified Builders.</p><p><strong>Hacktivator</strong> — the open-source contribution marketplace. Build or create content, earn rewards. Already familiar — this blog series was part of it.</p><p><strong>Ambassador Program</strong> — for builders who want to help expand the Bitcoin DeFi ecosystem. Educate, create, host events, earn rewards. Optional. But worth considering.</p><p><strong>RootstockCollective</strong> — the DAO. Grants for new projects, Collective Rewards for ongoing contributions, governance participation as a backer.</p><p><strong>Rootstock Residency</strong> — deeper involvement. The details were shared in the closing session, reserved for certified builders.</p><p>Four different ways to stay in the ecosystem.</p><p>Four different levels of commitment.</p><p>None of them require starting over. All of them build on what the Rootcamp already built.</p><blockquote>Four paths. Different levels of commitment. All of them building on what the Rootcamp already built.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*D0T8IVjoUk0nLi4K.png" /></figure><h3>Looking Back at the Full Arc</h3><p>Twelve weeks. One cohort. One direction.</p><p><strong>Week 1</strong> — from user to builder, understanding the foundation.</p><p><strong>Week 2</strong> — from concept to infrastructure, nodes, RPC, merged mining.</p><p><strong>Week 3</strong> — from functions to systems, state machines and correctness.</p><p><strong>Week 4</strong> — from hoping it works to proving it doesn’t break.</p><p><strong>Week 5</strong> — from writing code to defending it against attack.</p><p><strong>Week 6</strong> — from deployed to verified, making behavior visible.</p><p><strong>Week 7</strong> — from contract to user, trust and UX as real concerns.</p><p><strong>Week 8</strong> — from features to systems, designing under constraints.</p><p><strong>Week 9</strong> — from design to delivery, building under pressure.</p><p><strong>Week 10</strong> — from submitted to defended, surviving review.</p><p><strong>Week 11</strong> — from builder to stakeholder, understanding the ecosystem.</p><p><strong>Week 12</strong> — from participant to certified, the credential that proves it.</p><p>Each week assumed the previous one.</p><blockquote>Twelve weeks. Twelve shifts. Each one building on the last.</blockquote><p>The on-chain certificate didn’t arrive despite the difficulty. It arrived because of it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pA7ssZ-YuUKicFCL.png" /></figure><h3>What I’m Taking Forward</h3><p>Three things this final week made permanent.</p><p><strong>1. The credential is as strong as what earned it.</strong></p><p>An on-chain certificate is verifiable by anyone. Which means the project it points to — the code, the tests, the deployment, the review — is the real credential. The attestation just makes it permanent.</p><p><strong>2. Certification is the beginning of participation, not the end of learning.</strong></p><p>The NFT is a key. The Hacktivator, the Ambassador Program, the Collective, the Residency — those are the doors it opens. The Rootcamp was never just a course. It was an entrance exam.</p><p><strong>3. Building in public compounds.</strong></p><p>Every blog post, every GitHub commit, every verified contract — they exist permanently. Future work will sit on top of this foundation. That’s not a metaphor. On Rootstock, it’s literally true.</p><h3>To the Cohort</h3><p><strong>32 builders. 32 different ideas. One shared finish line.</strong></p><p>Whatever you built a vault, a game, a protocol, a notarizer, a ticketing system you shipped something real on a Bitcoin-secured network.</p><p>That’s not nothing. That’s the proof of work.</p><blockquote>A deployed contract. 15 passing tests. An on-chain attestation. A different way of thinking about systems.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IEtwNAFrydj9tPs9.png" /></figure><h3>Question for Fellow Rootcampers</h3><blockquote>Now that it’s official what’s the first thing you’re building next on Rootstock?</blockquote><p><em>This wraps up my 12-week series documenting the Rootstock Builder Rootcamp. Thank you for following along.</em></p><p><em>Follow my ongoing work:</em></p><ul><li><em>GitHub: </em><a href="http://github.com/tusharshah21"><em>github.com/tusharshah21</em></a></li><li><em>X: </em><a href="https://x.com/tusharshahkumar"><em>@tusharshahkumar</em></a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=32fbf505d3fb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Builder Rootcamp — Week 11: What Comes After You Build]]></title>
            <link>https://medium.com/@tushar21/builder-rootcamp-week-11-what-comes-after-you-build-cd9da65ea910?source=rss-48e76b06230------2</link>
            <guid isPermaLink="false">https://medium.com/p/cd9da65ea910</guid>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[bootcamp]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[rootstock]]></category>
            <dc:creator><![CDATA[Tushar]]></dc:creator>
            <pubDate>Sun, 09 Aug 2026 13:21:46 GMT</pubDate>
            <atom:updated>2026-08-09T13:21:46.005Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mDN_lrliE-g1Tq9E" /></figure><h3>The week the program started handing you the keys</h3><p>There’s a particular feeling that arrives near the end of something real.</p><p>Not relief exactly.</p><p>More like orientation.</p><p>You’ve been heads down for weeks. Learning. Building. Submitting. Defending.</p><p>And then one week, you look up.</p><p>And for the first time, you can see both where you’ve come from and where you could go next.</p><p>Week 11 was that week.</p><blockquote>You’ve been heads down for weeks. Week 11 is the first time you look up.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wXR30TU5UJ_DdhwA.png" /></figure><h3>The Shift in Focus</h3><p>Every week until now asked the same underlying question:</p><p>Can you build on Rootstock?</p><p>Week 11 asked a different one:</p><p>Now that you can what are you going to do with that?</p><p>That’s not a small shift.</p><p>It’s the difference between being a student inside a program and being a builder inside an ecosystem.</p><p>The module this week wasn’t about Solidity.</p><p>It wasn’t about testing, or deployment, or security.</p><p>It was about the infrastructure that exists to support builders after the Rootcamp ends. And understanding that infrastructure changed how the entire journey felt in hindsight.</p><h3>What Is the Rootstock Collective?</h3><p>The first thing the module introduced was a reframe.</p><p>Rootstock isn’t just a blockchain.</p><p>It’s a DAO a Decentralized Autonomous Organization — governed by its community of builders and backers.</p><p>Which means:</p><ul><li>The people who build on Rootstock aren’t just users of the network.</li><li>They are, over time, participants in its direction.</li><li>That’s a different relationship than most developer ecosystems offer.</li></ul><p>Most ecosystems say: here are the tools, go build.</p><p>The Rootstock Collective says: here are the tools, go build — and here’s how you become part of what this becomes.</p><blockquote>Not just a blockchain. A DAO where builders become participants in what it becomes</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*ZfOEc3JxhCP3njqz.png" /></figure><h3>Two Paths for Builders: Grants vs Collective Rewards</h3><p>The module broke down two distinct funding mechanisms.</p><p>Understanding the difference matters — because they’re not interchangeable.</p><p><strong>Grants</strong> fund new projects and ideas. Apply when you have a new idea to build. One-time project funding, best for launching something new.</p><p><strong>Collective Rewards</strong> fund ongoing contributions to the ecosystem. Apply when you’re already building and contributing. Recurring support, best for sustaining something already running.</p><p>The distinction that clicked for me:</p><ul><li>Grants are for starting.</li><li>Collective Rewards are for continuing.</li><li>Most ecosystems only have the first.</li></ul><p>Having the second means that builders who create real, lasting value don’t have to stop when the initial funding runs out.</p><blockquote>Grants are for starting. Collective Rewards are for continuing. Most ecosystems only have the first.</blockquote><p>That’s what sustainable ecosystem design looks like.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*sywf84hp7C5JQGw7.png" /></figure><h3>The Proposal Process: More Structure Than You’d Expect</h3><p>One of the more grounding parts of the week was understanding how you actually access these resources.</p><p>It’s not a form you fill out and wait.</p><p>There’s a process.</p><p><strong>For Grants:</strong> whitelisting comes first you need to be a recognized community participant before submitting. Then a formal proposal problem, solution, timeline, milestones. Community reviews and backers vote.</p><p><strong>For Collective Rewards:</strong> similar whitelisting requirement. Proposal focused on ongoing contribution value. Tracked publicly — your work is visible to the people evaluating it.</p><p>The whitelisting requirement was the most interesting part.</p><p>It exists for a reason.</p><p>A DAO isn’t a company with a hiring manager who vets applicants.</p><p>Whitelisting is how the community establishes that you’re a real participant not someone who arrived just to extract funding.</p><p>It rewards showing up before you need something.</p><blockquote>Whitelisting rewards those who showed up before they needed something. That principle extends well beyond Web3.</blockquote><p>That’s a principle that extends well beyond blockchain ecosystems.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*1UKUGkMjW_UKJ6Xx.png" /></figure><h3>Tracking and Showcasing Your Work</h3><p>One section of the module covered something that often gets treated as secondary:</p><p>Making your work visible. Not for vanity. For accountability.</p><p>In a DAO-governed ecosystem, your reputation is built on what you’ve shipped, what you’ve documented, and how consistently you’ve shown up.</p><p>The GitHub repo isn’t just a code submission.</p><p>It’s a record. The blog series isn’t just content. It’s a trail of proof.</p><p>Looking back at the past ten weeks through that lens every README, every deployed contract, every published post it reads differently now.</p><p>It wasn’t just documentation.</p><p>It was the beginning of a builder profile inside an ecosystem that evaluates exactly these things.</p><blockquote>Every README. Every deployed contract. Every published post. Not artifacts proof of work.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*_gaICjxNpxKnuIMZ.png" /></figure><h3>The Backer Side: Governance Isn’t Just for Builders</h3><p>The module didn’t only cover the builder perspective.</p><p>It covered what it means to be a backer someone who stakes RIF tokens to participate in governance.</p><p>Backers review and evaluate proposals. Stake RIF to signal support. Can delegate their voting power if they trust someone else’s judgment. Shape what the ecosystem funds and prioritizes.</p><p>This was the part that made the DAO concept concrete rather than abstract. It’s not decentralized theater.</p><p>It’s a real system where:</p><ul><li>Builders propose.</li><li>Backers evaluate.</li><li>Stake signals conviction.</li><li>Delegation allows participation without requiring expertise in every domain.</li></ul><p>Week 3’s state machine thinking applies here too. Just at a governance layer instead of a contract layer.</p><blockquote>The same principles that make a good smart contract make a good DAO. Clear rules. Defined roles. Enforced transitions.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*k13Q_MNFUSTI5k3L.png" /></figure><h3>What This Week Did to the Journey</h3><p>Something shifted when this module landed.</p><p>The Rootcamp was always described as a journey toward becoming a builder.</p><p>But “builder” always felt like it referred to code.</p><p>Week 11 expanded the definition.</p><p>A builder in the Rootstock ecosystem is someone who ships on-chain systems, documents their work, participates in governance, contributes to community, accesses funding to keep going, and helps evaluate others’ proposals over time.</p><p>That’s not a developer.</p><p>That’s a stakeholder.</p><p>And the Rootcamp all eleven weeks of it was quietly preparing for exactly that.</p><h3>Connecting the Dots One More Time</h3><p>Looking at the full arc:</p><p><strong>Weeks 1–2</strong> — understanding the foundation.</p><p><strong>Weeks 3–5</strong> — building correctly and securely.</p><p><strong>Weeks 6–7</strong> — making work visible and trustworthy.</p><p><strong>Weeks 8–9</strong> — designing and shipping real systems.</p><p><strong>Week 10</strong> — defending and improving under review.</p><p><strong>Week 11</strong> — understanding what the ecosystem offers next.</p><p>Each phase assumed the previous one.</p><blockquote>Every phase assumed the previous one. The sequence was never accidental.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*GaFjWAn721S5DZ-p.png" /></figure><p>You can’t write a credible grants proposal without a deployed, verified project.</p><p>You can’t be whitelisted without a visible contribution history.</p><p>You can’t participate meaningfully in governance without understanding what you’re evaluating.</p><p>The sequence wasn’t accidental.</p><p>It was the curriculum for becoming someone the ecosystem would take seriously.</p><h3>What I’m Taking Forward</h3><p>Three things this week made clear:</p><p><strong>1. The program ends. The ecosystem doesn’t.</strong></p><p>The Rootcamp has a finish line. What it opens into doesn’t.</p><p><strong>2. Funding follows contribution, not just ideas.</strong></p><p>The whitelisting requirement exists because the ecosystem rewards those who showed up before they needed something. That’s worth internalizing well beyond Web3.</p><p><strong>3. Documentation is infrastructure.</strong></p><p>Every README, every blog post, every verified contract — they’re not artifacts of the learning process. They’re the foundation of a builder reputation inside a living ecosystem.</p><h3>Question for Fellow Rootcampers</h3><blockquote>Now that you understand what the Rootstock Collective offers — are you thinking about a grants proposal, or are you focused on finding your next build first?</blockquote><p><em>Follow my full Rootcamp journey:</em></p><p><em>GitHub: </em><a href="http://github.com/tusharshah21"><em>github.com/tusharshah21</em></a></p><p><em>X: </em><a href="https://x.com/tusharshahkumar"><em>@tusharshah</em>kumar</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd9da65ea910" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Builder Rootcamp — Week 10: Ship It, Defend It, Improve It]]></title>
            <link>https://medium.com/@tushar21/builder-rootcamp-week-10-ship-it-defend-it-improve-it-c519858b0b18?source=rss-48e76b06230------2</link>
            <guid isPermaLink="false">https://medium.com/p/c519858b0b18</guid>
            <category><![CDATA[builders]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[rootstock]]></category>
            <category><![CDATA[bootcamp]]></category>
            <category><![CDATA[bitcoin]]></category>
            <dc:creator><![CDATA[Tushar]]></dc:creator>
            <pubDate>Tue, 04 Aug 2026 17:50:11 GMT</pubDate>
            <atom:updated>2026-08-04T17:50:11.399Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CxLHDc6xANt_yyhD" /></figure><h4>The week you find out if your system actually holds</h4><p>There’s a moment every builder dreads slightly.</p><p>Not the building.</p><p>Not even the deadline.</p><p>It’s the moment someone who knows what they’re looking at — actually looks at it.</p><p>Week 10 was that moment.</p><p>The code was submitted. The demo was recorded. The contract was deployed.</p><p>And then the feedback arrived.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9iLzx0I7Yy6YZwSQ.png" /></figure><blockquote>Simple on paper.</blockquote><blockquote>Heavy in practice.</blockquote><blockquote>Because between “submitted” and “approved” — there’s a review. And that review is where the real learning happens.</blockquote><h3>Demo Day: The Three-Minute Test</h3><p>Before the review came the demo.</p><p>Three minutes. Four slides. One shot.</p><p>No live debugging. No “let me just quickly show you this other thing.”</p><p>Just you, your system, and a timer.</p><p>Preparing for it forced something useful:</p><p>The ability to say what your system is in a single sentence — without hedging, without over-explaining, without reaching for complexity to sound impressive.</p><p>For the Expiring Gift Vault:</p><blockquote>A sender locks funds. A recipient claims before the deadline. The sender reclaims after. Two outcomes. No third path.</blockquote><p>That’s it.</p><p>If you can’t say that clearly in thirty seconds, you haven’t understood your own system well enough yet.</p><blockquote>The demo enforced that clarity in a way no amount of solo building could.</blockquote><blockquote>Three minutes to prove that eight weeks of learning actually landed.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*819zEPtTeCNWxsvp.png" /></figure><h3>The Review: When Someone Smarter Looks at Your Code</h3><p>The mid-project review is the part of the Rootcamp that feels most like the real world.</p><p>Not because of the deadline.</p><p>Because of what good feedback actually does to you.</p><blockquote>Good feedback doesn’t break your system. It makes it correct.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pnaDvtlb8MUX3XSC.png" /></figure><blockquote>The reviewer — sebs — went through the contract line by line. The feedback wasn’t generic. It was specific, reasoned, and directly tied to what could go wrong in production.</blockquote><h3>Three things stood out.</h3><h4>1. The boundary gap</h4><p>claimGift() required block.timestamp &lt; expiry.</p><p>refundGift() required block.timestamp &gt; expiry.</p><p>Which means: at the exact moment block.timestamp == expiry — neither function could execute.</p><p>The gift would be temporarily frozen. Neither claimable nor refundable.</p><p>Not a vulnerability. But a logic gap. And on an immutable system — logic gaps are permanent.</p><p>The fix: refundGift() now uses block.timestamp &gt;= expiry. No dead zone. No frozen moment.</p><p>One character. Significant correctness improvement.</p><blockquote>The dead zone: when neither claim nor refund could execute at block.timestamp == expiry.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BYjie_Bs_J5Ca539.png" /></figure><h4>2. The wrong recipient problem</h4><p>If the sender typed the wrong address the funds would stay locked until expiry and only the sender could recover them via refund.</p><p>The recipient had no recourse. The sender had no correction path mid-flight.</p><p>The fix: updateRecipient(giftId, newRecipient) callable only by the sender, only before expiry, only on an active gift.</p><p>One function, tightly constrained, solving a real human problem.</p><h4>3. The stuck funds risk</h4><p>If the recipient address is a smart contract that rejects native token transfers the claim reverts.</p><p>The gift stays locked. No progression possible.</p><p>This one didn’t get a code fix it got a documentation fix.</p><p>Because sometimes the right answer isn’t to add complexity. It’s to clearly state the assumption your system makes and let the user decide if it applies to their situation.</p><p>That distinction between fixing in code vs documenting operational risk is a mature engineering call.</p><h3>What Implementing Feedback Actually Feels Like</h3><p>There’s a version of receiving critique that feels like failure.</p><p>There’s another version that feels like the system getting better.</p><p>Week 10 was the second one.</p><p>All three issues were addressed:</p><ul><li>Boundary gap fixed.</li><li>updateRecipient() added.</li><li>Tests updated and expanded — 15 passing.</li></ul><p>The contract was pushed. The docs were updated. The assumptions were written down explicitly.</p><p>And something subtle shifted in the process:</p><p>The system wasn’t just working anymore.</p><p>It was correct.</p><p>Those aren’t the same thing.</p><p>A working system passes its own tests.</p><blockquote>A correct system holds up when someone who didn’t write it goes looking for gaps.</blockquote><h3>Deployed. Verified. On-Chain.</h3><p>The final contract lives here:<a href="https://rootstock-testnet.blockscout.com/address/0xa8576ad4A6B3C143Ce7A7A3aD35b1e7AF628A4Cc#code">https://rootstock-testnet.blockscout.com/address/0xa8576ad4A6B3C143Ce7A7A3aD35b1e7AF628A4Cc#code</a></p><p><strong>Verified. Readable. Public.</strong></p><p>Anyone can look at the bytecode, the source, the transactions.</p><p>That’s what Week 6 meant when it talked about verification as transparency.</p><p>It’s different when it’s your own contract on the explorer.</p><p>Suddenly “<strong>blockchain transparency</strong>” isn’t a concept — it’s your code, permanently visible, with every design decision exposed for inspection.</p><p>There’s something clarifying about that.</p><p>It removes the option of vagueness.</p><blockquote>Verified on Rootstock Testnet every design decision, publicly readable.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DqPNxLNhLVPiEQu1.png" /></figure><h3>The Approval</h3><p>On April 9th, the message came through:</p><blockquote>“Congratulations! Your capstone project has been approved.”</blockquote><p>The thing that landed was the sentence before it:</p><blockquote>“That’s a big milestone.”</blockquote><p>Ten weeks. Eight concepts. One deployed, verified, reviewed, corrected, and approved system.</p><blockquote>That arc from “what is a blockchain node” to “here is my contract on Rootstock Testnet, reviewed and live” is what the Rootcamp was building toward.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0CcEpVHfpX1bw3cZ.png" /></figure><h3>What Comes Next</h3><p>The program isn’t over.</p><p>What’s left to become a Rootstock Certified Builder:</p><ul><li><strong>Module 9 </strong>— Rootstock Collective: grants and ecosystem opportunities.</li><li>Live closing session — April 13th.</li><li><strong>Module 10 </strong>— unlocks after the closing session.</li></ul><p>The closing session is described as having opportunities available only to Rootcamp Certified Builders.</p><p>After ten weeks of building that framing lands differently.</p><p><strong>It’s not just a certificate.</strong></p><p><strong>It’s access to what comes after.</strong></p><h3>Connecting the Dots</h3><p>Looking at the full arc now:</p><p><strong>Week 2</strong> — infrastructure intuition.</p><p><strong>Week 3</strong> — state machine thinking.</p><p><strong>Week 4</strong> — risk-first design.</p><p><strong>Week 5</strong> — security patterns.</p><p><strong>Week 6</strong> — verification and transparency.</p><p><strong>Week 7</strong> — trust and UX.</p><p><strong>Week 8</strong> — system design mindset.</p><p><strong>Week 9</strong> — building under pressure.</p><p><strong>Week 10</strong> — defending, improving, shipping.</p><p>Week 10 didn’t teach a new concept.</p><p>It proved that the previous nine had actually landed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9cdgTnNevCOy_9AO.png" /></figure><h3>What I’m Taking Forward</h3><p>Three things this week made permanent:</p><p><strong>1. A review is a gift, not a verdict.</strong></p><p>The feedback made the system better in ways I wouldn’t have caught alone.</p><p>That’s not failure. That’s the process working.</p><p><strong>2. Working and correct are different standards.</strong></p><p>Passing your own tests is the baseline.</p><p>Holding up under external scrutiny is the real bar.</p><p><strong>3. Documentation is part of the system.</strong></p><p>The stuck funds risk didn’t get a code fix.</p><p>It got an honest, explicit document.</p><blockquote>That decision to name a constraint rather than hide it in complexity — is its own kind of engineering maturity.</blockquote><h3>Question for Fellow Rootcampers</h3><blockquote>What did the review process reveal about your project that you hadn’t seen yourself?</blockquote><p><em>Follow my full Rootcamp journey:</em><br> <em>GitHub: </em><a href="http://github.com/tusharshah21"><em>github.com/tusharshah21</em></a><br> <em>X: </em><a href="https://x.com/tusharshahkumar"><em>@tusharshahkumar</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c519858b0b18" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Builder Rootcamp — Week 9: When the Learning Becomes the Build]]></title>
            <link>https://medium.com/@tushar21/builder-rootcamp-week-9-when-the-learning-becomes-the-build-97fd0cd1c575?source=rss-48e76b06230------2</link>
            <guid isPermaLink="false">https://medium.com/p/97fd0cd1c575</guid>
            <category><![CDATA[bootcamp]]></category>
            <category><![CDATA[rootstock]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Tushar]]></dc:creator>
            <pubDate>Sat, 01 Aug 2026 13:11:15 GMT</pubDate>
            <atom:updated>2026-08-01T13:11:15.894Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OetRr95wt-hhSVsV" /></figure><h3>The week you stop studying and start shipping</h3><p>Every week of the Rootcamp had a rhythm.</p><p>Show up. Absorb. Reflect. Write.</p><p>Week 9 broke that rhythm entirely.</p><p>There was no session to summarize.</p><p>No new concept introduced.</p><p>No framework to unpack.</p><p>Just one instruction, sitting at the top of the module:</p><blockquote><strong>Build your capstone.</strong></blockquote><p>And with that, eight weeks of learning collapsed into a single deliverable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*a5hTyNPcE98-3Um-.png" /></figure><h3>What “Build Week” Actually Feels Like</h3><p>When you’re learning, there’s always a safety net.</p><p>A concept that doesn’t click gets revisited. A mistake gets corrected in notes.</p><p>When you’re building on-chain, in public that net disappears.</p><p>Every assumption you haven’t enforced in code isn’t an assumption anymore.</p><p>It’s a gap.</p><p>The shift isn’t technical. It’s psychological.</p><p><strong>You stop asking <em>“do I understand this?”</em></strong></p><p><strong>You start asking <em>“have I proven this is correct?”</em></strong></p><p>Those are very different questions. And Week 9 is the first week where only the second one matters.</p><blockquote>The shift from learner to builder isn’t about what you know it’s about what you can prove.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*KbHoQqrtVkwzzjsX.png" /></figure><h3>The Mid Project Review</h3><p>Before the final submission, every builder went through a mid-project review.</p><p>A GitHub draft. A checkpoint. Not a showcase — a reality check.</p><p>This was one of the most underrated parts of the week.</p><p>Feedback came back on things that felt complete.</p><p>Edge cases that weren’t handled. Documentation that assumed too much. Design decisions that made sense in your head but weren’t visible in the code.</p><p>And that feedback changed the final submission — not cosmetically, but structurally.</p><p>There’s something Week 8 talked about but Week 9 made concrete:</p><blockquote>Systems don’t emerge fully formed. They improve under scrutiny.</blockquote><p>The mid-review wasn’t a hurdle. It was the process working as intended.</p><h3>My Project: Expiring Gift Vault</h3><p>For my capstone, I built the Expiring Gift Vault a time-constrained value transfer system on Rootstock.</p><p>The core idea is simple:</p><blockquote>A sender locks funds for a recipient. The recipient claims before a deadline. If they don’t, the sender reclaims the funds after expiry.</blockquote><p>Two people. One amount. One deadline. Two possible outcomes.</p><p>No third path. No workaround. No admin override.</p><p>The entire system is a state machine.</p><blockquote><em>Two outcomes. No third path. The constraint is the design.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*H6GQ2yJpS43nPGvY.png" /></figure><p>What made it interesting wasn’t the code it was the decisions the design forced me to make.</p><p>What happens exactly at the expiry boundary? What if the sender entered the wrong recipient address? What if the recipient address is a contract that rejects transfers?</p><p>None of those questions appear in a tutorial.</p><p>All of them appear when you’re actually building.</p><blockquote>That gap between knowing a concept and applying it under constraints is what Week 9 was really about.</blockquote><h3>Demo Day: 3 Minutes to Defend Everything</h3><p>The final milestone wasn’t a submission form.</p><p>It was a live demo.</p><p>The rules were strict:</p><ul><li>3 minutes maximum, enforced.</li><li>4 slides maximum.</li><li>Pre-recorded video strongly recommended.</li><li>Focus on core logic, not UI.</li></ul><p>Three minutes sounds generous until you try to fit eight weeks of thinking into it.</p><p>What it forced was clarity.</p><p>Not <em>“let me show you everything I built.”</em></p><p>But <em>“what is the one thing someone must understand about this system?”</em></p><p>That question is harder than it sounds.</p><p>And answering it well, it turns out, is the final skill the Rootcamp was building toward all along.</p><p>If you can explain your system in one sentence you probably designed it well. If you can’t the demo will show that too.</p><blockquote>Three minutes to explain everything you spent weeks building.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*jm3TxfKJyFjpZXkt.png" /></figure><h3>The Real Lesson of a Build Week</h3><p>Looking back at the full eight weeks, every session was teaching toward this moment.</p><p><strong>Week 2</strong> — respect for infrastructure.</p><p><strong>Week 3</strong> — thinking in states, not steps.</p><p><strong>Week 4</strong> — designing for failure, not just success.</p><p><strong>Week 5</strong> — never trusting assumptions.</p><p><strong>Week 6</strong> — making behavior visible and verifiable.</p><p><strong>Week 7</strong> — thinking about the person on the other side.</p><p><strong>Week 8</strong> — designing systems, not features.</p><p><strong>Week 9</strong> — proving all of it, in code, in public.</p><p>Week 9 didn’t introduce a new layer.</p><p>It asked you to stack all the previous ones simultaneously, under pressure, with a deadline.</p><p>The nonReentrant guard is Week 5.</p><p>The events emitted on every transition are Week 6.</p><p>The boundary edge case handling is Week 4.</p><p>The state machine structure is Week 3.</p><p>None of it applied in isolation. All of it had to hold together.</p><blockquote>Eight weeks. One stack. Applied all at once.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*NPYt2kT1sz42ET1Y.png" /></figure><h3>What I’m Taking Forward</h3><p>Three things this week permanently changed:</p><p><strong>1. Shipping forces clarity that studying never does.</strong></p><p>You can understand a concept abstractly for weeks. Building with it for three days teaches you more.</p><p><strong>2. The mid-review matters more than the final submission.</strong></p><p>The final submission is the output. The review is where the thinking improves.</p><p><strong>3. A system you can explain simply is a system you actually understand.</strong></p><p>Complexity is easy to build. Simplicity under constraints is the real craft.</p><h3>Reflection</h3><p>Week 9 was the week the Rootcamp stopped being a course.</p><p>It became a proof of work.</p><blockquote>Not proof that you followed along but proof that you internalized something, made a decision, defended it in code, and shipped it.</blockquote><p>That’s the shift I’ll carry forward long after the final demo.</p><h3>Question for Fellow Rootcampers</h3><blockquote>What surprised you most when your design hit reality the missing edge case, the unclear constraint, or something else entirely?</blockquote><p><em>Follow my full Rootcamp journey:</em></p><ul><li><em>GitHub: </em><a href="http://github.com/tusharshah21"><em>github.com/tusharshah21</em></a></li><li><em>X: </em><a href="https://x.com/tusharshahkumar"><em>@</em>tusharshahkumar</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=97fd0cd1c575" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Builder Rootcamp- Week 8: Designing Systems That Don’t Break]]></title>
            <link>https://medium.com/@tushar21/builder-rootcamp-week-8-designing-systems-that-dont-break-fbb324852761?source=rss-48e76b06230------2</link>
            <guid isPermaLink="false">https://medium.com/p/fbb324852761</guid>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[rootstock]]></category>
            <category><![CDATA[builders]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[bootcamp]]></category>
            <dc:creator><![CDATA[Tushar]]></dc:creator>
            <pubDate>Wed, 29 Jul 2026 07:01:02 GMT</pubDate>
            <atom:updated>2026-07-29T07:01:02.792Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cWJKGEu7cyEiRykN" /></figure><h3>From writing code to enforcing system behavior</h3><p>Week 8 of Builder Rootcamp was not about learning something new.</p><p>It was about proving that you understand everything learned so far.</p><p>Until now, each week isolated a concept:</p><ul><li>Infrastructure.</li><li>Testing.</li><li>Security.</li><li>Deployment.</li><li>Verification.</li><li>UX.</li></ul><p>Week 8 combined all of it into one challenge:</p><blockquote>Design a system that behaves correctly under all conditions.</blockquote><h3>The Capstone Mindset</h3><p>The session introduced a critical shift:</p><ul><li>You are not building an app.</li><li>You are designing a system defined by constraints.</li></ul><p>From the session, a capstone is:</p><ul><li>A small on-chain system.</li><li>Defined by rules.</li><li>Focused on behavior, not UI.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xcRSG1cV21zQAjdt.png" /></figure><h3>What This Really Means</h3><p>This changes how you think about development.</p><p>You are not asking: <strong><em>what features should I add?</em></strong></p><p>You are asking:</p><ul><li>What states can exist?</li><li>What transitions are allowed?</li><li>What must never happen?</li></ul><p>That is system design.</p><h3>What the Evaluators Care About</h3><p>The evaluation criteria reveal the real goal.</p><p><strong>Systems Thinking</strong> — can you define strict, enforceable rules?</p><p><strong>Technical Execution</strong> — does your code enforce those rules correctly?</p><p><strong>Documentation</strong> — can you explain why your system is correct?</p><blockquote>This is not about complexity.</blockquote><blockquote>It’s about clarity and correctness.</blockquote><h3>My Capstone: State Machine Vault with Expiry Logic</h3><p>To align with this mindset, I chose to build a State Machine Vault with Expiry Logic — a deterministic system where:</p><ul><li>Funds are locked with conditions.</li><li>Time defines behavior.</li><li>Access is controlled.</li><li>Transitions are enforced.</li></ul><h3>The Core Idea</h3><p>Instead of writing functions like claim() and refund(), the system is defined as a finite state machine with time-based constraints.</p><blockquote>A smart contract is best understood as a state machine with strictly defined transitions.</blockquote><pre>INITIALIZED → ACTIVE → (CLAIMED | EXPIRED → REFUNDED)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*s58u7KXm1mWG916k.png" /></figure><h3>State Definitions</h3><ul><li><strong>Initialized</strong> — vault created, funds locked.</li><li><strong>Active</strong> — awaiting claim before expiry.</li><li><strong>Claimed</strong> — funds transferred to recipient.</li><li><strong>Expired</strong> — time condition met.</li><li><strong>Refunded</strong> — funds returned to sender.</li></ul><h3>Transition Rules</h3><p>This is where correctness lives.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*QtrbO-LruaLx-xlNTH6WlA.png" /></figure><blockquote>Correctness comes from allowing only valid transitions and rejecting everything else.</blockquote><h3>Why State Machines Matter</h3><p>This approach prevents:</p><ul><li>Double execution.</li><li>Unauthorized access.</li><li>Invalid state transitions.</li></ul><blockquote>Instead of checking conditions inside functions randomly, you define a strict system of allowed transitions.</blockquote><h3>Failure Thinking (The Real Depth)</h3><p>The most important part of Week 8:</p><blockquote>Thinking about failure before writing code.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Nhz79VrWHdwPkFs5.png" /></figure><h3>What Can Go Wrong?</h3><p>For this system:</p><ul><li>Claim after expiry.</li><li>Refund before expiry.</li><li>Double claim.</li><li>Double refund.</li><li>Reentrancy attempts.</li><li>Incorrect state transitions.</li></ul><p>Each of these must be explicitly prevented.</p><blockquote>Designing for failure means anticipating how the system can be misused — not just how it should work</blockquote><h3>Events as System Signals</h3><p>Another important aspect: events are not just logs.</p><p>They are observable state transitions.</p><p>For example: VaultCreated, Claimed, Refunded.</p><p>Events enable:</p><ul><li>Indexing — connecting back to Week 6.</li><li>Frontend sync.</li><li>Monitoring.</li></ul><h3>Time as a First-Class Constraint</h3><p>Time introduces complexity:</p><ul><li>Block timestamps are not perfectly precise.</li><li>Edge conditions exist around expiry boundaries.</li></ul><p>So the logic must be explicit — block.timestamp &lt;= expiry — consistent, and tested for edge cases.</p><blockquote>Time introduces constraints that directly influence contract behavior and state transitions.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AnCqWltSZ4yljc3A.png" /></figure><h3>Replit — Speed vs Control</h3><p>We also explored Replit.</p><p>Key benefits: zero setup, instant collaboration, fast prototyping.</p><p>But from a builder perspective, there’s a tradeoff faster setup, less control over environment.</p><h3>The Real Difficulty</h3><p>Writing the contract is not the hardest part.</p><p>The hardest part is:</p><ul><li>Defining rules correctly.</li><li>Anticipating misuse.</li><li>Keeping the system minimal.</li></ul><p>Because complexity introduces risk.</p><h3>Connecting the Dots</h3><p>At this point, the progression is clear:</p><ul><li>Week 2 → Infrastructure.</li><li>Week 3 → Correctness.</li><li>Week 4 → Risk.</li><li>Week 5 → Security.</li><li>Week 6 → Verification and data.</li><li>Week 7 → UX and trust.</li><li>Week 8 → System design.</li></ul><p>This is no longer Web3 development.</p><blockquote>This is engineering under irreversible constraints.</blockquote><h3>What I’m Taking Forward</h3><p>Three key shifts:</p><p><strong>1. Functions don’t define systems — transitions do.</strong></p><p><strong>2. Every assumption must be enforced.</strong></p><p><strong>3. Simplicity is a security feature.</strong></p><p>A well-designed system ensures correct outcomes across all possible user interactions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Cw9zb-iPHEK4jLtS.png" /></figure><h3>Why This Matters on Rootstock</h3><p>Rootstock brings Bitcoin-level security, EVM compatibility, and public execution.</p><p>Which means:</p><ul><li>Systems must be correct.</li><li>Behavior must be predictable.</li><li>Errors must be impossible.</li></ul><h3>What’s Next</h3><p>Now comes the final phase:</p><ul><li>Implementation.</li><li>Testing.</li><li>Verification.</li><li>Demo.</li></ul><p><em>But most importantly defending your design decisions.</em></p><h3>Reflection</h3><p>Week 8 made something very clear:</p><blockquote>Anyone can write a smart contract.</blockquote><blockquote>Very few can design a system that cannot be misused.</blockquote><h3>Question for Fellow Rootcampers</h3><blockquote>What took more time for you: writing the logic, or defining the rules that make the logic safe?</blockquote><p><em>Follow my full Rootcamp journey:</em></p><ul><li><em>GitHub: </em><a href="http://github.com/tusharshah21"><em>github.com/tusharshah21</em></a></li><li><em>X: </em><a href="https://x.com/tusharshahkumar"><em>@tusharshahkumar</em></a></li></ul><p><em>This is Week 8 of a 12-week series documenting the Rootstock Builder Rootcamp. Follow to catch the full arc.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fbb324852761" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Builder Rootcamp -Week 7: Trust, Verification & Wallet UX at Scale]]></title>
            <link>https://medium.com/@tushar21/builder-rootcamp-week-7-trust-verification-wallet-ux-at-scale-eb3201e7b3b5?source=rss-48e76b06230------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb3201e7b3b5</guid>
            <category><![CDATA[builders]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[bootcamp]]></category>
            <category><![CDATA[rootstock]]></category>
            <category><![CDATA[bitcoin]]></category>
            <dc:creator><![CDATA[Tushar]]></dc:creator>
            <pubDate>Sat, 25 Jul 2026 06:43:50 GMT</pubDate>
            <atom:updated>2026-07-25T06:43:50.609Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Oh58pNK83acsKIMe" /></figure><h3>From verification to user interaction</h3><p>Week 7 of Builder Rootcamp connected two critical pieces of the Web3 stack:</p><ul><li>Trust — via smart contract verification.</li><li>Access — via wallet infrastructure and AppKit.</li></ul><p>Until now, we have focused on:</p><ul><li>Writing contracts.</li><li>Testing correctness.</li><li>Deploying safely.</li></ul><blockquote>How do users trust and interact with what we build?</blockquote><h3>Smart Contract Verification: Trust Is Not Assumed</h3><p>After deployment, what actually exists on-chain?</p><ul><li>A contract address.</li><li>Bytecode not source code.</li><li>That’s the problem.</li></ul><blockquote>Bytecode is not human-readable. Without verification, users are interacting with something they cannot inspect.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0DCmKmTkl395KXho.png" /></figure><h3>What Verification Actually Does</h3><blockquote>Verification is the process of matching on-chain bytecode with compiled source code to prove they correspond.</blockquote><p>This creates a bridge between:</p><ul><li>Machine-level execution — bytecode.</li><li>Human-level understanding — source code.</li></ul><h3>What Verification Proves vs What It Doesn’t</h3><p>This distinction was critical.</p><p><strong>Verification proves:</strong> source code matches deployed bytecode, compiler settings are correct, and deployment is reproducible.</p><p><strong>Verification does NOT prove:</strong> the code is secure, the logic is correct, or that no vulnerabilities exist.</p><p>This was a strong reality check.</p><blockquote>Verification builds transparency — not safety.</blockquote><h3>Why Verification Matters</h3><p>From the session:</p><ul><li>Transparency — users can read the code.</li><li>Trust minimization — no need to trust the deployer.</li></ul><p>But there’s another layer:</p><ul><li><strong>Detecting malicious logic.</strong></li><li><strong>Identifying proxy patterns.</strong></li><li><strong>Comparing implementations.</strong></li></ul><p>Verification is the first line of defense for users.</p><h3>How Verification Works (Simplified)</h3><p>The flow is straightforward:</p><ol><li>The developer deploys the contract.</li><li>Bytecode is stored on-chain.</li><li>The developer submits source code.</li><li>The explorer recompiles and compares it.</li></ol><p><strong>If matched — the contract is verified.</strong></p><h3>What Becomes Available After Verification</h3><p>Once verified, a contract exposes:</p><ul><li>Full source code — including imports and libraries.</li><li>ABI — functions, events, errors.</li></ul><p>This is what enables:</p><ul><li>Frontend integrations.</li><li>Wallet decoding.</li><li>Developer composability.</li></ul><blockquote>ABI acts as the bridge between smart contracts and user-facing applications.</blockquote><blockquote>Without ABI, interaction becomes guesswork.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*E_oF3HmI_yHP6aV9.png" /></figure><h3>Method Selectors and Hidden Complexity</h3><p>Every function call is encoded into calldata using a 4-byte selector.</p><p>This creates two implications:</p><ol><li>Collisions are possible, though rare.</li><li>Without ABI, selectors are opaque to users.</li></ol><p>This is why tools like 4byte.directory exist — to map selectors back to human-readable signatures.</p><blockquote>From a builder perspective: if your contract is not verified, users and wallets cannot reliably interpret what a transaction is doing.</blockquote><h3>How Wallets Actually Read Transactions</h3><blockquote>Wallets rely on ABI to convert raw calldata into human-readable actions.</blockquote><p><strong>Without ABI:</strong> wallets show raw hex calldata, users see unclear or generic prompts, and the risk of signing unintended transactions increases.</p><p><strong>With ABI:</strong> functions are decoded (transfer, approve, etc.), parameters are visible, and users can make informed decisions.</p><blockquote>This is where verification directly impacts user safety.</blockquote><blockquote>Good UX is not just convenience — it is a security layer.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*f131zRKqhuvHpgOx.png" /></figure><h3>Security Insight</h3><p>One line stood out:</p><ul><li>Verification ≠ audit.</li><li>Verification ≠ safety.</li></ul><p><strong>This reinforces Week 4: trust is layered. Verification is just one layer.</strong></p><h3>Session - Reown AppKit: UX Is the Gateway to Web3</h3><p>After trust, the next problem is access.</p><p>Even if your contract is secure, tested, and verified — users still need a way to interact with it.</p><p>That’s where AppKit comes in.</p><h3>What AppKit Does</h3><blockquote>AppKit simplifies wallet connectivity across hundreds of wallets and chains.</blockquote><p>AppKit acts as a unified wallet and connection layer:</p><ul><li>Connects your dApp to<strong> 600+ wallets</strong>.</li><li>Provides onboarding flows.</li><li>Handles authentication.</li><li>Supports multichain environments.</li></ul><h3>Why This Matters</h3><p>Wallet fragmentation is a real problem:</p><ul><li>Different wallets.</li><li>Different connection flows.</li><li>Different UX expectations.</li></ul><p>AppKit abstracts this complexity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hb_BQKt1Qqad1dnV.png" /></figure><h3>Onboarding as a Product Layer</h3><blockquote>Modern onboarding removes friction by blending Web2 login with Web3 ownership.</blockquote><p>Modern Web3 onboarding includes:</p><ul><li>Email login.</li><li>Social login — Google, X, Discord, and others.</li><li>Smart accounts.</li><li>Embedded wallets.</li></ul><p>This removes seed phrase friction and wallet setup barriers. And introduces Web2-like onboarding with Web3 ownership.</p><h3>Real Capabilities</h3><p>AppKit enables:</p><ul><li>Swaps.</li><li>Funding wallets.</li><li>Deposits.</li><li>Transaction history.</li></ul><p>All within a unified interface.</p><blockquote>This transforms wallets from “key storage tools” into “full financial interfaces.”</blockquote><h3>Multi-Platform and Multi-Chain</h3><p>Another strong takeaway:</p><ul><li>Works across Web, Mobile, and Unity.</li><li>Supports 300+ EVM networks, plus Solana and Bitcoin.</li></ul><blockquote>This is not just a wallet layer. It’s an infrastructure layer for cross-chain UX.</blockquote><h3>Developer Experience</h3><p>AppKit provides:</p><ul><li>CLI setup — npx @reown/appkit-cli</li><li>SDKs for multiple frameworks.</li><li>Ready-to-use examples.</li><li>Dashboard analytics.</li></ul><p>This reduces integration time, onboarding complexity, and UX inconsistencies.</p><h3>The Real Week 7 Shift</h3><p>Week 7 connected two critical ideas:</p><ul><li>Users must be able to verify what they interact with.</li><li>Users must be able to easily interact with it.</li></ul><blockquote>Without verification — no trust.</blockquote><blockquote>Without UX — no adoption.</blockquote><h3>What I’m Taking Forward</h3><p>Three major insights:</p><p><strong>1. Verification is a transparency layer, not a security guarantee.</strong></p><p><strong>2. ABI is the bridge between contracts and users.</strong></p><p><strong>3. Wallet UX defines whether users actually complete actions.</strong></p><p>And one important realization:</p><blockquote>A verified contract that users can’t interact with is as useless as an unverified one.</blockquote><h3>Why This Matters on Rootstock</h3><p>Rootstock combines Bitcoin-level security, EVM compatibility, and public execution.</p><p>That means:</p><ul><li>Users must verify contracts.</li><li>Wallets must clearly explain interactions.</li><li>Builders must reduce friction.</li></ul><h3>Question for Fellow Rootcampers</h3><p>What matters more in your current build: making your contract verifiable, or making it usable for a non-crypto-native user?</p><p><em>Follow my full Rootcamp journey:</em></p><p><em>GitHub: </em><a href="http://github.com/tusharshah21"><em>github.com/tusharshah21</em></a></p><p><em>X: </em><a href="https://x.com/tusharshahkumar">x.com/tusharshahkumar</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb3201e7b3b5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Builder Rootcamp -Week 6: From Bytecode to Data]]></title>
            <link>https://medium.com/@tushar21/builder-rootcamp-week-6-from-bytecode-to-data-1d10f4534087?source=rss-48e76b06230------2</link>
            <guid isPermaLink="false">https://medium.com/p/1d10f4534087</guid>
            <category><![CDATA[rootcamp]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[rootstock]]></category>
            <category><![CDATA[layer-2]]></category>
            <category><![CDATA[bitcoin]]></category>
            <dc:creator><![CDATA[Tushar]]></dc:creator>
            <pubDate>Wed, 08 Jul 2026 06:52:23 GMT</pubDate>
            <atom:updated>2026-07-08T06:52:23.069Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1U1kOvr660z5af79" /></figure><h4>Understanding what happens after deployment</h4><p><em>This is Week 6 of my ongoing series documenting the Rootstock Builder Rootcamp a 12-week program building on Bitcoin-secured, EVM-compatible Rootstock.</em></p><p>By Week 6 of Builder Rootcamp, the focus shifted from writing and deploying contracts to understanding what happens <em>after</em> a contract is deployed.</p><p>Two themes defined the week:</p><ul><li>Understanding what the EVM actually executes.</li><li>Making blockchain data usable for applications.</li></ul><p>At a surface level, deploying a smart contract feels simple. But the deeper we go, the clearer it becomes that deployment is only the beginning of a much larger lifecycle.</p><h3>Deploying Smart Contracts (Under the Hood)</h3><p>Until now, deployment mostly felt like a workflow:</p><blockquote>Write contract → compile → deploy → interact</blockquote><p>This session pushed us deeper into what is actually being deployed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cpWJZzgxbgHkyCr8.png" /></figure><h3>Compiled Bytecode vs Deployed Bytecode</h3><p>One key concept that stood out was the distinction between two types of bytecode.</p><ol><li><strong>Compiled bytecode</strong> is the output generated by the Solidity compiler. It contains constructor logic and deployment instructions.</li><li><strong>Deployed bytecode</strong> is the runtime code stored on-chain after deployment the code executed when users interact with the contract.</li></ol><p>The constructor logic only runs once during deployment. After that, only the runtime bytecode remains stored on-chain.</p><p>This means the blockchain never stores the entire compiled output only the executable logic required for future interactions. That detail alone explains why debugging deployed contracts often feels very different from debugging source code</p><blockquote>Compiled bytecode includes deployment logic, while deployed bytecode represents the runtime code executed by the EVM.</blockquote><h3>The EVM Execution Model</h3><p>We also revisited how the Ethereum Virtual Machine processes instructions.</p><p>The EVM operates as a stack-based virtual machine, meaning computations occur through a stack structure where values are pushed and popped during execution.</p><p>Three primary data locations are involved:</p><ul><li><strong>Stack</strong> — temporary values used during execution.</li><li><strong>Memory</strong> — short-term data during a transaction.</li><li><strong>Storage</strong> — permanent data stored on-chain.</li></ul><p>Storage is the most expensive operation in gas terms because it writes persistent state to the blockchain.</p><p>Understanding this hierarchy changes how you think about smart contract design. Gas optimization becomes less about clever tricks and more about minimizing expensive storage operations.</p><blockquote><em>The EVM processes smart contracts through stack operations, temporary memory, and persistent storage.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qo8GSiftxYhIWnZD.png" /></figure><h3>Bytecode Has No Secrets</h3><p>One of the most important security insights from the session was simple:</p><p><strong>Nothing on-chain is secret.</strong></p><p>Even if a variable is marked <strong>private </strong>in Solidity, the underlying data stored in contract storage can still be read using RPC calls.</p><p>Bytecode, storage, and transaction inputs are always public. Anyone can analyze or even decompile contracts after deployment.</p><p>This reinforces an important mindset shift for Web3 developers:</p><blockquote>You are always building in a transparent environment.</blockquote><h3>Protecting Private Keys and Secrets</h3><p>Another practical part of the session focused on protecting developer credentials.</p><p>Hardcoding private keys inside code repositories is one of the most common ways developers lose funds. Bots actively scan GitHub for exposed keys and drain wallets within minutes.</p><p>A hierarchy of secret management methods was discussed:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/836/1*Pam9mdR6f8V5ux7NTWQ16Q.png" /></figure><p>The takeaway was clear: the way you manage keys should evolve with the importance of the system you’re building.</p><h3>Verifying Smart Contracts</h3><p>After deployment comes another important step: verification.</p><blockquote>Verification links deployed bytecode with the original source code, enabling transparency and interoperability.</blockquote><p>Verification links deployed bytecode back to the original source code. Without verification, block explorers can only show raw bytecode.</p><p>With verification, developers gain access to:</p><ul><li>The full source code.</li><li>The contract ABI.</li><li>Decoded transaction logs.</li></ul><p>This improves developer experience and allows other applications to interact with the contract more easily.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FYG8LNhdrZ_e-ELk.png" /></figure><h3>Why Verification Matters</h3><p>Verification is important for three reasons.</p><ul><li><strong>Transparency</strong> — anyone can inspect the contract logic.</li><li><strong>Interoperability</strong> — other developers can integrate using the ABI.</li><li><strong>Trust</strong> — users can verify that deployed code matches the published source.</li></ul><p>Verification aligns with one of the core principles of blockchain systems:</p><blockquote><strong>Don’t trust. Verify.</strong></blockquote><h3>How Verification Works</h3><p>Verification usually follows two main paths.</p><ol><li><strong>Independent verification:</strong> developers can compile the contract locally and compare the resulting bytecode with the bytecode stored on-chain. <strong>If the outputs match, the contract is verified.</strong></li><li><strong>Explorer verification:</strong> developers can submit the source code directly to a block explorer. The explorer compiles the contract and checks whether the generated bytecode matches the deployed version. <strong>If the match is confirmed, the contract becomes publicly verified.</strong></li></ol><h3>Session — The Graph and Data Indexing</h3><p>The final session of the week introduced a completely different layer of the Web3 stack: <strong>data indexing</strong>.</p><blockquote>The Graph transforms blockchain events into indexed data that applications can query efficiently.</blockquote><p>A common misconception about blockchains is that data is easy to query. In reality, blockchains are optimized for writing transactions, not for querying large datasets.</p><p>Trying to query historical blockchain data directly can be slow and inefficient.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*sb31Qe3iOu73zmg-.png" /></figure><h3>The Problem With Blockchain Data</h3><p>Blockchains store information efficiently for validation and security, but they are not designed to act like traditional databases.</p><p>This creates a challenge for applications that need to retrieve data such as:</p><ul><li>Historical transactions.</li><li>Token ownership history.</li><li>NFT metadata.</li><li>Aggregated statistics.</li></ul><h3>Enter The Graph</h3><p>The Graph solves this problem by providing <strong>decentralized indexing and querying for blockchain data</strong>.</p><p>Instead of repeatedly scanning the blockchain, developers define a subgraph that describes how events should be indexed.</p><p>These subgraphs allow applications to query blockchain data using GraphQL APIs.</p><p>The Graph network currently processes billions of queries per day across thousands of deployed subgraphs.</p><h3>What a Subgraph Looks Like</h3><p>A subgraph typically includes three main components.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/837/1*lgIfKRHI3iR8pgfdo-eE9g.png" /></figure><p>Together, these components transform raw blockchain events into structured data that applications can query efficiently.</p><blockquote>A subgraph defines how blockchain events are indexed and exposed to applications.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9SVmuwTXkIaVgrCb.png" /></figure><h3>What I’m Taking Forward</h3><p>Three lessons stood out this week:</p><p><strong>1. Deployment is not the end of the lifecycle — it’s the beginning.</strong></p><p><strong>2. Bytecode transparency means security must be designed from the start.</strong></p><p><strong>3. Data accessibility is just as important as contract functionality.</strong></p><blockquote>Smart contracts define logic, but infrastructure like explorers, indexing systems, and developer tooling determine whether applications are actually usable.</blockquote><h3>What’s Next</h3><p>As Builder Rootcamp moves toward the final stages, the focus shifts toward combining these pieces:</p><ul><li>Secure contract design.</li><li>Deployment workflows.</li><li>Data indexing.</li><li>Frontend integration.</li></ul><p>The goal is no longer just deploying contracts it’s building<strong> complete decentralized applications that people can actually use.</strong></p><h3>Question for Fellow Rootcampers</h3><blockquote>What surprised you more this week: how transparent deployed bytecode actually is, or how difficult it is to query blockchain data without indexing tools like The Graph?</blockquote><p><a href="http://github.com/tusharshah21"><em>GitHub</em></a><em> | </em><a href="https://www.linkedin.com/in/tushar21shah"><em>Linkedin</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1d10f4534087" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Builder Rootcamp -Week 5: Security, Deployment & Real Users on Rootstock]]></title>
            <link>https://medium.com/@tushar21/builder-rootcamp-week-5-security-deployment-real-users-on-rootstock-4e2efb372cc8?source=rss-48e76b06230------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e2efb372cc8</guid>
            <dc:creator><![CDATA[Tushar]]></dc:creator>
            <pubDate>Wed, 01 Jul 2026 15:54:05 GMT</pubDate>
            <atom:updated>2026-07-01T15:54:05.348Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OxnnFEYP79vYzuq-.png" /></figure><h4>What happens when a technical course starts feeling like product engineering</h4><p>Week 5 of Builder Rootcamp marked a turning point. Until now, the focus was on:</p><ul><li>Writing smart contracts.</li><li>Testing correctness.</li><li>Understanding infrastructure.</li><li>This week expanded the lens.</li></ul><blockquote>Security is not optional. Deployment is irreversible. And wallets define user reality.</blockquote><p><em>For the first time, the focus moved from “does my contract work?” to:</em></p><ul><li><em>Is it secure?</em></li><li><em>Is it deploy-ready?</em></li><li><em>Can real users actually use it?</em></li></ul><h3>Smart Contract Security — The Cost of Getting It Wrong</h3><p>The session opened with a stark reminder: over $80 billion has already been lost in Web3 exploits.</p><ul><li>Security in Web3 is uniquely difficult because:</li><li>Solidity is relatively young.</li><li>Source code is public.</li><li>Contract balances are public.</li><li>Exploits can be semi-anonymous.</li></ul><blockquote>Security in Web3 is financial security — vulnerabilities are capitalized immediately.</blockquote><p>This changes the mindset entirely. In Web2, a vulnerability might leak data. In Web3, a vulnerability drains funds permanently.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rfgT_Ek6xIgkRRE0.png" /></figure><h3>Common Smart Contract Risks</h3><p>The session referenced OWASP’s Smart Contract Top 10, highlighting recurring patterns:</p><ul><li>Access control vulnerabilities.</li><li>Lack of input validation.</li><li>Reentrancy attacks.</li><li>Arithmetic errors.</li><li>Flash loan attacks.</li></ul><p>What stood out to me here was this:</p><blockquote><em>Most exploits aren’t genius-level hacks. They’re simple logic mistakes amplified by immutable execution.</em></blockquote><h3>Defense-in-Depth: Security as a Process</h3><p>Security was framed not as a checklist, but as a layered system.</p><blockquote><em>Security is not a feature — it’s a layered system embedded from design to deployment.</em></blockquote><p>Defense-in-depth means building security at every layer:</p><ul><li><strong>Threat Modeling</strong> — identify assets, threats, risks, and mitigations before writing code.</li><li><strong>Secure Dev Patterns — </strong>checks-effects-interactions, pull-over-push, proper access control.</li><li><strong>Testing Guides</strong> — OWASP SCS Testing Guide and SCSVS.</li><li><strong>CI/CD Security</strong> — Slither, Semgrep, AI code review.</li><li><strong>Audits and Bounties</strong> — external review before going to production.</li></ul><p>The biggest shift for me:</p><blockquote>Security isn’t added at the end. It’s designed from the beginning. The “shift-left” principle wasn’t just mentioned it was reinforced again in the deployment module.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hkxq_znZ0KJ1HL8I.png" /></figure><h3>Deployment Is Not Just “Click Deploy”</h3><p>The deployment module forced another realization.</p><p>A blockchain transaction is:</p><ul><li>An instruction modifying state.</li><li>Signed by an EOA.</li><li>Validated by peer nodes.</li><li>Included after consensus.</li><li>But deployment transactions are special. They:</li><li>Send bytecode to a null address.</li><li>Store new bytecode on-chain.</li><li>Assign a new smart contract address.</li></ul><p>And once deployed:</p><ul><li>Contract state is mutable.</li><li>Contract implementation is immutable.</li></ul><blockquote>Deployment finalizes logic state evolves, implementation does not.</blockquote><p>That line changes everything.You can update state. You cannot casually update logic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EzPtdgA008r_V0Q9.png" /></figure><h3>Rootstock-Specific Detail: REMASC</h3><p>A unique detail in this module was the REMASC transaction type:</p><ul><li>Pre-compiled smart contract.</li><li>Auto-executed every block.</li><li>Splits transaction fees among miners.</li><li>Specific to Rootstock.</li></ul><p>It reinforced something subtle: even network incentives are encoded in smart contracts. That’s architectural depth most developers never consider.</p><h3>Remix vs Hardhat vs Foundry</h3><p>Deployment tooling matters.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/859/1*JWbYK-I_YiBXp0cmt25iKg.png" /></figure><p>My takeaway: Remix teaches you. Hardhat scales you. Foundry disciplines you.</p><h3>Guest Session: Para Wallet Users Are the Real Test</h3><p>After security and deployment, the Para Wallet session shifted the perspective completely.</p><p>The core message:</p><blockquote>Wallets are not storage tools. They are the user interface of Web3.</blockquote><blockquote>Wallet abstraction reduces friction adoption begins with user experience.</blockquote><p>Para provides:</p><ul><li>Universal EVM wallets.</li><li>Embedded wallet infrastructure.</li><li>Server wallet SDK.</li><li>Instant wallet APIs.</li><li>Drop-in authentication.</li></ul><p>The emphasis was clear: developers shouldn’t sacrifice UX for security.</p><h3>UX Is Adoption</h3><p>Para’s examples reframed the builder mindset.</p><ul><li><strong>Xelio</strong> uses WhatsApp and SMS payments — wallet abstraction removing every barrier to entry.</li><li><strong>Rampa</strong> powers cross-border remittance — wallets functioning as financial gateways.</li><li><strong>Decal</strong> builds loyalty infrastructure wallets so invisible users never know they’re using one.</li></ul><p>What clicked for me here:</p><blockquote>You can build the most secure smart contract in the world. If onboarding requires a seed phrase and 3 popups, most users will never complete the transaction.</blockquote><h3>The Real Week 5 Shift</h3><p>Week 5 connected three layers:</p><ul><li>Secure the logic.</li><li>Deploy responsibly.</li><li>Design for real humans.</li></ul><p>Security protects funds. Deployment defines permanence. Wallet UX defines adoption.</p><p>This is the first week where Rootcamp stopped feeling like a technical course and started feeling like product engineering.</p><h3>What I’m Taking Forward</h3><p>Three major mindset upgrades:</p><p><strong>1. Threat modeling before writing complex logic.</strong></p><p><strong>2. Deployment is an irreversible architectural decision.</strong></p><p><strong>3. Wallet UX is a product strategy, not just integration.</strong></p><p>And one subtle realization:</p><p>Bitcoin-level security doesn’t excuse poor user experience.</p><h3>What’s Next</h3><p>As we move closer to final projects, the focus becomes holistic:</p><p>Secure. Deployable. Usable. Not just functional.</p><h3>Question for Fellow Rootcampers</h3><blockquote>What changed your perspective more this week: security depth, deployment irreversibility, or wallet UX?</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e2efb372cc8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>