Happy New Year to everyone! :)
01.01.2026 18:37 β π 0 π 0 π¬ 0 π 0@elnaril.bsky.social
Freelance and open-source developer working on Python blockchain projects. https://github.com/Elnaril https://fiverr.com/elnaril https://gravatar.com/elnaril #python #web3 #crypto #ethereum #uniswap #buidl #DeFi #programming #coding #blockchain
Happy New Year to everyone! :)
01.01.2026 18:37 β π 0 π 0 π¬ 0 π 0Overlooked typing features of recent Python versions:
martynassubonis.substack.com/p/advanced-o...
It's a fun way to grow skills and contribute to #OpenSource projects. π
github.com/Elnaril/unis...
#DeFi | #Ethereum | #Buidl
#Hacktoberfest2025 starts tomorrow and the (unofficial) #Python SDK for the #Uniswap Universal Router is part of it this year! β€οΈβπ₯
I've described and tagged several updates/enhancements for this event, ranging from beginner to intermediate and advanced.
Have a look and share it!
Web3/AI tutorial published by Chainstack
and using the #Uniswap Universal Router #Python SDK!
www.youtube.com/watch?v=2wQn...
#web3 #programming #coding #blockchain #Ethereum
asyncio: a library with too many sharp corners
An explanation of some major issues with asyncio.
https://sailor.li/asyncio
#Python: How to encode a #Uniswap V4 pool key and pool id ?
github.com/Elnaril/unis...
#web3 #crypto #ethereum #buidl #DeFi #programming #coding #blockchain #opensource #foss
Python Tutorial: How to rate limit async requests to credit-based APIs
Easily manage rate limits based on a number of credits or computational units per time unit, or cups
https://dev.to/elnaril/python-tutorial-how-to-rate-limit-async-requests-to-credit-based-apis-ahj
#Python Tutorial: How to rate limit async requests to credit-based APIs
dev.to/elnaril/pyth...
#opensource #programming #coding #API #buidl #blockchain
starting from the top left grid, the left black square rotates by +2 positions, while the right one rotates by -1 position. The answer is the missing positions in the given list of grids.
14.04.2025 10:24 β π 2 π 0 π¬ 0 π 0Rule 2 => the right col. has 2W & 1B above the line, so the missing group must have 1B & no W above the line
Rule 3 => the right col. has 1B & 1W below the line, so the missing group must have 2B & 2W below the line
Rule application to the right column:
Rule 1 => the right col. has 2B & 3W so the missing group must have 3B and 2W
Reasoning:
Let's consider the 3 groups on the left column.
1st rule:
There are 5B and 5W
2nd rule:
There are 2B above the lines
There are 2W above the lines
3rd rule:
There are 3B below the lines
There are 3W below the lines
Top: 1B
Bottom: 2B & 2W
Interesting to see that:
- v1.2.0 (26.6%) & 0.9.1 (21.3%) are still the most downloaded
- versions related to #Uniswap V4 (v2.0.0 & its pre-releases) come third (18.7%)
=> the vast majority (81.3%) still concerns #Uniswap V2 & V3.
We'll see how this breakdown changes in time.
#buidl
Python Uniswap Universal Router breakdown of downloads in percentage per version
Uniswap released #Uniswap V4 five weeks ago.
Alpha versions of the #Python UR SDK were already around and the stable one (v2.0.0) was packaged 2 weeks ago.
#web3 | #crypto | #DeFi | #programming | #coding | #blockchain
Here is the breakdown (in %) of downloads per version over the last week:
Feel free to give me any feedback on this release here, or open a discussion or a ticket about a feature that should be in the next one!
22.02.2025 09:46 β π 0 π 0 π¬ 0 π 0Installation:
pip install uniswap-universal-router-decoder==2.0.0
Full v2.0.0 release notes - 3:
- Add support for `PERMIT2_TRANSFER_FROM`
- Custom contract error decoding
- Encoding refactoring
- Remove support for Python 3.8
- Update repository picture
- Update default router address to Mainnet's one
- Add integration tests for V4
Full v2.0.0 release notes - 2:
- Add support for V4 swaps:
- V4_SWAP
- SWAP_EXACT_IN_SINGLE
- SWAP_EXACT_IN
- SWAP_EXACT_OUT_SINGLE
- SWAP_EXACT_OUT
- SETTLE
- SETTLE_ALL
- TAKE_ALL
- TAKE_PORTION
- TAKE
- Pool Key, Path and Id encoding
Full v2.0.0 release notes - 1:
- Add support for V4 pools:
- V4_INITIALIZE_POOL
- V4_POSITION_MANAGER_CALL
- MINT_POSITION
- SETTLE
- SETTLE_PAIR
- CLOSE_CURRENCY
- WRAP
- UNWRAP
- TAKE_PAIR
- CLEAR_OR_TAKE
- TAKE
The #OpenSource #Python Universal Router SDK β¨v2.0.0β¨ is released and supports now all #uniswap V4 features!
β‘οΈ Swap on V4 pools
β‘οΈ Create new V4 pools
β‘οΈ Mint positions on V4 pools
β‘οΈ And much more ....
github.com/Elnaril/unis...
#Web3 #BUIDL #DeFi #programming #coding #blockchain #crypto #ethereum
π« #Python #Uniswap Universal Router beta release: the v2.0.0b1 fixes some issues and improve documentation! π
Are you ready to dev around Uniswap V4?
β‘οΈ github.com/Elnaril/unis...
#Buidl | #Web3 | #OpenSource | #DeFi | #programming | #coding | #blockchain
V4 SWAP_EXACT_OUT is now fixed as well! π«
Still available only from the repo at the moment, though
β‘οΈ #Python #Uniswap Universal Router SDK
#DeFi | #Buidl | #OpenSource | #programming | #coding | #blockchain
Just pushed a fix for V4 SWAP_EXACT_IN.
Hopefully I will be able to release the first beta soonβ’οΈ !
β‘οΈ #Python #Uniswap Universal Router SDK
#DeFi | #Buidl | #OpenSource | #web3
Welcome to any feedback! :)
22.01.2025 09:02 β π 0 π 0 π¬ 0 π 0I wrote a couple of #Gedit plugins that help me for my jobs, and I thought they could also help others, so I #OpenSource 'ed them:
- JSON Formatter: Verify, Format and Minimify #JSON documents
- Prettifier: Prettify data structures
Repo/doc: github.com/Elnaril/gedi...
#Python
Probably no more release before #Unichain and #V4 are deployed and deeper/more reliable tests can be done.
20.01.2025 18:31 β π 0 π 0 π¬ 0 π 0