Skip to content

feat: Introduce Transaction struct and related methods#48

Merged
jamesatomc merged 1 commit into
kanari-sdkfrom
kanari-vm
Jun 6, 2025
Merged

feat: Introduce Transaction struct and related methods#48
jamesatomc merged 1 commit into
kanari-sdkfrom
kanari-vm

Conversation

@jamesatomc

Copy link
Copy Markdown
Member
  • Added a new Transaction struct in transaction.rs with fields for transaction ID, sender, receiver, amount, gas fee, timestamp, signature, and optional data.
  • Implemented methods for signing, verifying, and categorizing transactions.
  • Updated the VM module to utilize the new Transaction struct for blockchain interactions.
  • Removed the tps_benchmark.rs file as it was no longer needed.
  • Refactored various modules to replace direct blockchain transaction references with the new Transaction struct.
  • Enhanced logging and error handling throughout the transaction processing flow.

Summary

Summary about this PR

  • Closes #issue

- Added a new Transaction struct in `transaction.rs` with fields for transaction ID, sender, receiver, amount, gas fee, timestamp, signature, and optional data.
- Implemented methods for signing, verifying, and categorizing transactions.
- Updated the VM module to utilize the new Transaction struct for blockchain interactions.
- Removed the tps_benchmark.rs file as it was no longer needed.
- Refactored various modules to replace direct blockchain transaction references with the new Transaction struct.
- Enhanced logging and error handling throughout the transaction processing flow.
@netlify

netlify Bot commented Jun 6, 2025

Copy link
Copy Markdown

Deploy Preview for whitepaperkari canceled.

Name Link
🔨 Latest commit f6cd582
🔍 Latest deploy log https://app.netlify.com/projects/whitepaperkari/deploys/6842c2ca2bc93700085143e3

@jamesatomc jamesatomc merged commit d854c55 into kanari-sdk Jun 6, 2025
8 checks passed
@netlify

netlify Bot commented Jun 6, 2025

Copy link
Copy Markdown

Deploy Preview for movekari canceled.

Name Link
🔨 Latest commit f6cd582
🔍 Latest deploy log https://app.netlify.com/projects/movekari/deploys/6842c2ca2f2cab000893eeed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant