Alex Kim pfp

Alex Kim

@alexkimr

10 Following
13 Followers


Alex Kim pfp
Alex Kim
@alexkimr
#DailyChallenge Day 15 - Played with JSON-RPC - Sent a eth_blockNumber request to a Base node using Rust. - Parsed and converted the block number from hex to decimal.
0 reply
0 recast
2 reactions

Alex Kim pfp
Alex Kim
@alexkimr
#DailyChallenge Day 14: I built a Base blockchain explorer that: - Fetches transaction history and shows both ETH and USDC transfers - Uses BaseScan API and 'reqwest' for HTTP requests & 'serde_json' for parsing - Displays numbered transactions in terminal
0 reply
0 recast
3 reactions

Alex Kim pfp
Alex Kim
@alexkimr
#DailyChallenge Day 13 Today: - Connected to Base using an RPC endpoint. - Retrieved the current block number. - Used ethers-rs for Base integration. - Managed RPC URLs securely with .env. - Used tokio for handling asynchronous blockchain requests. Doing little steps day by day towards mastering Rust 🦀
0 reply
0 recast
4 reactions

Alex Kim pfp
Alex Kim
@alexkimr
i predict the BTC prize will be over 110K USD by the end of February 2025 /predicting
0 reply
0 recast
1 reaction

Alex Kim pfp
Alex Kim
@alexkimr
#DailyChallenge Day 12 Today, I decided to write some client-side code using the Base Chain. My goal was to interact with the Base Mainnet, fetch blockchain data, and display it in the terminal: - Connected to Base Mainnet via Infura using an RPC URL. - Fetched Block Number to confirm the connection. - Checked ETH Balance with get_balance. - Identified USDC Contract on BaseScan. - Fetched USDC Balance using balanceOf with the correct ERC-20 ABI. Here's the Github link where you can check out the source code: https://github.com/alekseykim-dev/Rust-blockchain/tree/main/layer2
0 reply
0 recast
4 reactions

Alex Kim pfp
Alex Kim
@alexkimr
#DailyChallenge Day 11. I've imitated Optimistic rollup transactions, including Hashing, block simulation, tracking state changes: - Base Layer 2 block simulation. - Data integrity with SHA-256. - Tracking state changes. - Rust: Structs, methods, external crates.
0 reply
0 recast
3 reactions

Alex Kim pfp
Alex Kim
@alexkimr
#DailyChallenge Day 10 progress: - Validating and formatting user input. - Using HashMap to count word frequencies. - Removing punctuation with .trim_matches(). - Calculating total word count with .values().sum().
0 reply
0 recast
3 reactions

Alex Kim pfp
Alex Kim
@alexkimr
#DailyChallenge Daily Challenge Day 9! Today topic was iterators. I covered: - Error Handling - Safe Division - Vectors (Vec): Iterating, summing, and transforming data. - HashMaps: Storing and updating key-value pairs. Have a good day everyone!
0 reply
0 recast
3 reactions

Alex Kim pfp
Alex Kim
@alexkimr
#DailyChallenge Daily Challenge 8! Today, I learned: - Error Handling: Using enum for custom errors. - Pattern Matching: Handling Result and Option safely. - Safe Division: Preventing division by zero with Option<f64>.
0 reply
0 recast
2 reactions

Alex Kim pfp
Alex Kim
@alexkimr
#DailyChallenge #BaseSeoul Day 7: I wrote a piece of code to practice gained knowledge. It show if a user is active or not by showing a boolean value. Structs remind me objects in JS or Python. - used struct to organize data in a logical way - defining custom types - the code is more maintainable
0 reply
0 recast
3 reactions

Alex Kim pfp
Alex Kim
@alexkimr
#DailyChallenge #BaseSeoul Day 6: Rust is still melting my brain! The syntax and logic are really interesting—totally different from TypeScript and Python, which I’m more used to. Today, I explored: • Structs • Slices • Lifetimes • Collections • Closures & Borrowing Seems like i need to dig deeper and simply invest more time on learning it.
1 reply
0 recast
2 reactions

Alex Kim pfp
Alex Kim
@alexkimr
#DailyChallenge #baseseoul Daily Challenge Day5 Today i learned about ownership and borrowing in Rust: - Ownership: Data ownership transfers on assignment or function calls; the original can't be used after. - Borrowing: References (&) allow using data without taking ownership. - Memory Management: Owned values free memory automatically; borrowed values don’t. - Functions: Can take ownership or borrow data for temporary use.
0 reply
0 recast
1 reaction

Alex Kim pfp
Alex Kim
@alexkimr
#DailyChallenge #BaseSeoul Daily Challenge! Today I decided to dive deeper into data types, and learned: - the difference between signed and unsigned integers - floating-point numbers - boolean, single and unicode characters - and more advanced data types: tuples, arrays, slices, strings, enums and experimented using them in functions. Have a great fay, everyone!
0 reply
0 recast
3 reactions

Alex Kim pfp
Alex Kim
@alexkimr
#DailyChallenge #BaseSeoul Good day, everyone! Today, I learned about: - Data types, variables, and functions in Rust. - Simulating the Ethereum and Layer 2 transaction process. - Practicing hashing transactions using Keccak256. - Calculating gas fees for L1 and L2. - Calculating saved gas fees from batching transactions. - Computing a Merkle Root to summarize transactions in a batch.
0 reply
0 recast
1 reaction

Alex Kim pfp
Alex Kim
@alexkimr
#DailyChallenge #BaseSeoul #LFG2025 Daily Challenge, Day 2! Today, I built a guessing game in Rust where users can win 0.005 ETH by guessing the correct number between 1 and 20. Each guess costs 0.001 ETH—simple, fun, and interactive! 🎮 While working on this, I learned how to use loops, explored new libraries like Rng and Ordering, and implemented logic to match the guessed input with the correct number. Excited to keep learning and building! 🚀
1 reply
0 recast
1 reaction

Alex Kim pfp
Alex Kim
@alexkimr
#BaseSeoul #DailyChallenge #LFG2025 Daily Challenge, Day 1! This is a bit techie, but I’m interested in learning Rust, and the Base Seoul Daily Challenge seems like a perfect opportunity! Today I set up my dev environment and learned the basics of the Rust programming language: • What the main function is. • How to handle user input and output using println! and io::stdin().read_line(). • Storing user input in a mutable string. • Handling errors gracefully using .expect().
1 reply
1 recast
4 reactions