17 releases

0.2.6 Nov 27, 2023
0.2.3 Oct 26, 2023
0.0.5 Jul 20, 2023

#1301 in Procedural macros

Download history 2/week @ 2024-05-31 109/week @ 2024-07-05 14/week @ 2024-07-12

166 downloads per month

MPL-2.0 license

12KB
77 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-api Crates.io API for game bundle
race-core Crates.io Core lib
race-proc-macro Crates.io SDK proc macros
race-encryptor Crates.io Encryptor module
race-client Crates.io Client module
race-test Crates.io Testkit

Binary Releases

  • race-facade: The test server used in development
  • race-transactor: The transactor server
  • race-cli: The tools to manage on-chain accounts

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

~1.5MB
~35K SLoC