Welcome to Quarters
Welcome to the Quarters documentation! Quarters is a universal cryptocurrency for games. This document includes SDK, APIs and code snippets. With them, you can easily integrate Quarters tokens to your games.
For our website visit Pocketful of Quarters.
» For a quick video on how to get started with Quarters, click here!
Development tools and library
Here is the list of tools and libraries quarters project provides to get started.
Quarters contract is Ethereum smart contract and written in solidity. It includes ERC20 token and withdraw functions. You can check code and ABI here on etherscan.
Mainnet: [Yet to be deployed]
Quarters buttons are small snippets. It is easy and fastest way to integrate "Play with Quarters" feature on game. Here is quick setup to embed buttons on any web based game to accept Quarters.
<script src="https://pocketfulofquarters.com/embeds/button.js" data-script-name="quarters-embeds" data-app-id="<APP-ID>" data-app-key="<APP-KEY>" charset="utf-8"> </script> <button class="buy-quarters-button" data-widget-type="button" data-order-code="1" data-amount="2"> Play with 2 Quarters </button>
To check complete documentation, visit Quarters Buttons.
Developers can use
Quarters oauth to add authentication to the game and
retrieve information for client-only games.
npm install --save quarters-js
Node SDK (for server)
Node SDK provides helpers to interact with Quarters server and contract.
npm install --save node-quarters
To check complete documentation, visit Node SDK.
To check complete documentation, visit Unity SDK.
Unity SDK - PlayFab Module
PlayFab Module allows transferring quarters from the Quarters app to the users through PlayFab cloud script.
To check complete documentation, visit Unity SDK - PlayFab Module.