A backend used for compiling FunC code and returning a signed message containing a proof of verification to be forwarded to the Sources Registry contract. The signed message is later stored on a source item contract as a proof that the source code compiles to a specific code cell hash.
This repo is a part of the following:
The backend supports compiling in func in all versions stated in the config file
Binaries can be acquired (precompiled) from ton-binaries repo or from the official ton repo.
Fiftlib can also be acquired from the same repo.
To deploy on heroku, you can use the func compilation buildpack.
resources/
binaries/
0.2.0/fift
0.2.0/func
0.2.0/fiftlib (directory)
0.3.0/fift
0.3.0/func
0.3.0/fiftlib (directory)
INFURA_ID
and INFURA_SECRET
- The backend persists sources and compilation metadata to an infura IPFS node.PRIVATE_KEY
- To sign its message cell with a private key, which is verified by the verifier registry. Provide an ED25519 compatible private key.SOURCES_REGISTRY
- The address of the sources registry contract (default from .env)VERIFIER_ID
- Sources verifier id (default from .env)npm install
npm run start
MIT