Skip to content

feat: scaffold native_transfer contract#59

Open
texasich wants to merge 1 commit into
bridgelet-org:mainfrom
texasich:feat/scaffold-native-transfer
Open

feat: scaffold native_transfer contract#59
texasich wants to merge 1 commit 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.

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

1 participant