SpaceFreaks.gg Minting now View more

Truebit

Truebit’s Sample Repository.

Published on 11/09 2021 16:59

Our community has spoken: there is a demand for Truebit’s real-world implementation strategies, and we are excited to announce that you can now view use cases and applications in our Sample Repository.

Here, you will find a number of samples, and we will be adding to it in the future.

The first example available uses the common task of performing a map-reduce operation to illustrate how an on-chain smart contract can initiate a Truebit process and receive a result. This includes all of the source code and instructions needed to build the Truebit task and associated smart contract, using the tool chain present inside the standard truebit-eth Docker container.

By following this tutorial, the result should be a deployed smart contract with the ability to invoke the Truebit “task giver” mechanism, passing data to an off-chain map-reduce function, and then receiving delivered results back to the calling smart contract.

All information provided in the sample repository is intended for experienced users with a solid understanding of Linux, Docker, and Ethereum smart contracts. There are also other resources demonstrating an alternate tool chain and deployment methodology, and one of the best online guides is https://github.com/TruebitProtocol/truebit-sample-tasks.

As always, we encourage members of the Truebit community to submit their own examples, and to provide enhancements, corrections, and suggestions for examples in this repo.


was originally published in Truebit on Medium, where people are continuing the conversation by highlighting and responding to this story.

New articles
Unable to connect to wallet

Please connect using a browser inside your wallet or simply use your computer to connect.

Join AstroSpaces community

To join our platform please enter your email below and we'll send an email with a verification code.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. By signing up you'll also accept the Terms of Use agreement with AstroSpaces.io.

Sign in
Forgot password
WalletConnect
WalletConnect
Scan with WalletConnect to connect
Day or night?

How would you like to experience our platform?

Actions

Asset traits

Trait type Value Rarity score Uniqueness
No rarity rankings available.

We've not yet completed a rarity check for this collection. This may be because the collection is still minting.
If you believe this is a mistake reach out to support on Discord.

Request rarity check