efe.sui
25 posts


Day 21 / 21 – Sui Challenge
Today’s progress:
– Wrote 8 comprehensive tests for the Farm project.
– Verified everything: Happy paths, error cases, and limits.
– CHALLENGE COMPLETED!!
#Sui #Move @ercandotsui @Devrimdotsui @mericdotsui @electrogu
English

Day 20 / 21 – Sui Challenge
Today’s progress:
– Learned how to use Events (sui::event).
– Defined a PlantEvent to signal when planting happens.
– Emitted a message on-chain for every new plant.
#Sui #Move @ercandotsui @Devrimdotsui @mericdotsui @electrogu
English

Day 19 / 21 – Sui Challenge
Today’s progress:
– Wrote "read-only" functions to check Farm stats.
– Learned to use &Farm to look at data without changing it.
– Added ways to see total planted and harvested counts.
#Sui #Move @ercandotsui @Devrimdotsui @mericdotsui @electrogu
English

Day 18 / 21 – Sui Challenge
Today’s progress:
– Wrote entry functions to update the Farm object.
– Learned how to pass objects (&mut Farm) into functions.
– Made planting and harvesting work on-chain.
#Sui #Move @ercandotsui @Devrimdotsui @mericdotsui @electrogu
English

Day 16 / 21 – Sui Challenge
Today’s progress:
– Created my first real Sui Object (Farm).
– Learned why UID and key are important.
– Used object::new to give a unique ID to my struct.
#Sui #Move @ercandotsui @Devrimdotsui @mericdotsui @electrogu
English

Day 15 / 21 – Sui Challenge
Today’s progress:
– Started the final project: Farm Simulator.
– Designed the FarmCounters struct.
– Added rules to track plots and prevent duplicate planting.
#Sui #Move @ercandotsui @Devrimdotsui @mericdotsui @electrogu
English

Day 14 / 21 – Sui Challenge
Today’s progress:
– Wrote tests for the Bounty Board project.
– Checked if adding tasks and counting rewards works correctly.
– Ran sui move test to verify everything.
#Sui #Move @ercandotsui @Devrimdotsui @mericdotsui @electrogu
English

Day 13 / 21 – Sui Challenge
Today’s progress:
– Used loops to read the task list.
– Calculated the total reward amount.
– Counted how many tasks are done.
#Sui #Move @ercandotsui @Devrimdotsui @mericdotsui @electrogu
English

Day 6 / 21 – Sui Challenge
Today’s progress:
– Refactored the Habit struct to use String instead of raw vector<u8>.
– Learned how to convert bytes to proper strings using string::utf8.
– Updated the constructor to accept more readable text inputs.
#Sui #Move @ercandotsui
English

