Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vyper-rs

A rust library to interact with the Vyper compiler!

Dependencies

  1. Python3
  2. Vyper Compiler

To install Python, please check out the Python github

To install Vyper, please check out the official installation guide

Documentation

When building from source, you can view the documentation built into cargo with cargo doc --open. This will be published to docs.rs alongside the crate itself.

The two important modules in this package are venv and vyper. They serve a similar purpose, but the difference is that the former takes place inside a virtual environment generated by the program.

Important Methods

Vyper::new(contract_path: impl Into< PathBuf >, desired_abi_path: impl Into< PathBuf >)

Vyper::compile(&mut self) -> Result<()>

Vyper::abi(&self) -> Result<()>

Vyper::abi_json(&self) -> Result< Value >

Vyper::storage_layout(&self) -> Result<()>

Vyper::interface(&self) -> Result<()>

Venv::new()

Venv::init(self)

Venv::ivyper_venv(self)

Venv::ivyper_pip(self)

Venv::compile(contract: &mut Vyper) -> Result<()>

. . .

About

A rust library to interact with the Vyper compiler!

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages