1 unstable release

0.0.4 Jun 1, 2023

#16 in #asymmetric

MPL-2.0 license

220KB
4K SLoC

Race Protocol GitHub Rust TS Tests

Race Protocol is a multi-chain infrastructure for asymmetric competitive games.

Race Protocol is made for web3 builders, because it eliminates the barrier of developing blockchain games.

It is shipped with game-related smart contracts. Out of the box, these contracts provide developers with reliable and convenient utilities such as real time, transparent token settlements, programmable game management, affiliation and referral system.

The community hosted servers offer developers a delightful serverless solution, so that they can focus on the core game logic, without wrestling against various server-side difficulties. Thus, the development experience is considerably improved.

It offers excellent extensibility by decoupling game core and frontend. On the one hand, the game logic is published as NFTs and can be reused effortlessly. On the other hand, frontends can be built as either traditional dApps or metaverse applications, enabling the developers to connect players from different platforms.

Race Protocol is also designed for web3 players, because it assures them a fair and safe gaming experience.

All games built on top of Race will by default inherit a series of essential traits, such as P2P randomization and encrypted communication. This design guarantees hidden knowledge in asymmetric competition is well protected. No one can rig the game by knowing all the game information.

Users' assets are secured as the funds flow is controlled exclusively by the smart contracts. Since the funds will never be sent to a centralised service, every penny of commission and deposit is 100% transparent to the public.

"Race" represents "Redefining the best".

Project Status

Work in progress, not ready to accept contributions yet.

Packages

TypeScript

Package Version Description
@race-foundation/borsh NPM A borsh implementation with decorators support
@race-fonudation/sdk-core NPM SDK for RACE Protocol
@race-fonudation/sdk-solana NPM SDK integration for Solana blockchain
@race-fonudation/sdk-facade NPM SDK integration for local facade server

Rust

Package Version Description
race-core Crates.io Core lib
race-proc-macro Crates.io SDK proc macros
race-env Crates.io Environment module
race-encryptor Crates.io Encryptor module
race-transport Crates.io Transport module
race-client Crates.io Client module
race-solana-types Crates.io Type definitions for Solana integration
race-test Crates.io Testkit
race-cli Crates.io Command Line tools
race-facade Crates.io Chain replacement for quick test
race-transactor Crates.io Node Server

Core Concepts

Terminology

WebAssembly Usages

Game Handler

Transactions

Randomization

Transactor and Validator

On-chain Accounts

Synchronization

Payment

Testing

Command Line Tools

Dependencies

~84MB
~1.5M SLoC