
Vyper 🐍
/vyper223
sssssss
Just published my latest article on "Data Structures in Solidity and Vyper" for @cyfrin!
I dive deep into key differences between Solidity (flexible, expressive) and Vyper (simple, secure), explaining arrays, mappings, structs, and memory management.
https://cyfrin.io/glossary/data-structures-in-solidity-and-vyper
I dive deep into key differences between Solidity (flexible, expressive) and Vyper (simple, secure), explaining arrays, mappings, structs, and memory management.
https://cyfrin.io/glossary/data-structures-in-solidity-and-vyper
The latest Vyper version `0.4.1` got released over the weekend and to make anyone's life easy, I just published a 🐍 snekmate release candidate `0.1.1rc1` targeting the latest Vyper version. Simply install via:
```
pip install snekmate==0.1.1rc1
```
For the full CHANGELOG of the yet-to-be published snekmate `0.1.1` version (expect it in around 2-3 weeks), see here: https://github.com/pcaversaccio/snekmate/blob/main/CHANGELOG.md.
Btw, that's how an `erc4626` contract looks like using 🐍 snekmate modules :D https://x.com/vyperlang/status/1896511448492433917
```
pip install snekmate==0.1.1rc1
```
For the full CHANGELOG of the yet-to-be published snekmate `0.1.1` version (expect it in around 2-3 weeks), see here: https://github.com/pcaversaccio/snekmate/blob/main/CHANGELOG.md.
Btw, that's how an `erc4626` contract looks like using 🐍 snekmate modules :D https://x.com/vyperlang/status/1896511448492433917
Testing will never be the same.
Titanoboa by @vyperlang is now available in Ape via our new ape-titanoboa plugin! 🐍🤝🦍
Read our full article on it and see how you can 2x your testing with just one plugin:
https://paragraph.xyz/@apeworx/introducing-ape-titanoboa,-the-new-standard-in-testing
Titanoboa by @vyperlang is now available in Ape via our new ape-titanoboa plugin! 🐍🤝🦍
Read our full article on it and see how you can 2x your testing with just one plugin:
https://paragraph.xyz/@apeworx/introducing-ape-titanoboa,-the-new-standard-in-testing
A famous Chinese proverb states: "The one who masters Vyper learns that simplicity bends chaos into order—life, like code, thrives in clarity and precision." Welcome to the year of the 🐍snake (蛇)!
https://x.com/vyperlang/status/1884301587423875341
https://x.com/vyperlang/status/1884301587423875341


⭐ I have prepared something interesting! Click the Unlock button!
After the payment in USDC on Base, the content will be unlocked for viewing. https://frame-open.web4.build/open/1/886184/2
After the payment in USDC on Base, the content will be unlocked for viewing. https://frame-open.web4.build/open/1/886184/2
The contract here is a sublinear staking contract: if you are in the whitelist (specified as an ERC1155 collection), then you can stake N coins, and get a return of N ** 0.75 coins per slot, for as long as the contract has coins to pay for it. There is a fundedUntil mechanism that ensures that if the contract runs out of money, every staker gets rewarded for every slot up to the fundedUntil timestamp, and the mechanism doesn't turn into a fractional reserve.
https://github.com/ethereum/research/blob/master/sublinear_staking/code.vy
Bounty of total 2 ETH for identifying any bugs / vulnerabilities in the contract and proposing specific fixes, if multiple issues are found the bounty will be split based on severity.
Amount: 2 ETH
@bountybot
https://github.com/ethereum/research/blob/master/sublinear_staking/code.vy
Bounty of total 2 ETH for identifying any bugs / vulnerabilities in the contract and proposing specific fixes, if multiple issues are found the bounty will be split based on severity.
Amount: 2 ETH
@bountybot
Look, over a year ago, we knew we fucked up. A vulnerability in older Vyper compiler versions hit several Curve Finance liquidity pools hard. Did we back down? Fucking no. We own that shit and are hell-bent on ensuring it never happens again. Since then, the compiler team has been relentlessly focused on security. We've pulled off 12 audits, locked in 2 security experts, launched 2 bug bounty programs, hosted a security contest, and set up a monitoring system—all while addressing over 100 findings. Vyper is dead—long live Vyper!
PS: We're still heavily underfunded as a compiler team, thus any support is highly appreciated!
https://x.com/vyperlang/status/1850919610280710316
PS: We're still heavily underfunded as a compiler team, thus any support is highly appreciated!
https://x.com/vyperlang/status/1850919610280710316
Solidity or Vyper? Each to his own 🙏
I just merged the monster PR that makes all 🐍 snekmate contracts module-friendly:
https://x.com/pcaversaccio/status/1798316207432401324
>3 months of work, countless hours of design discussions, bikeshedding on literally any technical dimension, refactoring over and over again, adding new features but here we are!
https://x.com/pcaversaccio/status/1798316207432401324
>3 months of work, countless hours of design discussions, bikeshedding on literally any technical dimension, refactoring over and over again, adding new features but here we are!
Yall remember programming in serpent?
I'll say the awkward part out loud.
A lot of the Solidity community leaving for Vyper has been a big detriment to Solidity's public narratives and to an extent, price as well.
Hate on this take all you want but it's true.
A lot of the Solidity community leaving for Vyper has been a big detriment to Solidity's public narratives and to an extent, price as well.
Hate on this take all you want but it's true.
"I'm really fed up with you. You're constantly complaining about stack-too-deep errors. viaIR takes longer than your best performance in bed, even when you're drunk. And you're constantly whinging because the compiler warns you too hard about TSTORE. I told u, use fucking Vyper!"

anon, I hear you like audits? Would you like to dig into the hardcore compiler audits and reviews that Vyper has conducted over the last few year(s)? Now you can. We've just made them publicly available. Enjoy the ride :)
https://github.com/vyperlang/audits
https://github.com/vyperlang/audits