Venom & Fang

Venom is an IR for Vyper, Fang compiles Venom IR to assembly and bytecode.
39.7K
OP

Contribution

As the intermediate language for Vyper, Venom greatly facilitates optimizations resulting in drastically reduced bytecode size and gas usage. Fang can be used to compile Venom IR directly to assembly or EVM bytecode.Venom offers a reduction in 20 to 30% of the size of the bytecode produced and in equivalent gas savings (up to 3 gas per byte saved, depending on usage patterns).Venom gives lower-level access to developers and auditors, facilitating the analysis and security auditing of smart contracts.While implemented for Vyper, Venom is language agnostic and can work as an IR for other high level smart contract programming languages.

Impact

By making it easier to map IR to source code and bytecode, Venom increases the auditability and security of the OP Stack.The optimization allowed by Venom and the Fang compiler improve the efficiency of the OP stack by reducing gas usage and contract size, allowing developers to write more complex contracts

Hang Tight! We're adding description for this grantee
  • More Information
  • Grant Type:
    RetroPGF
  • Is Multichain?
  • Project Online: