Skip to content

Python으로 제작된 에너지 거래 블록체인 플랫폼의 프로토타입입니다.

Notifications You must be signed in to change notification settings

ghkdqhrbals/blockchain-with-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Blockchain for RE100(Renewable Energy)

Difference between original contract and ours

기존 에너지 거래 방식 한계점

image

  • 한국 전력 공사의 계약 독점
  • 계약 무결성 침해 위험 존재
  • 계약 수수료 발생
  • 수동화 계약으로 인한 비효율성

제안하는 에너지 거래 블록체인 플랫폼

image

  • 지속적으로 변하는 블록 채굴자에게 계약 위임
  • 계약 무결성 보존
  • 채굴자에게 계약 수수료 지급
  • 자동화 계약으로 인한 효율성
  1. Not signed by Supplier : 트랜잭셔 전송
FROM(ID) ENERGY MONEY TO(ID) signature1 signature2 Fee
Amy 50 41$ M1 Sig(Amy, Tx1) NULL 5%
Bob 30 22$ M3 Sig(Bob, Tx2) NULL 7%
Chen 20 56$ M2 Sig(Chen, Tx3) NULL 3%
... ... ... ...
  1. Signed by Supplier : 서명 후 트랜잭션에 담기
FROM(ID) ENERGY MONEY TO(ID) signature1 signature2 Fee
Amy 50 41$ M1 Sig(Amy, Tx1) Sig(M1,Sig(Amy,Tx1)) 5%
Bob 30 22$ M3 Sig(Bob, Tx2) Sig(M2,Sig(Bob,Tx2)) 7%
Chen 20 56$ M2 Sig(Chen, Tx3) NULL 3%
... ... ... ...

2-stage consensus algorithm

  • 블록 생성자 결정

𝑀𝑖𝑛𝑒𝑟=𝑀𝑎𝑥_𝐴𝑑𝑑𝑟 (ℎ𝑎𝑠ℎ(𝑃𝑟𝑒𝑣𝐵𝑙𝑜𝑐𝑘𝐻𝑎𝑠ℎ,𝐴𝑑𝑑𝑟)

  • 블록 완결

∑(0<𝑖<𝑑)𝑅𝐸100_𝑖^𝑎𝑔𝑟𝑒𝑒 ≥2/3 𝑅𝐸100_𝑡𝑜𝑡𝑎𝑙

Prototype demonstration

image

image

image

image

image

About

Python으로 제작된 에너지 거래 블록체인 플랫폼의 프로토타입입니다.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages