viper VS vyper

Compare viper vs vyper and see what are their differences.

viper

Pythonic Smart Contract Language for the EVM [Moved to: https://github.com/vyperlang/vyper] (by ethereum)

vyper

Pythonic Smart Contract Language for the EVM (by vyperlang)
Scout Monitoring - Free Django app performance insights with Scout Monitoring
Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.
www.scoutapm.com
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
viper vyper
1 11
3,381 4,822
- 0.7%
9.7 9.5
over 2 years ago 3 days ago
Python Python
Apache License 2.0 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.

viper

Posts with mentions or reviews of viper. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-11.

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
  • Introducing AMM and Proof of Trade Protocol.
    1 project | /r/ethfinance | 17 May 2022
    Swap.Dance is an Ethereum dApp which allows anyone to swap ERC20 tokens and ETH with low slippage. Proof of Trade concept provides a new type of staking mechanism for LP providers. Smart contracts were deployed on Vyper v0.3.3 and are immutable and not upgradeable. Github.
  • 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.
  • I know Python and want to enter blockchain programming
    1 project | /r/Python | 11 Dec 2021
    How about vyper? https://github.com/vyperlang/vyper
  • 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 viper and vyper you can also consider the following projects:

curve-contract - Vyper contracts used in Curve.fi exchange pools.

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

Scout Monitoring - Free Django app performance insights with Scout Monitoring
Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.
www.scoutapm.com
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured