Skip to content

Spockuto/timelock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Timelock Encryption

Proof of concept to demonstrate timelock encryption with Drand DKG for prevent front running attacks in blockchain.

Configuration

DRand public parameters needs to configured at config/default.json

{
   "chainHash":"43d4784e9aa3db960d120b3553353be5b6635d7a95bf88831561dfdb3c7c8099",
   "urls":[
      "http://127.0.0.5:39111"
   ]
}

Running locally

To run it locally, you would require the latest version of nodejs and npm.

git clone https://github.com/Spockuto/timelock.git
cd timelock
npm install
npm start

Visit the website at localhost:5000

About

Proof of concept to demonstrate timelock encryption with drand DKG as a front-running prevention mechanism

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published