8 releases

0.0.10 Aug 31, 2023
0.0.9 Aug 22, 2023
0.0.4 Jun 1, 2023
0.0.2 May 31, 2023

#9 in #asymmetric

50 downloads per month
Used in 3 crates (via race-transport)

MPL-2.0 license

34KB
586 lines

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

Contracts

Blockchain Address
Solana 8ZVzTrut4TMXjRod2QRFBqGeyLzfLNnQEj2jw3q1sBqu

Core Concepts

Terminology

WebAssembly Usages

Game Handler

Transactions

Randomization

Transactor and Validator

On-chain Accounts

Synchronization

Contract

Payment

Testing

Command Line Tools

License

Race is licensed under MPL-2.0.

Dependencies

~22–32MB
~503K SLoC