You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enable users to create a new local node and add it as a validator to an L1 that is already deployed and running on a remote machine. This simulates the workflow for users who wish to validate proof of stake networks.
For Example
Michael has created and deployed a PoS L1, and Raymond wants to add his local node as a Validator to said L1.
Requirements:
CLI must fetch or require the user provide:
Fuji RPC endpoint
L1 RPC endpoint
The BlockchainID and SubnetID of the L1 the user wishes to join
the NodeID and BLSPublicKey
The address of the validator manager contract
The type of validator manager contract being used (NativeTokenStakingManager, ERC20StakingManager, or PoAValidatorManager). This MVP assumes NativeTokenStakingManager.
The user's address funded with:
P-Chain AVAX for the balance
staking tokens
The amount the user wishes to stake
The minimum delegation fee
The desired stake duration
Assumptions for a MVP Functionality
This flow is able to add a PoS validator to an L1 that uses the NativeTokenStakingManager standard validator manager contract.
Current limitations
Nice to Have, but Not Required
This flow is also able to add a PoS validator to an L1 that uses the ERC20TokenStakingManager standard validator manager contract.
Important: A potential validator must already have called increasedAllowance on the ERC20 staking token contract before attempting to stake that allowed amount of the token into the ERC20TokenStakingManager contract.
The text was updated successfully, but these errors were encountered:
Goal
Enable users to create a new local node and add it as a validator to an L1 that is already deployed and running on a remote machine. This simulates the workflow for users who wish to validate proof of stake networks.
For Example
Michael has created and deployed a PoS L1, and Raymond wants to add his local node as a Validator to said L1.
Requirements:
CLI must fetch or require the user provide:
BlockchainID
andSubnetID
of the L1 the user wishes to joinNodeID
andBLSPublicKey
address
of the validator manager contractNativeTokenStakingManager
,ERC20StakingManager
, orPoAValidatorManager
). This MVP assumesNativeTokenStakingManager
.balance
Assumptions for a MVP Functionality
NativeTokenStakingManager
standard validator manager contract.Current limitations
Nice to Have, but Not Required
ERC20TokenStakingManager
standard validator manager contract.increasedAllowance
on the ERC20 staking token contract before attempting to stake that allowed amount of the token into theERC20TokenStakingManager
contract.The text was updated successfully, but these errors were encountered: