基于区块链的毕业设计SSV – Secret Shared Validator – SSV-秘密共享验证程序

本文提供基于区块链的毕业设计国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,基于区块链的毕业设计SSV – Secret Shared Validator – SSV-秘密共享验证程序 是一篇很好的国外资料

SSV - Secret Shared Validator - SSV-秘密共享验证程序

SSV – Secret Shared Validator

SSV is a protocol for distributing an eth2 validator key between multiple operators governed by a consensus protocol (Istanbul BFT).

⚠️ Phase 1 testing ⚠️

Please see phase 1 testing doc for details

Getting started

# Build binary $ CGO_ENABLED=1 go build -o ./bin/ssvnode ./cmd/ssvnode/  # Run local 4 node network (requires docker and a .env file as shown below) $ make docker-debug   # Lint $ make lint-prepare  $ make lint  # Full test $ make full-test 

Splitting a key

We split an eth2 BLS validator key into shares via Shamir-Secret-Sharing(SSS) to be used between the SSV nodes.

# Extract Private keys from mnemonic (optional, skip if you have the public/private keys )  $ ./bin/ssvnode export-keys --mnemonic={mnemonic} --index={keyIndex}  # Generate threshold keys $ ./bin/ssvnode create-threshold --count {# of ssv nodes} --private-key {privateKey}

Example .env file

   DISCOVERY_TYPE=mdns    CONSENSUS_TYPE=validation    NETWORK=pyrmont    BEACON_NODE_ADDR=eth2-4000-prysm.stage.bloxinfra.com:80    VALIDATOR_PUBLIC_KEY=    VALIDATOR_PRIVATE_KEY= # NOT USED FOR NOW    SSV_NODE_1=    SSV_NODE_PUB_KEY_1=    SSV_NODE_2=    SSV_NODE_PUB_KEY_2=    SSV_NODE_3=    SSV_NODE_PUB_KEY_3=    SSV_NODE_4=    SSV_NODE_PUB_KEY_4= 

Progress

[X] Free standing, reference iBFT Go implementation
[X] SSV specific iBFT implementor
[X] Port POC code to Glang
[ ] Single standing instance running with Prysm’s validator client
[] Networking and discovery
[] db, persistance and recovery
[ ] Between instance persistence (pevent starting a new instance if previous not decided) [ ] Multi network support (being part of multiple SSV groups)
[X] Key sharing
[X] Deployment
[] Documentation
[ ] Phase 1 changes
[ ] Audit

** X=done, =WIP

Research (Deprecated)

  • Secret Shared Validators on Eth2
    • Litepaper
  • iBTF
    • Paper
    • EIP650
    • Liveness issues – should have been addressed in the paper
    • Consensys short description
  • POC
    • SSV Python node
    • iBFT Python
    • Prysm adapted validator client
  • Other implementations
    • Consensys Quorum
    • Besu Hyperledger
      • code
  • DKG
    • Blox’s eth2 pools research
    • ETH DKG

SSV是一种协议,用于在由一致协议(BFT)控制的多个操作员之间分发eth2验证程序密钥

SSV-秘密共享验证程序

有关详细信息,请参阅第1阶段测试文档

⚠️ 第1阶段测试⚠️

我们通过Shamir秘密共享(SSS)将eth2 BLS验证程序密钥拆分为共享,以便在SSV节点之间使用

入门

# Build binary $ CGO_ENABLED=1 go build -o ./bin/ssvnode ./cmd/ssvnode/  # Run local 4 node network (requires docker and a .env file as shown below) $ make docker-debug   # Lint $ make lint-prepare  $ make lint  # Full test $ make full-test 

拆分密钥

[X]独立的、参考的iBFT Go实现
[X]特定于SSV的iBFT实现者
[X]端口POC代码到Glang
[]使用Prysm的验证程序客户端运行的单个独立实例
[]网络和发现
[]db,持久性和恢复
[]实例间持久性(如果以前没有决定,则pevent启动一个新实例)[]多网络支持(属于多个SSV组)
[X]密钥共享
[X]部署
[]文档
[]阶段1更改
[]审核

# Extract Private keys from mnemonic (optional, skip if you have the public/private keys )  $ ./bin/ssvnode export-keys --mnemonic={mnemonic} --index={keyIndex}  # Generate threshold keys $ ./bin/ssvnode create-threshold --count {# of ssv nodes} --private-key {privateKey}

示例.env文件

   DISCOVERY_TYPE=mdns    CONSENSUS_TYPE=validation    NETWORK=pyrmont    BEACON_NODE_ADDR=eth2-4000-prysm.stage.bloxinfra.com:80    VALIDATOR_PUBLIC_KEY=    VALIDATOR_PRIVATE_KEY= # NOT USED FOR NOW    SSV_NODE_1=    SSV_NODE_PUB_KEY_1=    SSV_NODE_2=    SSV_NODE_PUB_KEY_2=    SSV_NODE_3=    SSV_NODE_PUB_KEY_3=    SSV_NODE_4=    SSV_NODE_PUB_KEY_4= 

进度

**X=完成,=WIP

** X=done, =WIP

研究(已弃用)

  • Eth2 Litepaper上的秘密共享验证器论文EIP650活跃性问题-应该在论文Consensys简短描述中解决Consensys Quorum Besu超级分类账代码Consensys Quorum Besu超级分类账代码
  • iBTF
    • Paper
    • EIP650
    • Liveness issues – should have been addressed in the paper
    • Consensys short description
  • POC
    • SSV Python node
    • iBFT Python
    • Prysm adapted validator client
  • Other implementations
    • Consensys Quorum
    • Besu Hyperledger
      • code
  • DKG
    • Blox’s eth2 pools research
    • ETH DKG

部分转自网络,侵权联系删除区块链源码网

www.interchains.cc

https://www.interchains.cc/21878.html

区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站 部分资料来自网络,侵权联系删除! 最全最大的区块链源码站 ! QQ3039046426
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » 基于区块链的毕业设计SSV – Secret Shared Validator – SSV-秘密共享验证程序

提供最优质的资源集合

立即查看 了解详情