Skip to content

A secure Plasma web wallet for super fast money transfers.

License

Notifications You must be signed in to change notification settings

JTheilmann/planet-a

 
 

Repository files navigation

🌍 Planet A 🌍

Planet A is a "serious social game" taking place during the Berlin Blockchain Week 2019 and CCCamp 2019 involving as many participants as possible.

The game will begin as a gimmick incentivizing participants through a financial incentive to interact with each other via a burner wallet. Half way through the game, players will find themselves in a tragedy of the commons, as they find out that their greedy interactions had dangerous emissions that now threaten to collapse the economy of Berlin Blockchain Week. They enter as teams into a competition to educate each other, and prevent an economic tipping points to be reached. The team that manages to achieve the best climate score wins the event.

Installation

The Planet A Wallet runs on LeapDAO's test network. Installation should be simple and straight forward:

$ git clone https://github.com/social-dist0rtion-protocol/planet-a.git
$ npm i
$ npm run start

If you're experiencing issues in relation to HTTP, you can start the burner on HTTPS by running:

$ HTTPS=true npm run start

Components

ERC20 Tokens

ERC1948 Tokens

Passports are ERC1948 tokens. Each player needs at least one passport to play.

Passport data structure:

+------------+------------+------------+-------------+
| 20 bytes   | 4 bytes    | 4 bytes    | 4 bytes     |
| name str   | picId      | CO₂ locked | CO₂ emitted |
+------------+------------+------------+-------------+

Note that the CO₂ value in the passport is expressed in Megatons.

Smart Contracts

The planet-a-contracts repository contains:

  • Earth: smart contract that handles the handshake function and releases CO₂ to Air, and Göllars to the players.
  • Air: smart contact that accumulates CO₂. It exposes the plantTree function to lock CO₂ back to Earth.

Earth

Earth needs:

  • LeapToken
  • CO2
  • Goellars

Air

Air needs:

  • LeapToken

Attribution

License

MIT

About

A secure Plasma web wallet for super fast money transfers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 92.1%
  • CSS 6.5%
  • HTML 1.3%
  • Shell 0.1%