Merge pull request #1 from Tenzorum/tenzorum

adding tenzorum format *incomplete*
This commit is contained in:
Austin Griffith 2018-09-12 08:13:11 -06:00 committed by GitHub
commit 9e26ac8dc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 48 additions and 0 deletions

48
tenzorum.org.md Normal file
View File

@ -0,0 +1,48 @@
# Tenzorum Gasless TXs
### Format
```
{
uint8 _v, bytes32 _r, bytes32 _s,
address _from, //the subscriber
address _to, //the publisher
uint _value, //wei value of transfer
bytes _data, //data input
address _rewardType, //reward relayers in tokens or ETH
uint _rewardAmount //amount to reward
}
```
### Rx
```
##Client SDK
HTTP POST https://login.tenzorum.app/execute + {payload}
GRAPHQL endpoint mutation ExecuteGaslessTx($from: $WalletAddress!, $to: $WalletAddress!, $amount: Int!) {
executeTransaction(from: $from, to: $to) {
amount
}
}
##Relay RPG
- Coming
```
### Tx
```
{
function execute(
uint8 _v, bytes32 _r, bytes32 _s,
address _from,
address _to,
uint _value,
bytes _data,
address _rewardType, uint _rewardAmount) public
}
```
### Example Implementation Links
- Coming
[Tenzorum](https://github.com/austintgriffith/meta-transaction-format-share/blob/master/tenzorum.org.md)