秋田预测市场 · Discord 审计

EVM 合约向 HyperCore L1 转账及金库存款的开发咨询

2026-06-05 · Hyperliquid · 5 条相关讨论

ldgghg 2026-06-05 18:06:39

hi,I have a question I'd like to ask.EVM Contract to HyperCore Spot: Can a smart contract deployed on HyperEVM successfully transfer its USDC balance to its own HyperCore L1 Spot account? Is there any restriction preventing non-EOA (contract) addresses from holding balances or initiating transfers on HyperCore L1? Using CoreWriter for Vault Deposits: To programmatically deposit the contract's USDC into an L1 Vault, should we use the CoreWriter system contract (0x3333333333333333333333333333333333333333)? Action Details: If we use CoreWriter, can an EVM contract trigger Action 2 (Vault transfer: (vault, isDeposit, usd)) to deposit directly into a Vault? Does the USDC need to be moved to HyperCore first, or does the CoreWriter call handle the asset shift automatically from the EVM contract's balance? Any guidance or code examples on how an EVM contract can correctly deposit into and withdraw from L1 Vaults would be greatly appreciated. Thanks!

hi,I have a question I'd like to ask.EVM Contract to HyperCore Spot: Can a smart contract deployed on HyperEVM successfully transfer its USDC balance to its own HyperCore L1 Spot account? Is there any restriction preventing non-EOA (contract) addresses from holding balances or initiating transfers on HyperCore L1? Using CoreWriter for Vault Deposits: To programmatically deposit the contract's USDC into an L1 Vault, should we use the CoreWriter system contract (0x3333333333333333333333333333333333333333)? Action Details: If we use CoreWriter, can an EVM contract trigger Action 2 (Vault transfer: (vault, isDeposit, usd)) to deposit directly into a Vault? Does the USDC need to be moved to HyperCore first, or does the CoreWriter call handle the asset shift automatically from the EVM contract's balance? Any guidance or code examples on how an EVM contract can correctly deposit into and withdraw from L1 Vaults would be greatly appreciated. Thanks!

ldgghg 2026-06-05 18:07:42

ok,thanks

ok,thanks

ldgghg 2026-06-05 18:11:47

I'm having trouble testing this smart contract on the testnet, so I'd like to know if it will work on the mainnet.

I'm having trouble testing this smart contract on the testnet, so I'd like to know if it will work on the mainnet.

ldgghg 2026-06-05 18:56:19

thanks

thanks