Skip to content
Testnet featureTestnet: compiles and runs (CLI and Contract Studio)Mainnet: Not availableSoftware: Fe 26.5.1 (149c758)Updated

Fe

Pre-1.0 language

Since 14 November 2026 Fe is a supported Contract Studio language: the pinned compiler 26.5.1 passes the conformance suite against the chain's own EVM. Fe itself is still pre-1.0 upstream and its syntax changes between releases, and no independent security review has been done. Do not deploy value-bearing Fe contracts.

Compiler Fe 26.5.1 (149c758); Windows exe SHA-256 7fe5339c…85d5f
Output out/<Contract>.bin, .runtime.bin, .abi.json
Status Counter compiles, deploys and runs before the chain 20778 launch (CLI and Contract Studio); same EVM rules on chain 20778. No events in the example.

Example

Counter.fe
// Starter counter (Fe 26.5.1, EXPERIMENTAL). Unaudited example.
use std::abi::sol

msg CounterMsg {
    #[selector = sol("increment()")]
    Increment,
    #[selector = sol("get()")]
    Get -> u256,
}

struct CounterStore {
    value: u256,
}

pub contract Counter {
    mut store: CounterStore

    init() uses (mut store) {
        store.value = 0
    }

    recv CounterMsg {
        Increment uses (mut store) {
            store.value = store.value + 1
        }

        Get -> u256 uses (store) {
            store.value
        }
    }
}

Build and deploy

fe build --standalone Counter.fe              # writes out/Counter.bin, out/Counter.runtime.bin, out/Counter.abi.json
TX=$(cast send --async --keystore "$KEYSTORE" --password-file "$PASSWORD_FILE" --rpc-url "$RPC" --create "0x$(cat out/Counter.bin)")
cast receipt "$TX" contractAddress --rpc-url "$RPC"

Measured: 99 runtime bytes, 77,010 deployment gas, 43,304 gas for increment().

Caveats

  • Language semantics may change in the next release; pin the compiler and keep the exact version with your sources.
  • Few auditors and analysis tools support Fe.
  • The ABI JSON comes from the compiler's msg selectors; check it against the selectors you expect.

Sources at 83ff5b69f0 (project repository, not public yet): developers/examples/languages/Counter.fe · architecture/MULTILANGUAGE_CONTRACTS.md

Found a problem? Report a documentation issue · Build testnet-20778+83ff5b69f0