Prysm: Modify Abigen to Support Vyper

Created on 29 Jan 2019  路  4Comments  路  Source: prysmaticlabs/prysm

Currently Abigen only supports contracts written in solidity, the goal is to also allow contracts written in vyper to also have their go bindings be generated automatically. We generate the bindings by first generating the abi and bytecode from the vyper compiler then using that as inputs into abigen.

For this issue to be closed abigen simply needs to take in a vyper contract source as an argument and use that to generate the bindings.A PR for this will need to be opened in the go-ethereum repository to make the changes.

Files/Folders that need to be changed to add support for vyper:

https://github.com/ethereum/go-ethereum/blob/master/cmd/abigen/main.go
https://github.com/ethereum/go-ethereum/tree/master/common/compiler

The first change would be to add support for the vyper compiler under common/compiler , and the second change would be to modify the main routine in abigen to take in vyper contract source code as an argument so as to output the go bindings.

Good First Issue Help Wanted Medium

Most helpful comment

I'd like to work on this!

All 4 comments

I'd like to work on this!

Sounds good @kushagrasharma

Should this be closed as it was addressed in https://github.com/ethereum/go-ethereum/pull/19120?

Ah yes it should, thanks @siromivel !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

0xKiwi picture 0xKiwi  路  5Comments

stefa2k picture stefa2k  路  5Comments

paulhauner picture paulhauner  路  4Comments

shayzluf picture shayzluf  路  4Comments

stefa2k picture stefa2k  路  5Comments