Tried on-chain verification of post-quantum signature(SPHINCS+)

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

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