2. Besu(a.k.a Pantheon) is Enterprise Ethereum
2
• besu(베이수,bay-soo)는 일본어로 base/foundation의미
• an open-source Ethereum client developed under the Apache 2.0 license and written
in Java.
• It runs on the Ethereum public network, private networks, and test networks such
as Rinkeby, Ropsten, and Görli.
• implements Proof of Work(Ethash) and Proof of Authority(IBFT 2.0 and Clique)
consensus mechanisms.
• command line interface and JSON-RPC API for running, maintaining, debugging, and
monitoring nodes in an Ethereum network
• using tool such as Truffle, Remix, and web3j
3. 시스템 요구사항
3
• 메모리
- 최소 4GB, Ethereum Mainnet 사용시 최소 8GB
• 디스크
- Ethereum Mainnet 사용시 동기화를 위해 3TB
• Java
- JDK/JRE 11+, 64bit버전
16. 데모 – 3 node(org) 계속
16
Node
Orion
public
private
node1
Node
Orion
node2
Node
Orion
node3
Node’s private, public key
Orion’s private, public key
SC SC
Public State
private State
17. 데모 – 3 node(org)
17
contract EventEmitter {
address owner;
event stored(address _to, uint _amount);
address _sender;
uint _value;
constructor() public {
owner = msg.sender;
}
function store(uint _amount) public {
emit stored(msg.sender, _amount);
_value = _amount;
_sender = msg.sender;
}
function value() view public returns (uint) {
return _value;
}
function sender() view public returns (address) {
return _sender;
}
}
[ 컨트랙트 배포 ]
[ 함수 호출 ]