|
Blockchain platforms involve the distribution and exchange of cryptocurrency. By extension, it is necessary to have a wallet where the cryptocurrency can be stored and exchanged.
# | Title | User Story | Importance | Notes |
---|---|---|---|---|
1 | Wallet | As an investor or contract developer, I need a place where I can store my Rev | Must Have |
|
2 | Private Key | As an investor, I need a private secure key so that no one can steal my cryptocurrency | Must Have |
|
3 | Ethereum compatibility | As an Ethereum investor, I want to be able to reuse my ETH addresses to store my Rev, so that I don't need to have a whole new set of addresses. | Must Have |
|
4 | Contract Wallet | As a contract developer, I need a place where I can store my Rev and execute my contracts | Must Have | |
5 | Wallet controls Contract Wallets | As a contract developer, I need to see all my contract accounts in a single place so that I can transfer Rev from my Rev wallet to power my smart contracts | Must Have | |
6 | Rev to Phlogiston Exchange | As a contract developer, I need to be able to 'fund' my contract accounts with Phlogiston by moving Rev from my Account to a contract account. | Must Have |
|
7 | Out of Gas Behavior | As a contract runner, I need to know what to expect in the event I run out of funds while running a contract | Must Have |
|
Being developed by the Holdings group.
Below is a list of questions to be addressed as a result of this requirements document: (Answered by Lucius Gregory Meredith )
Question | Outcome |
---|---|
Does creating Contract Wallets cost Phlogiston? | Yes absolutely. Everything costs |
Do Contract wallets house only a single contract? | Yes - |
Who pays the Pholgiston in a contract? Sender or receiver? In Ethereum, the sender always pays. | Could be more sophisticated in the future, for mercury - yes only the sender. |
Do we need to consider ETH→ Phlogiston exchange? Or will ETH need to be converted to Rev? | No |
How much storage is allocated for a default contract wallet? | Yes - we will have provisioning defaults, but we need to be careful. We want to be sensitive to the fact that these resources will cost. |
What is the default minimum amount of Phlogiston needed to transact with a contract wallet? Is there a default? | See above. |
What happens to transactions that run out of Phlogiston? Do they land up on the blockchain? | Throw an exception. For audit purposes, the fact that it threw the error needs to be on the blockchain. Greg doesn't think that ETH records the out of gas error. Our traces become debugging audit logs. If the continuation gets into the Key value store - then the data doesn't get rolled back. User would obtain inforamtion that they needed to add more gas to continue execution. |