Initial Setup
In order to use the library, you need to clone the repository and build it. This is required because the library depends on the tfhe-rs
library that needs to be built from source (for now), and Go doesn't support such a build.
You can now use it in your project by adding it to go.mod
, and adding a replace
to point to your local build. An example using fhevm-go
v1.0.0:
The replace is necessary for now as Go build system can't build the tfhe-rs
library that fhevm-go
needs. It's therefore necessary that we build it manually as mentioned above, then point to our ready-to-use directory in go.mod
Last updated