So, as you know we wish to add to our wallets support for AVAX staking.
As of now, we are supporting AVAX-C only, and not X or P.
So I did some research on that staking and understood a few things (correct me if any of them is wrong).
- You can not stake on AVAX-C, but only on AVAX-P
- To stake your AVAX-C, you must
2.1. Convert AVAX-C to AVAX-X
2.2. Convert AVAX-X to AVAX-P
2.3. Stake our AVAX-P
2.4. Earn a lot of money (and after some time when you wish to stop:)
2.5. Unstake our AVAX-P
2.1. Convert AVAX-P to AVAX-X
2.2. Convert AVAX-X to AVAX-C - Each chain (C,X,P) have it own node and API
- Each chain (C,X,P) have an option to move funds between addresses in this chain
- Each chain (C,X,P) have its own transaction structure that is different than the other (X chain is actually UTXO
- Each chain (C,X,P) have its address format
So, if my understanding is correct, adding staking on AVAX, require us to add 2 full chain support and some transferring transactions. Which is a pretty big task
Is there any simpler way to stake AVAX? Maybe a contract on AVAX-C?