oddsdk / blockpaperscissors

The world's slowest arcade.
0 stars 1 forks source link

SLWRKD Standards #5

Open depatchedmode opened 1 year ago

depatchedmode commented 1 year ago

Overview

We are creating a very simple standard for contracts to self-designate as a part of the SLWRKD. I think it should be an Interface that contracts can implement. Over time, we will likely publish improved or extended versions of the interface.

SLWRKD Interface Requirements

This describes the requirements of v0.0.0:

Future versions of the SLWRKD Standard may have different specifications than the ones above, including OPTIONAL or RECOMMENDED specifications.

$QUARTER ERC-20 Requirements

Here, we describe the ERC-20 that all games in the SLWRKD must be prepared to accept.

One other thing to mention is that we plan to deploy this contract to multiple EVM compatible blockchains:

We may also mint equivalent tokens on Solana and Tezos in the future. But I don’t believe Solidity is easily supported in either of those two ecosystems.

Todo

depatchedmode commented 1 year ago

Just thinking: because it'd be potentially nice to launch the ERC-1155 Game State Cards contract afterwards — and there may be others to follow — it probably makes sense to add a bit to the spec where a contract designates itself as "core" and then other contracts can designate themselves as "extensions" and refer back to the core contract address that they extend.