bosagora / AgoraMainNet

Repo to keep high level discussions and technical details relevant to the Agora Main Net Release
0 stars 0 forks source link

Modify `Staking-Launchpad` to fit Agora #12

Closed MichaelKim20 closed 2 years ago

MichaelKim20 commented 2 years ago

Staking-Launchpad is a site that steaks 40,000 BOA into several accounts. https://github.com/zeroone-boa/staking-launchpad The screen provides step-by-step instructions for what users need. This site provides a CLI that allows users to generate as many keys as they need. This CLI is staking-deposit-cli and its repository is https://github.com/zeroone-boa/staking-deposit-cli. This CLI generates multiple keys and stores the information required when calling a function in the deposit smart contract in one file so that the generated key can call a function in the smart contract. The name of this file is deposit_data-##########.json. After that, the user then uploads the file to the site. Then, the site works with the wallet and steaks 40,000 boa to each account.

We need to change the design, coin name, link, menu, coin unit, etc. to suit Agora.

mkykadir commented 2 years ago

We also need to consider this,

This means a few features, such as the ability to withdraw staked ETH, will have to wait a little longer after The Merge is complete. Plans include a post-merge "cleanup" upgrade to address these features, which is expected to happen very soon after The Merge is completed.

ref.

Unstaking is not implemented yet

omerfirmak commented 2 years ago

^ this also means that there is no way to get funds from beacon chain to eth1 main chain. This keeps us from issuing commons budget too.

linked0 commented 2 years ago

^^ can't we just add withdraw function in our deposit contract?

mkykadir commented 2 years ago

I have divided tasks;

MichaelKim20 commented 2 years ago

I have divided tasks;

  • [x] Theming according to Bosagora branding -> PR Agora theming staking-launchpad#2
  • [ ] Changing text and translations
  • [ ] Providing a .env.bosagora file for our needs
  • [ ] Changing default envVars.ts to our needs
  • [ ] Update 32 to 40.000 as requirement
  • [ ] Change ETHs to BOAs
  1. Please proceed with the design change later
  2. Please add the modification of the change of cli included in this site (https://github.com/zeroone-boa/staking-deposit-cli)
  3. ETH1 Network for testing
  4. ETH2 Network with 40,000 BOA staked for testing
  5. deposit-contract for testing
mkykadir commented 2 years ago

^ @MichaelKim20 the tasks I divided is just for this issue alone. BTW, local docker testnet utilizes the deposit contract by using our modified staking-deposit-cli; it works; except I believe some params are not correct for Beacon chain, thus no blocks can be externalized for now but Validator starts.

hewison-chris commented 2 years ago

Should we add this as docker container to our local-testnet setup?

MichaelKim20 commented 2 years ago

@hewison-chris @mkykadir It is time for us to share information with other team members. For this, we need to proceed with the following first.

Let's run the beacon on TestNet or DevNet. Let's apply this to TestNet Let's also prepare documents on the output provided on the screen and how to install it.

mkykadir commented 2 years ago

Only text was remained to change, is this issue handling by the other team memberS?

hewison-chris commented 2 years ago

Closing this as https://github.com/zeroone-boa/staking-launchpad/issues have been raised to tackle the final changes.