209 похожих чатов

So smart contarct on etherium can query balance on bitcoin

network?

5 ответов

24 просмотра

No. Read above. It was based on an UTXO snapshot.

Jan-Winnicki Автор вопроса
Nenad [I won't dm you]
No. Read above. It was based on an UTXO snapshot.

No, bu the asmart contarct need to know the balance, so nobody can trick it to seeing wrong balance..

Jan-Winnicki Автор вопроса
Jan Winnicki
No, bu the asmart contarct need to know the balanc...

I think you don't need the entire snapshot on the blockchain. I'm not a developer but I guess it is enough to only have a hash in the contract and you can make the snapshot public so that anyone can verify the Merkle tree validity. But I don't know anything about this. An actual programmer would need to answer.

Jan-Winnicki Автор вопроса
Nenad [I won't dm you]
I think you don't need the entire snapshot on the ...

Sell, this can be done without a snapshot, you just need to revert latest transations when checking the balance of the wallet xd

Похожие вопросы

Карта сайта