CREATE2 Smart Contract-Powered Address Deployments
Zero Hash uses CREATE2 Smart Contracts to predictively deploy on-chain addresses only once a deposit is confirmed
General
CREATE2 is an Ethereum opcode for creating smart contracts that was introduced as part of Ethereum Improvement Proposal (EIP) 1014 and implemented during the Constantinople upgrade (February 2019). It's been leveraged by Zero Hash to do one simple thing: minimize costs, increasing the profitability of both Zero Hash and its Platform partners.
Specifically, CREATE2 ensures that neither the End Customer, Zero Hash, nor the Platform (depending on your setup) will be charged a network fee until we're sure that a deposit is coming. This can significantly increase product margins, completely eliminating unnecessary costs.
See release notes here. Platforms do not need to take any action to implement CREATE2, as it is the default standard for all deposit addresses out-of-the-box
Impacted Networks
CREATE2 is currently supported across the following networks:
- Arbitrum
- Avalanche
- Base
- Ethereum
- Optimism
- Polygon
Applicable Zero Hash Products
Buy/Sell, Stablecoin Tokenization Payment Rails and Crypto/Stablecoins On and Off Ramps
With the above products, Platforms will use the POST /deposits/digital_asset_addresses endpoint to generate deposit addresses. The returned address
will represent the CREATE2 smart contract address.
Client Portal
On the Client Portal, Platforms can generate deposit addresses for their own use. Each returned deposit address will similarly represent the CREATE2 smart contract address.
Fund
CREATE2 has been added to both the Fund API and the Fund SDK.
- Fund API: The POST /fund/rfq response, containing the
deposit_address
value, will represent the CREATE2 smart contract address. - Fund: The displayed address on the Transaction Pending screen will represent the CREATE2 smart contract address.
Updated about 11 hours ago