diff --git a/docs/docs/develop/solana-avs-testnet.md b/docs/docs/develop/solana-avs-testnet.md index 712a5290ae..f987242092 100644 --- a/docs/docs/develop/solana-avs-testnet.md +++ b/docs/docs/develop/solana-avs-testnet.md @@ -1,11 +1,11 @@ # Solana AVS Testnet Guide :::info -This document serves as a guide for onboarding as an operatior of the AVS for Solana IBC AVS powered by the Picasso Restaking layer. Operators of this AVS are essentially validators of the previously known 'Guest Blockchain'. Additional information can be found [here](../technology/restaking/sol-ibc-avs.md). +This document serves as a guide for onboarding as an operatior of the AVS for Solana IBC, powered by the Picasso Restaking layer. Operators of this AVS are essentially validators of the previously known 'Guest Blockchain'. Additional information can be found [here](../technology/restaking/sol-ibc-avs.md). ::: ### Operator Security Model -The operator set of the AVS will be directed by majority where it is the responsibility of active validators to maintain uptime and sign corresponding payloads of transactions. +The operator set of the AVS will be directed by majority where it is the responsibility of active operator to maintain uptime and sign corresponding payloads of transactions. ### Bonding @@ -20,24 +20,30 @@ The Pyth oracle will be used to access price feeds for LST assets staked to the ### Slashing Slashing functionality will not be included during the initial launch stage. It will be implemented after the network is fully operational and IBC is live in production on Solana. +### Rewards +Operators and stakers will receive 40% of transfer fees generated by the IBC trasnfers to and from Solana. These rewards are pooled globally and distributed automatically to operators and delegators. Each validator has the option to impose a commission on the rewards earned on behalf of the delegators. The fees collected are directed to a global reward pool and a validator proposer-reward pool. + +Upon the AVS launch, rewards will not be active until the initiation of IBC on Solana. Initially, the commission rate will be set at a default of 1%, and operators can adjust this rate once rewards are activated. For this reason, MANTIS credits will be awarded to early participants. ## Validator Setup -1. Install the validator CLI using the following command (From `validator-testing` branch) +1. Install the validator CLI using the following command (From `validator` branch) ``` -cargo install --git https://github.com/composableFi/emulated-light-client#validator-testing +cargo install --git https://github.com/composableFi/emulated-light-client --branch validator ``` 2. Check if the validator CLI is installed using the following command. The current version should be returned as a value indicating successful installation. ``` validator --version > 0.0.1 ``` -3. Set up the rpc url with validator keypair using the command below (note that the program ID is already added). Try to use custom -rpc since the solana public rpc is not good enough to send transactions and will usually be dropped frequently. You can get the rpc -from helius, quicknode or triton. Keypair path is the path to your keypair json file. [For Example](https://github.com/ComposableFi/emulated-light-client/blob/2313bbd4c1f838ce36b894e781ede5eb63b7c698/solana/solana-ibc/keypair.json) +3. Set up the rpc url with your validator keypair using the command below (note that the program ID is already added). Use a custom +rpc since the Solana public rpc is not good enough to send transactions and will usually be dropped frequently. Keypair path is the path to your keypair json file. [For Example](https://github.com/ComposableFi/emulated-light-client/blob/2313bbd4c1f838ce36b894e781ede5eb63b7c698/solana/solana-ibc/keypair.json) ``` -validator init --rpc-url --ws-url --program-id 7uvnkZxh7Z1wwVFMQ1ak7u4LXWx9f8tkgUnMMyiZrSZb --keypair-path +validator init --rpc-url --ws-url --program-id 2HLLVco5HvwWriNbUhmVwA2pCetRkpgrqwnjcsZdyTKT --keypair-path ``` -4. Once the config file is set, run the validator. +:::info +It's recommended to use the same key as your mainnet validator to ensure that you always have enough SOL in your account. However, you can use a different key if you prefer, but make sure you have enough SOL to cover gas fees at all times. +::: +4. Once the config file is set, run the validator: ``` validator run ``` @@ -46,5 +52,5 @@ You can even pass any of the arguments which would override the default config s optional and has higher preference than the default config file. Any of the arguments can be passes and its not neccessary to pass all of them. ``` -validator run --rpc-url --ws-url --program-id 7uvnkZxh7Z1wwVFMQ1ak7u4LXWx9f8tkgUnMMyiZrSZb --keypair-path +validator run --rpc-url --ws-url --program-id 2HLLVco5HvwWriNbUhmVwA2pCetRkpgrqwnjcsZdyTKT --keypair-path :::