In order to grow the Tezos ecosystem we’ve spent a lot of time and resources working on tools and apps to assist with users and developers. One of the first tools we started back in 2017 was fi — a solidity like high-level smart contract language that compiles down to Michelson.

Today we are proud to publicly announce the release of fi, our compiler, CLI tool and online editor.

Getting Started

We suggest you head over to our website, https://fi-code.com/, to get started. This resource will help you to learn, write and test your code within our online editor.

Our online editor works with our backend Tezos node to type-check your code, and run tests against your smart contracts. We’ll be releasing tools to help deploy and call your smart contracts as well.

How does fi work?

Our compiler reads your fi code and converts it to valid Michelson by utilizing the low-level stack in a way where we can implement “building blocks” of code. Using some simple utility functions, we can manipulate the stack safely and add additional functions (which are made up of individual low-level instructions) in a very modular way.

Another benefit of this method is unit testing — we can independently write and run tests on small parts of our codebase to make it easier to identify compilation errors and bugs.

Why fi?

Fi is designed to make it easier for developers who come from an object oriented background to build with Tezos. Fi is a ECMA/Javascript/Solidity like language that is statically typed and compiles down to valid Michelson code.

You can learn more about the fi language online here.

The future of fi

We are currently working on some very interesting features for fi, including a JS like promise system to allow for communication between smart-contracts on-chain (which isn’t currently available without complex solutions), internal and library functions (via includes) and more.

We also want to support Michelson annotations, and develop compilation directly to Micheline.

Follow us on twitter to keep up to date with all the latest news and releases!