Skip to content
VerifiedXVerifiedX Docs
verifiedx.io
verifiedx.io

Trillium

Trillium is a Turing complete, object-oriented language for implementing and executing VFX network smart contracts. Trillium smart contracts run on SENs (Self-Executing Nodes) and are the programs written to create and manage NFTs on the VFX network.

Trillium is a curly-bracket language, but can also execute in a scripting function and is designed to not need any virtual machine or cluster to execute. It is influenced by C#, JavaScript, and Minsk.

With Trillium a developer can create NFT driven smart contracts for uses such as royalty enforcement, evolving needs, multi asset collections, soulbound items, and many other utility uses as it is agnostic to use-case entirely.

function helloWorld(name : string) : string
{
var result = "Hello " + name
return result
}
helloWorld("Trillium")

Output: Hello Trillium

How is Trillium Different from other Smart Contract Languages?

Section titled “How is Trillium Different from other Smart Contract Languages?”

The first difference is that it is a language not taken from any current blockchain structures. Trillium was created from multiple resources and with NFTs specifically in mind. It was designed to be light weight and easily executable on a variety of platforms and applications.

The second big difference is that VFX smart contracts do not require a virtual machine at all. They execute on Self-Executing Nodes (SENs). These contracts have the ability to dynamically function when called and can modify their returned state without the need to call out or create an expensive transaction.

Another key difference is that with this language a VFX NFT is the smart contract, not a product produced from a smart contract.

Trillium has no gas and no execution metering. Every smart contract transaction (deploy, mint, transfer, burn, evolve, sale) still pays the normal size-based VFX network fee, which is burned.

Of course! Trillium, like the VFX network, is written in C# on .NET 6, and its source is on the VerifiedX GitHub. Nodes run the Trillium runtime built into VerifiedX Core.

Visit Trillium on GitHub.

Trillium also has both a desktop and web-based IDE that anyone can test and deploy utilizing the language.

Trillium Web IDE (tIDE) is an open-source web application for the VerifiedX community to interact and develop with. Trillium fosters a fast runtime compilation and execution of code with a straightforward and intuitive GUI. tIDE can be used for the entire process of contract development as well as act as an intuitive environment for learning Trillium.

Trillium was designed with NFTs specifically in mind and is a Turing complete language. Trillium is the driving smart contract language of the VerifiedX project. It spans many other projects, including VFX Core, VFX GUI, Trillium, VFX Explorer, and of course the Trillium IDE.

Launch Trillium IDE.