@earno/plugin-berachain
v0.2.1
Published
Berachain plugin for earno (sWBERA)
Downloads
189
Readme
@earno/plugin-berachain
Berachain-specific commands for earno.
Enable
This plugin is opt-in. Add it to your earno config:
earno plugin add @earno/plugin-berachainCommands
earno bera deposit --help
earno bera balance --help
earno bera withdraw --help
earno bera withdraw-claim --help
earno bera claim --helpExamples
Balance
earno bera balance --address 0xYourAddressDeposit
Deposit native BERA into sWBERA:
earno bera deposit 1.0 --into swbera --receiver 0xYourAddressDeposit HONEY into Bend Re7 Honey Vault (auto-stakes vault shares to earn BGT):
earno bera deposit 10 --into honey --receiver 0xYourAddressSwap/bridge from another chain via Relay, then deposit + stake on Berachain (supported origin chains: ethereum, optimism, arbitrum, base, berachain):
earno bera deposit 10 --into honey --receiver 0xYourAddress --sender 0xYourAddress \
--originChain base --from usdc.e --maxInput 50 --slippageBps 50Withdraw
sWBERA delayed withdrawal (creates a 7-day cooldown request):
earno bera withdraw 1.0 --from swbera --mode delayed --receiver 0xYourAddressAfter the cooldown, claim the request:
earno bera withdraw-claim 123 --sender 0xYourAddresssWBERA instant withdrawal (market sell via Relay; slippage possible):
earno bera withdraw 1.0 --from swbera --mode instant --to bera --slippageBps 100 --receiver 0xYourAddressWithdraw HONEY from Bend Re7 Honey Vault (unstakes shares first if needed):
earno bera withdraw 10 --from honey --receiver 0xYourAddress --sender 0xYourAddressClaim BGT
Claim pending BGT:
earno bera claim --sender 0xYourAddressClaim and redeem BGT → BERA:
earno bera claim --sender 0xYourAddress --redeem --receiver 0xYourAddress