0xBASIC
Version 1 in development

Smart contracts, with a BASIC beginning

Familiar syntax.
New possibilities.

0xBASIC is a programming language in development for writing smart contracts on the Chia blockchain. It pairs the clarity of structured BASIC with direct compilation to CLVM bytecode.

Get in touch
0xBASIC logo with circuit artwork

Readable by design

Inspired by Microsoft QuickBASIC 4.5, with named functions, typed variables, and structured control flow. No line numbers required. The aim is approachable code for curious newcomers and experienced developers alike.

Built for Chia

Familiar BASIC-style source compiles to a functional program for CLVM, Chia’s virtual machine. Explicit EMIT statements describe contract conditions, keeping the contract’s intent visible in the source.

Clarity beyond syntax

Static types, explicit conversions, and predictable evaluation are central to the design. The goal is to make contract behavior easier to understand, check, and test.

A working foundation. More to come.

The compiler and command-line tools already compile and run a growing language subset locally, with testing on Windows and Linux. Current work includes functions, branching, byte operations, and SHA-256 hashing.

Version 1 is still being built. The first complete contract example will be a signature-authorized payment with a height lock, validated in a local Chia simulator. This is an early prototype, not a production-ready release.

This site will grow alongside the language. For questions or interest in the project, email info@0xbasic.com.