Skip to content

Implement Soroban Native XLM Token Handling #331

Description

@ayshadogo

Description:
Interact with the Stellar native XLM token (wrapped as a Soroban token) within contracts.

Tasks:

  • Use the Soroban token interface to interact with native XLM
  • In the Donation contract, call token_client.transfer(from, to, amount) to move XLM
  • In the Withdrawal contract, verify the contract holds sufficient balance before approving
  • Use soroban_sdk::token::Client for all token interactions

Acceptance Criteria:
Donations transfer XLM from donor to contract; withdrawals transfer from contract to recipient.


Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions