基于区块链的毕业设计Abyss Finance Eth2 Depositor – 深渊金融Eth2存款人

本文提供基于区块链的毕业设计国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,基于区块链的毕业设计Abyss Finance Eth2 Depositor – 深渊金融Eth2存款人 是一篇很好的国外资料

Abyss Finance Eth2 Depositor

Abyss Eth2 Depositor allows convenient way to send 1 to 100 deposits in one transaction to Eth2 Deposit Contract.

Contracts

Below is a list of contracts we use for this service:

Ownable, Pausable
Openzepellin smart contracts. The first contract allows for managing ownership. The second contract allows for pausing the contract and vice versa.
AbyssEth2Depositor
A smart contract that accepts up to 3200 ETH and sends up to 100 transactions with required collateral (32 ETH) to Eth2 Deposit Contract.

Installation

To run lockup service, install Homebrew, Node.js, Truffle, OpenZeppelin and pull the repository from GitHub:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" brew install node npm install -g truffle npm install -g @openzeppelin/contracts mkdir projects cd projects git clone https://github.com/abyssfinance/abyss-eth2depositor cd abyss-eth2depositor truffle init 

Setup your truffle environment, write migrations:

truffle develop migrate --reset 

Deployment (Mainnet)

Smart contracts should be deployed with such constructor parameters:

  1. AbyssEth2Depositor.sol (true, 0x0000000000000000000000000000000000000000)

How to Use

  1. Choose amount of Eth2 validator nodes you want to create.
  2. Create array with your pubkeys, withdrawal_credentials, signatures and calldata deposit_data_roots.
  3. Use deposit() function on AbyssEth2Depositor with required ETH value to make deposits to Eth2 Deposit Contract.

License

MIT

Discussion

For any concerns or suggestions visit us on Telegram to discuss.

For security concerns, please email security@abyss.finance.

© Copyright 2020, Abyss Finance


Abyss Finance Eth2 Depositor

深渊Eth2存款允许方便的方式发送1至100存款在一个交易Eth2存款合同。

合同

下面是我们用于此服务的合同列表:

Ownable, Pausable
Openzepellin smart contracts. The first contract allows for managing ownership. The second contract allows for pausing the contract and vice versa.
AbyssEth2Depositor
A smart contract that accepts up to 3200 ETH and sends up to 100 transactions with required collateral (32 ETH) to Eth2 Deposit Contract.

安装

要运行锁定服务,请安装自制,节点.js,Truffle,OpenZeppelin并从GitHub中提取存储库:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" brew install node npm install -g truffle npm install -g @openzeppelin/contracts mkdir projects cd projects git clone https://github.com/abyssfinance/abyss-eth2depositor cd abyss-eth2depositor truffle init 

设置您的Truffle环境,编写迁移:

truffle develop migrate --reset 

部署(Mainnet)

应使用以下构造函数参数部署智能合约:

  1. Abyseth2存款人.sol(true,0x0000000000000000000000)

如何使用

  1. 选择Eth2的数量要创建的验证程序节点。
  2. 用您的pubkey、取款凭证、签名和calldata deposit根创建数组。
  3. 对具有所需ETH值的Abyseth2存款人使用deposit()函数向Eth2存款合同存款。你知道吗

许可证

MIT

讨论

For如有任何问题或建议,请来电与我们讨论。

有关安全问题,请发送电子邮件security@abyss.finance。

©版权所有2020,Abyss Finance

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

www.interchains.cc

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

区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站 部分资料来自网络,侵权联系删除! 最全最大的区块链源码站 ! QQ3039046426
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » 基于区块链的毕业设计Abyss Finance Eth2 Depositor – 深渊金融Eth2存款人

提供最优质的资源集合

立即查看 了解详情