shapeshift / rFOX

rFOX - RUNE rewards for FOX stakers
MIT License
0 stars 0 forks source link

IPFS based rewards history #30

Closed 0xean closed 3 months ago

0xean commented 5 months ago

Problems

Potential decentralized solution

Using IPFS we maintain an index of past distributions that are also persisted to ipfs. For example:

Index

{
   epochs : [ 
      ipfsHash#0
      ipfsHash#1
      ipfsHash#2
   ]
}

Epoch

{
  startBlock: 0
  endBlock: 100
  totalRuneDistributed: 1 billion rune
  distributions:  { "ethAddress" : { runeAmount, txId} ... } } 
}

Costs

low < 100 /month

Qs