Skip to content

Create a transaction table to store transactions we sent #366

@beeman

Description

@beeman

We need to keep track of the transactions we sent using this wallet. This allows us to store metadata and we can use it to power other features like #323

We'll store the complete transaction so we can always parse it and show details when needed, but we'll de-normalize some fields for easy reference.

  • Define final schema (needs discussion)
  • Create SolanaSignatureSchema
  • Create transaction entity, table, etc
  • Proposed schema
    • id/createdAt/updatedAt (base fields)
    • tx / raw (store the raw transaction)
    • tx status (success or failure)
    • error? (error if failure)
    • networkType: NetworkType (so we know which network we can find this one)
    • destination: SolanaAddressSchema (so we can power Keep track of addresses we sent to #323
    • signature: SolanaSignatureSchema
    • any other fields that seem useful - but let's keep it lean
  • Store sent transactions
  • Consider using Tanstack DB

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedThis is currently on holdenhancementNew feature or requestneeds-specThis issue needs a clear specification before it can be picked up

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions