get_core_writer_contract
Documentation for eth_defi.hyperliquid.core_writer.get_core_writer_contract function.
- get_core_writer_contract(web3)
Get a Contract instance for the CoreWriter system contract.
Uses the MockCoreWriter ABI which exposes the same
sendRawAction(bytes)interface as the real CoreWriter precompile.- Parameters
web3 (web3.main.Web3) – Web3 connection.
- Returns
Contract instance at
CORE_WRITER_ADDRESS.- Return type
web3.contract.contract.Contract