Skip to content

Commit

Permalink
add register flow in stakehub (#57)
Browse files Browse the repository at this point in the history
* add register flow in stakehub

* let voting power of registed validators equal to voting power of bc validators

---------

Co-authored-by: NathanBSC <[email protected]>
  • Loading branch information
buddh0 and NathanBSC authored May 17, 2024
1 parent ad37269 commit c945ff2
Show file tree
Hide file tree
Showing 8 changed files with 7,296 additions and 3 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ BSC_CHAIN_ID=714
KEYPASS="0123456789"
INIT_HOLDER="0x04d63aBCd2b9b1baa327f2Dda0f873F197ccd186"
INIT_HOLDER_PRV="59ba8068eb256d520179e903f43dacf6d8d57d72bd306e1bd603fdb8c8da10e8"
RPC_URL="http://127.0.0.1:8545"
HARD_FORK_DELAY=40
FullImmutabilityThreshold=512
MinBlocksForBlobRequests=576
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,13 @@ go build
cd txblob
go build
./txblob
```

## Register validators in StakeHub
cd create-validator
go build

switch the flag
```
needRegister=true
```
Loading

0 comments on commit c945ff2

Please sign in to comment.