...
...
Table of Contents | ||
---|---|---|
|
This is a Work In Progress.
Table of Contents | ||
---|---|---|
|
REV Vault Composition
Vaults are used to hold/send/receive REV, and are composed as follows:
...
- Bob asks Alice to fund her Vault. (For example, Alice is an exchange and Bob sends USD to Alice to convert to REV.)
- Alice gets a REV Address form Bob. (This REV Address is created by generating and EC key-pairs, and converting the public key into a REV Address.)
- Alice uses an app that generates the rholang code that will send REV from her Vault to a new Vault that is controlled using Bob's private key.
- Alice signs and deploys the rholang code
- DeployData should point to a publicKey, timestamp, "max gas limit".
- Alice proposes.
- SOMEHOW the system sets up code that reserves "max gas limit" from the sender's (Alice's) Vault (It will ultimately transfer from Alice's Vault to CasperPool Vault).
- Code in step 6 gets executed.
- After rholang code gets executed. Bob's REV Address is visible in the REV Vault Registry.
- ("max gas limit" - "actual gas used") is refunded to Alice's REV Vault
REVAddress
Requirements:
...
REV Address Map
A registry of REV Addresses with the following characteristics is needed.
...