Skip to content

Integrate kairos-tx with smart contract events #73

@koxu1996

Description

@koxu1996

As discussed during the latest Smart Contract deep dive, we should include details of L2 transaction in deposit event:

  • payload - SigningPayload from kairos-tx,
  • public key,
  • signature.

Furthermore, smart contract must check that given transaction details are correct, i.e.:

  • Given public key is matching with contract caller (depositor).
  • Signature is valid for payload.
  • Payload details are matching with deposit amount.

That would allow to us to fully trust deposit events, without additional interactions with L1.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions