Skip to content

Conversation

@tilo-14
Copy link
Contributor

@tilo-14 tilo-14 commented Jan 17, 2026

No description provided.

.await
.unwrap();

// 7. Transfer Light Token → SPL (uses TransferInterface with auto-detection)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

auto-detection is misleading you declare which tokens you are using by defining source and recipient owner program ids.

Copy link

@ananas-block ananas-block Jan 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldnt the file be called spl_to_light_tokens.rs or similar?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dangerous these will easily become outdated

└── close.rs
```

## Instruction discriminators

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

misleading

Comment on lines +12 to +15
pub fn burn<'info>(
ctx: Context<'_, '_, '_, 'info, BurnAccounts<'info>>,
amount: u64,
) -> Result<()> {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
pub fn burn<'info>(
ctx: Context<'_, '_, '_, 'info, BurnAccounts<'info>>,
amount: u64,
) -> Result<()> {
pub fn burn(ctx: Context<BurnAccounts>, amount: u64) -> Result<()> {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same for all other programs

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.

3 participants