Skip to content

ETHFSx/contracts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ETHFSx Contracts

Abstract

The core function provided by the contract is a data holding contract, in order to decentralize storage system services; it mainly includes:

  • token pledge;
  • storage challenge;
  • challenge response;
  • challenge verification;
  • token revocation;
  • token destruction;

Usage

In order to make it work, we need to install some compile tools and compile solidity file firstly:

~ npm install -g truffle && npm install -g ethereumjs-testrpc  --unsafe-perm
~ cd contracts/dataproof/contract
~ ./build.sh

By then, we will find a go file in api dir named dataproof.go

Deploy

This contract has been deployed in ethereum test net named Rinkeby, you can explorer it by the url as follow:

https://rinkeby.etherscan.io/tx/0x4befef1f86b12fa7d62da486acdddb90656801ead596771bbd0137877dbcd1a4

About

ethfsx PDP contracts, contains pledge, challenge, profit and so on.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors