Hello everybody,
I’m pretty new to Solidity and wanted to do some experiments/tests regarding staking. From most I could gather/find staking transactions are handled different ( at least in the go code it’s a different type) but at the end it’s still just RLP encoded transactions( data was JSON string, not sure if there are extra fields). So my questions is this - is it possible to do the staking transactions from inside a smart contract, and if yes are there any examples ?
currently it is not possible to access the staking information or perform staking transactions inside a smart contract. this will need some kind of precompile support and we are currently exploring this.
3 Likes
Thank you, you just saved me a lot of time going trough the source code and banging my head. It would be nice though, a lot of utility there
1 Like
I agree there is a lot of utility but wouldn’t that have to be done a solidity code level vs the blockchain level.