All Projects → luckychain → lucky

luckychain / lucky

Licence: BSD-3-Clause license
Proof of luck Intel SGX and IPFS based blockchain.

Programming Languages

javascript
184084 projects - #8 most used programming language
Less
1899 projects

Projects that are alternatives of or similar to lucky

origin-website
The code powering our website
Stars: ✭ 36 (-48.57%)
Mutual labels:  ipfs
tevere
🏞 Decentralized DB over IPFS
Stars: ✭ 57 (-18.57%)
Mutual labels:  ipfs
sgx-tutorial-space18
Tutorial: Uncovering and mitigating side-channel leakage in Intel SGX enclaves
Stars: ✭ 44 (-37.14%)
Mutual labels:  sgx
sgxwallet
sgxwallet is the first-ever opensource high-performance hardware secure crypto wallet that is based on Intel SGX technology. First opensource product on Intel SGX whitelist. Scales to 100,000+ transactions per second. Currently supports ETH and SKALE, and will support BTC in the future. Sgxwallet is under heavy development and use by SKALE network.
Stars: ✭ 50 (-28.57%)
Mutual labels:  sgx
typescript-eth-starter
🔌 Ethereum Dapp Basic Typescript Starter
Stars: ✭ 125 (+78.57%)
Mutual labels:  ipfs
good-karma-kit
😇 A Docker Compose bundle to run on servers with spare CPU, RAM, disk, and bandwidth to help the world. Includes Tor, ArchiveWarrior, BOINC, and more...
Stars: ✭ 238 (+240%)
Mutual labels:  ipfs
kotal
Blockchain Kubernetes Operator
Stars: ✭ 137 (+95.71%)
Mutual labels:  ipfs
ipfs-md-wiki
a decentered wiki system by ipfs and markdown
Stars: ✭ 99 (+41.43%)
Mutual labels:  ipfs
rsync2ipfs-cluster
No description or website provided.
Stars: ✭ 16 (-77.14%)
Mutual labels:  ipfs
ipfs-companion
Browser extension that simplifies access to IPFS resources on the web
Stars: ✭ 1,745 (+2392.86%)
Mutual labels:  ipfs
denarius
Denarius [$D] is a PoW/PoS Hybrid Cryptocurrency with Tribus a new PoW Hashing Algo built specifically for D, one of a kind hybrid masternodes called Fortuna Stakes, atomic swaps, staking, mining, IPFS, optional Native Tor and I2P, and much more!
Stars: ✭ 105 (+50%)
Mutual labels:  ipfs
deplayer
Decentralized mediaplayer which runs entirely in the browser.
Stars: ✭ 14 (-80%)
Mutual labels:  ipfs
drive
Fission Drive 🗄
Stars: ✭ 21 (-70%)
Mutual labels:  ipfs
ipfs-chat
Real-time P2P messenger using go-ipfs pubsub. TUI. End-to-end encrypted texting & file-sharing. NAT traversal.
Stars: ✭ 84 (+20%)
Mutual labels:  ipfs
docker-sgx
Base container for applications using the official Intel SGX SDK
Stars: ✭ 34 (-51.43%)
Mutual labels:  sgx
ipfs-blog
IPFS Blog & News
Stars: ✭ 31 (-55.71%)
Mutual labels:  ipfs
demo-ipfs-id-qr-codes
Generates a QR Code of your IPNS URL and Public Key
Stars: ✭ 21 (-70%)
Mutual labels:  ipfs
dtinyurl
Dcentralized url shortening service base on ipfs
Stars: ✭ 19 (-72.86%)
Mutual labels:  ipfs
Starlog
Starlog: Metadata Blockchain based on Substrate
Stars: ✭ 32 (-54.29%)
Mutual labels:  ipfs
likecoin-wordpress
The WordPress plugin to integrate LikeCoin - Decentralized Publishing Infrastructure.
Stars: ✭ 19 (-72.86%)
Mutual labels:  ipfs

Luckychain

Luckychain is a blockchain layered on top of IPFS. It uses Intel SGX capabilities of modern CPUs for Proof of Luck consensus algorithm which allows energy efficient mining. Transactions can reference arbitrary data of practically unlimited size. A new block is mined on average every 13 seconds. It is written in JavaScript and uses a NPM package which allows running JavaScript in SGX enclaves.

Warning: This is a prototype. Do not use it yet for anything important.

Current implementation uses mock SGX implementation without any of the security assurances of the SGX platform. Help finalizing the NPM package with full SGX support is welcome.

Build guide

This library has the following system dependencies:

After installing the aforementioned system dependencies, install the node dependencies in the root of this repository:

$ npm install

Start

Initialize IPFS the first time:

$ ipfs init

Start the IPFS daemon:

$ ipfs daemon --enable-pubsub-experiment

Lastly, start the application:

$ npm start

Open the web interface at http://localhost:8000.

Docker

You can use Docker to run Luckychain:

docker run -d -p 4001:4001/tcp -p 4002:4002/udp -p 8000:8000/tcp --name luckychain luckychain/luckychain:master

Whitepaper

The whitepaper describing Proof of luck consensus protocol and Luckychain blockchain was published in SysTEX '16 Proceedings of the 1st Workshop on System Software for Trusted Execution, DOI 10.1145/3007788.3007790.

Available at:

Abstract:

In the paper, we present designs for multiple blockchain consensus primitives and a novel blockchain system, all based on the use of trusted execution environments (TEEs), such as Intel SGX-enabled CPUs. First, we show how using TEEs for existing proof of work schemes can make mining equitably distributed by preventing the use of ASICs. Next, we extend the design with proof of time and proof of ownership consensus primitives to make mining energy- and time-efficient. Further improving on these designs, we present a blockchain using a proof of luck consensus protocol. Our proof of luck blockchain uses a TEE platform's random number generation to choose a consensus leader, which offers low-latency transaction validation, deterministic confirmation time, negligible energy consumption, and equitably distributed mining. Lastly, we discuss a potential protection against up to a constant number of compromised TEEs.

You can cite it as:

@inproceedings{Milutinovic2016,
 author = {Milutinovic, Mitar and He, Warren and Wu, Howard and Kanwal, Maxinder},
 title = {Proof of Luck: An Efficient Blockchain Consensus Protocol},
 booktitle = {Proceedings of the 1st Workshop on System Software for Trusted Execution},
 series = {SysTEX '16},
 year = {2016},
 isbn = {978-1-4503-4670-2},
 location = {Trento, Italy},
 pages = {2:1--2:6},
 articleno = {2},
 numpages = {6},
 url = {http://doi.acm.org/10.1145/3007788.3007790},
 doi = {10.1145/3007788.3007790},
 acmid = {3007790},
 publisher = {ACM},
 address = {New York, NY, USA},
 keywords = {Blockchain, Consensus Protocol, Intel SGX, Trusted Execution Environments},
} 
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].