Technology

Overview

Revenue distribution on Shards is automated via the use of smart contracts. This not only ensures trustless and secured computation but also makes it easier for users and developers coming from a web3 context. For those embarking on their first web3 experience, integrations with a host of constantly evolving user interfaces (such as the Mirai Wallet and Shards Marketplace) are slowly but surely enabling true ownership without exposure to the technical complexities.

Shards Smart Contracts

The Shards smart contracts facilitate the trustless exchange of value by codifying the core flows and revenue share configurations amongst various participants. Any action involving the transfer of value is secured on-chain which simultaneously ensures that users retain full ownership of their assets (i.e. Seats, Fractions, tokens, etc.).

Shards smart contracts define the following:

  • Seat Allocation: The allocation of Seats to Player addresses based on completed Seat exchanges.

  • Fraction Allocation: The allocation of Fractions to addresses based on trades against the Fractions Bonding Curve AMM.

  • Revenue Sharing Flows: The core transaction and exchange flows as defined under the “Revenue Distribution” section.

  • Revenue Share Configurations: The revenue split to various stakeholders for each flow as defined in the “Revenue Distribution” section.

  • Fractions Bonding Curve AMM: A liquidity pool that automates trades against a bonding curve which determines total supply and price of Fractions.

  • Season Length: The competition period for a game-specific season which enshrines the configurations for that season as well as triggers the payout at the end of the season.

Shards SDK

For easier integrations with game engines, the Shards SDK provides developers with various abstractions required to conveniently and correctly structure Shards smart contract operations for execution on-chain. This enables safe and seamless connections between in-game events and blockchain assets. The Shards SDK supports multiple languages such as C#, JavaScript, and TypeScript.

Shards API

For more customized integrations, Shards also provides a set of APIs which facilitates easy encoding of Shard related functions.Through utilizing simple stateless API formats, integrators will be able to retrieve the encoded function for the Shards function requested. With the Shards API, integrators avoid the complexities of structuring on-chain transactions and can rely on Shards Platform servers to safely handle the encoding.

Shards Marketplace

The Shards Marketplace is implemented as a dapp that is accessible via the browser. This allows anyone with a smart device to trade Fractions without having to install the gaming app. Being connected to the same blockchain, actions on the Marketplace are immediately synced with the gaming app and vice versa. Consequently, Players and Non-Players will always be in sync as they both respond to real time events.

Last updated