Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
022b88b
feat: replace Thirdweb Engine with EIP-7702 keeper-sponsored transact…
onahprosper Feb 23, 2026
cdfe0b7
refactor: enhance error handling and improve transaction management
onahprosper Feb 23, 2026
6d5ca47
feat: implement EngineService with user operation error parsing and t…
onahprosper Feb 25, 2026
995f56d
feat: integrate EngineService for enhanced event fetching and transac…
onahprosper Feb 25, 2026
ea4255a
fix: improve error reporting in AssignPaymentOrder method
onahprosper Feb 25, 2026
1d5fbb0
feat: add sponsorship mode and wallet type to network and payment ord…
onahprosper Feb 25, 2026
cffff4d
feat: enhance payment order functionality with wallet type integration
onahprosper Feb 25, 2026
12a0049
feat: add delegation contract check for self-sponsored sponsorship mode
onahprosper Feb 25, 2026
daa1bc7
feat: set default wallet type in payment order schema
onahprosper Feb 25, 2026
0631375
fix: update logging to use correct receive address in refund processing
onahprosper Feb 25, 2026
470234a
feat: enhance PaymentOrderCreate with nillable wallet type support
onahprosper Feb 25, 2026
2fdddc4
refactor: streamline SenderController and ReceiveAddressService initi…
onahprosper Feb 26, 2026
2d3340e
refactor: rename sponsorship_mode to wallet_service and update relate…
onahprosper Feb 27, 2026
1e54dd4
feat: implement EIP-7702 authorization flow in sender tests
onahprosper Feb 27, 2026
2ad9cc8
fix: update totalOrders assertions in sender tests for EIP-7702 autho…
onahprosper Feb 27, 2026
35ef0e5
fix: improve nonce handling and error reporting in transaction processes
onahprosper Feb 27, 2026
7bee900
fix: clarify ReleaseNonce behavior in nonce management tests
onahprosper Feb 27, 2026
7d1bece
refactor: remove wallet_type from PaymentOrder and related logic
onahprosper Feb 27, 2026
78a33ba
refactor: standardize formatting in crypto configuration and test files
onahprosper Feb 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 14 additions & 12 deletions config/crypto.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ import (

// CryptoConfiguration type defines crypto configurations
type CryptoConfiguration struct {
HDWalletMnemonic string
AggregatorPublicKey string
AggregatorPrivateKey string
AggregatorAccountEVM string
AggregatorAccountStarknet string
MessageHashMaxSize int
HDWalletMnemonic string
AggregatorPublicKey string
AggregatorPrivateKey string
AggregatorAccountEVM string
AggregatorAccountPrivateKeyEVM string
AggregatorAccountStarknet string
MessageHashMaxSize int
}

// CryptoConfig sets the crypto configuration
Expand All @@ -22,12 +23,13 @@ func CryptoConfig() *CryptoConfiguration {
viper.SetDefault("MESSAGE_HASH_MAX_SIZE", 500)

return &CryptoConfiguration{
HDWalletMnemonic: viper.GetString("HD_WALLET_MNEMONIC"),
AggregatorPublicKey: viper.GetString("AGGREGATOR_PUBLIC_KEY"),
AggregatorPrivateKey: viper.GetString("AGGREGATOR_PRIVATE_KEY"),
AggregatorAccountEVM: viper.GetString("AGGREGATOR_ACCOUNT_EVM"),
AggregatorAccountStarknet: viper.GetString("AGGREGATOR_ACCOUNT_STARKNET"),
MessageHashMaxSize: viper.GetInt("MESSAGE_HASH_MAX_SIZE"),
HDWalletMnemonic: viper.GetString("HD_WALLET_MNEMONIC"),
AggregatorPublicKey: viper.GetString("AGGREGATOR_PUBLIC_KEY"),
AggregatorPrivateKey: viper.GetString("AGGREGATOR_PRIVATE_KEY"),
AggregatorAccountEVM: viper.GetString("AGGREGATOR_ACCOUNT_EVM"),
AggregatorAccountPrivateKeyEVM: viper.GetString("AGGREGATOR_ACCOUNT_PRIVATE_KEY_EVM"),
AggregatorAccountStarknet: viper.GetString("AGGREGATOR_ACCOUNT_STARKNET"),
MessageHashMaxSize: viper.GetInt("MESSAGE_HASH_MAX_SIZE"),
}
}

Expand Down
Loading
Loading