Background
- using PQC in the Blockchain mitigates risk of Quantum Computers’ attacks.
- signature verification should be happened on on-chain code(solidity)
- Clarify its possibility is a problem of realizability.
What I did
- used
SPHINCS+
as a post-quantum signature scheme
- This is selected because NIST selected SPHINCS+ as a final candidate of PQC scheme
Result
- I couldn’t realize verification on-chain, because it needs massive gas costs over block gas limit. (30,000,000gas)
- So, it is impossible to use SPHINCS+ as a verification method.
Working Code