curve-contract VS vyper

Compare curve-contract vs vyper and see what are their differences.

curve-contract

Vyper contracts used in Curve.fi exchange pools. (by curvefi)

vyper

Pythonic Smart Contract Language for the EVM (by vyperlang)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
curve-contract vyper
4 11
1,007 4,762
1.0% 0.7%
0.0 9.5
27 days ago 3 days ago
Python Python
GNU General Public License v3.0 or later GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

curve-contract

Posts with mentions or reviews of curve-contract. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-09.
  • Projects with best open Solidity code to study?
    3 projects | /r/defi | 9 Aug 2021
    In terms of DeFi codebases I'd recommend that you read the code of a project you're already familiar with. That way you know what to expect. Good codebases IMHO are the Curve one (written in Vyper and well documented), Harvest strategies and yearn strategies: - https://github.com/curvefi/curve-contract - https://github.com/harvest-finance/harvest-strategy - https://github.com/yearn/yearn-protocol

vyper

Posts with mentions or reviews of vyper. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-08.
  • Create your own Uniswap DeFi Application🦄! From scratch using Vyper & Python🐍
    3 projects | dev.to | 8 Dec 2023
    🚧 To do this, we need to create a mocks/ folder inside the contracts/ folder, and within it, create an Token.vy file. You can add the code from the following link to this file: Vyper ERC20 Token.
  • Daily General Discussion - February 28, 2023
    2 projects | /r/ethfinance | 27 Feb 2023
    Patrick Collins, CEO of uh "Chain Accel / Cyfrin / Alpha Chain" (video, kinda) gave a different kind of talk than most, focusing on the differences between Solidity and Vyper in terms of their compilation strategies and optimizations. Maybe it's just nice to see a talk that's just a collection of technical fun facts rather than trying to shill me on their product. I'll admit I didn't realize people still used Vyper, but I'm not a smart contract dev and their github is still active at least. An interesting look into compiled EVM bytecode/opcode.
  • Challenge #0: 🎟 Simple NFT Example | Speedrun Ethereum With Vyper 🐍
    3 projects | dev.to | 15 Feb 2023
    Feel stuck? Take a look at the Vyperlang Official Implemenation
  • A Harmony DAO opinion: Harmony must steer away from its DAO focus, or a new anti-dao leader must take over.
    2 projects | /r/harmony_one | 12 Apr 2022
    Vyper - Pythonic Smart Contract Language for the EVM
  • ERC20 Token with Vyper and Brownie
    2 projects | dev.to | 29 Dec 2021
    Create a new file named SampleToken.vy in contracts/ directory. Then implement a smart contract while referring to the Vyper ERC20 example.
  • What are some good open-source repositories that I can contribute to as a beginner blockchain developer?
    10 projects | /r/ethdev | 6 Oct 2021
    1) Research the community that surrounds the project and see how the general ecosystem works. Normally, on Discord or Telegram you can start talking with devs and get a deeper understanding of the project. 2) Try to narrow down, which kind of project you want to contribute. A DEX / DeFi project like UniSwap or SushiSwap or yarn.finance? Or more like a tool like MetaMask? Or even, more like an Ethereum client like Besu, Geth or Erigon? Or even, Vyper or Solidity?
  • Can I Contribute Through Python?
    2 projects | /r/ethdev | 3 Jun 2021
    You could try Vyper if you'd want to try developing smart contracts.
  • Ethereum Isn't Fun Anymore
    7 projects | news.ycombinator.com | 22 Feb 2021
    > I need a hero, and by that, I mean that I need a usable methodology for building scaleable decentralized apps. Yes, you've heard that right. We don't need more "Ethereum killers" that can do 10x more tx/s than Ethereum. Those are useless.

    Having worked on large Ethereum smart contracts (running an auction on chain) over two years, I fully agree with this. Ethereum needs better smart contract languages, better compilers and better dev tooling.

    As our smart contract written in Vyper (for ease of auditing) grew larger and larger, eventually we failed to deploy on the testnet, and closer inspection reveal that the compiler was blowing up code size which I had to patch[0]. Down the line upstream further increased gas costs by emitting code that zeroed out every member of an array (note the EVM already has all memory set to 0). To support efficient insertion/deletion of bids we had to handroll a skip list on the blockchain(!), because there are no Vyper libraries.

    On the language development side, things don't look too pretty either, I ended up having to write an EVM assembler from scratch[1], but deeper still are problems such as a lack of a separate call stack in EVM, so procedure calls always end up clunky and implementation-dependent.

    Perhaps eWASM will alleviate some of these concerns. But until then, the entire dev process for writing smart contracts is painful.

    [0] https://github.com/vyperlang/vyper/pull/1488

    [1] https://github.com/ActorForth/evm-assembler/blob/master/docs...

What are some alternatives?

When comparing curve-contract and vyper you can also consider the following projects:

vyper - Pythonic Smart Contract Language for the EVM [Moved to: https://github.com/vyperlang/vyper]

brownie - A Python-based development and testing framework for smart contracts targeting the Ethereum Virtual Machine.

solc-select - Manage and switch between Solidity compiler versions

yearn-vaults - Yearn Vault smart contracts

viper - Pythonic Smart Contract Language for the EVM [Moved to: https://github.com/vyperlang/vyper]

language-python-test - Code for testing the language-python library

yearn-protocol - Yearn smart contracts

py-evm - A Python implementation of the Ethereum Virtual Machine

defi-score - DeFi Score: An open framework for evaluating DeFi protocols

solana - Web-Scale Blockchain for fast, secure, scalable, decentralized apps and marketplaces.