Skip to content

feat: scaffold native_transfer contract#59

Closed
texasich wants to merge 8 commits into
bridgelet-org:mainfrom
texasich:feat/scaffold-native-transfer
Closed

feat: scaffold native_transfer contract#59
texasich wants to merge 8 commits into
bridgelet-org:mainfrom
texasich:feat/scaffold-native-transfer

Conversation

@texasich

Copy link
Copy Markdown

Closes #48

Scaffolds the native_transfer contract directory with empty boilerplate matching the existing contract pattern:

  • Cargo.toml — soroban-sdk 22.0.0, bridgelet-shared path dep, testutils feature gate
  • src/lib.rs#![no_std], empty #[contract] struct + #[contractimpl] block
  • src/errors.rs — placeholder #[contracterror] enum
  • src/events.rs — empty (ready for event definitions)
  • src/test.rs — empty test module skeleton

Added contracts/native_transfer to workspace members in root Cargo.toml.

abdoolyaro and others added 8 commits May 27, 2026 11:14
Added warning about the lack of on-chain signature verification and clarified authorization checks.
Clarified MVP warning about on-chain authorization enforcement.
Updated the initialize function to accept and verify the creator address.
fix: correct sweep signature, document auth stub, and fix creator initialization
Add empty contract structure following ephemeral_account pattern:
- contracts/native_transfer/Cargo.toml with soroban-sdk 22.0.0
- contracts/native_transfer/src/lib.rs with #![no_std] and empty contract
- contracts/native_transfer/src/errors.rs with placeholder error enum
- contracts/native_transfer/src/events.rs (empty)
- contracts/native_transfer/src/test.rs (empty test module)

Closes bridgelet-org#48
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.

Scaffold native_transfer contract

4 participants