Alex Kim pfp

Alex Kim

@alexkimr

11 Following
7 Followers


Alex Kim pfp
Alex Kim
@alexkimr
🎉 Just became the proud owner of the amazing NFT "Masked Dog #761" on Base. Explore the incredible collection here: https://masked-dog.nfts2.me/ 🔥 Discover more on /nfts2me Tell me what you think about it! 😄 via @nfts2me
0 reply
0 recast
1 reaction

Alex Kim pfp
Alex Kim
@alexkimr
happy /bart
1 reply
0 recast
2 reactions

Alex Kim pfp
Alex Kim
@alexkimr
#DailyChallenge Final Day21! Today i wanted to explore something related to attacks. so, it took me a while but I managed to write a piece of code that: - fetches transactions from each new block every 5 seconds. - Stores transaction history in a shared memory structure (HashMap). - Analyzes transactions for MEV patterns: 1. Sandwich attacks (detects if a bot front-runs and back-runs a victim's trade). 2. Front-running (detects if a bot submits a transaction with a higher gas price to execute first). - Prints alerts when MEV activity is detected. I wanted to use websocket for it, but I faced too many errors. so i decided to go with RPC. I'll probably continue with parsing this raw data into structured JSON tomorrow. Just for myself Thank you Base Seoul for this opportunity!
0 reply
0 recast
4 reactions

Alex Kim pfp
Alex Kim
@alexkimr
/baseitaly never been to Italy yet, but I'm likely to travel from Seoul, Korea and check crypto communities there. GB everyone!
0 reply
0 recast
1 reaction

Alex Kim pfp
Alex Kim
@alexkimr
/moviesuggestions I'm not a big fan of romantic movies, but the first movie that comes to my mind is "The Notebook" (2004) which is Based on Nicholas Sparks' novel. Starring Ryan Gosling and Rachel McAdams, it's about love, adventure and and trust across years
0 reply
0 recast
0 reaction

Alex Kim pfp
Alex Kim
@alexkimr
#DailyChallenge Day 20 Well, it took me a while to decide what topic to cover today. First I wanted to analize token proces using Uniswap (Uniswap V2 Router and Uniswap V3 Quoter), but I since i use RPC for Base on infure and Uniswap V3 isn't available on Base yet, I decided to use Coingecko for fetching actual token prices. So, the code on the screenshot i provide is: - sending an HTTP request to CoinGecko’s API. - parsing JSON response using serde_json. - extracting ETH and USDC prices in USD. - also handling errors gracefully. ..so sleepy right now😅 Good night everyone!
0 reply
0 recast
2 reactions

Alex Kim pfp
Alex Kim
@alexkimr
Degen Bart is here. GD Everyone!
0 reply
0 recast
1 reaction

Alex Kim pfp
Alex Kim
@alexkimr
Good day everyone! /bart
0 reply
0 recast
0 reaction

Alex Kim pfp
Alex Kim
@alexkimr
#DailyChallenge Day 19 Continuing playing with APIs. Today I wrote code that provides total transaction cost on Base network and converts wei to eth so that it'd be more readable. For Base Mainnet connection, I used Infura HTTP RPC URL. So, the bullet list of today's code: - Connecting to Base Mainnet using the Infura HTTP RPC URL. - Fetcheing the current gas price from Base Mainnet. - Estimateing gas usage for a 0.001 ETH transaction between two addresses. - Calculating total transaction cost by multiplying gas_price * gas_estimate - Converting the total fee from Wei to ETH for easier readability.
0 reply
0 recast
3 reactions

Alex Kim pfp
Alex Kim
@alexkimr
#DailyChallenge Day 18. The past two days were challenging, so I decided to focus on training before diving into smart contract development. Today’s progress: • Established a connection to the Base Mainnet ✅ • Set up a WebSocket subscription using Alchemy 📡 • Fetched new blocks 📦 • Listed transactions within blocks 🚀 Now, the code continuously fetches new block data from Base in real-time.
0 reply
0 recast
3 reactions

Alex Kim pfp
Alex Kim
@alexkimr
#DailyChallenge Day 17 Today I tried to extract data from the currently deployed ERC-20 smartcontract. I'm using the infura api and a deployed on Base smart contract. the good thing that it's builds with no issues, yet the running needs to be fixed.
0 reply
0 recast
2 reactions

Alex Kim pfp
Alex Kim
@alexkimr
#DailyChallenge Day 16 Working with erc20 conctracts using Rust turned out to be more complex. For now, I started a smart contract that: - manages token balances and transfers. - stores state (total supply & balances). - allows interactions using #[ink(message)] functions. I'll continue with the deployment in the following days
0 reply
0 recast
3 reactions

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
3 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