Compiling a smart contract in C# (C-Sharp)
Compiling C# smart contract to static binary with the QVM compiler
We already supply a simple compiler container which will perform the most optimized build of turning above sample contract to a static binary which can be run by QVM.
Since you saved the previous sample contract as main.cs
in your current directory, you can run the compiler like this:
Afterwards you will end up with a statically linked linux ELF binary called “contract” in your current directory.
Last updated