Task examples
Truebit comes pre-loaded with sample Tasks to help you get started.
Go over the list of pre-developed Truebit Tasks created for you to start getting familiar with the task development. You can write Tasks in any supported language. Here's what you will find in your default developer environment:
Function Task examples
Common language examples
A simple function to calculate the Fibonacci sequence based on an input integer.
A simple function to reverse the characters in an input string.
Js examples
A simple function to Encrypt using bun.js
A simple function to Encrypt using Deno
A simple signature verification using the ECDSA algorithm.
Python examples
A simple example showing how to interact with the library and process an external file
API Task examples
A simple API Task that retrieves information about a Pet Store conditions from an existing endpoint.
Last updated
Was this helpful?