注意: 此页面尚未翻译成中文。以下内容为英文原版。The main differences between Quai’s EVM and the traditional EVM can be seen below.
Address Sharding
Address Sharding
Each zone chain contains a unique set of Quai and Qi
addresses
based on each address’s prefix. The prefix denotes which shard and ledger
the address belongs to.
API Methods and Namespace
API Methods and Namespace
The Go-Quai client API closely resembles
that of Ethereum, but uses the
quai_
namespace rather than the eth_
namespace. The API also contains many of, but not all, the same methods.Interoperability Opcodes
Interoperability Opcodes
Quai’s EVM handles traditional
Solidity smart contracts.
Additional Tooling
Additional Tooling
Both Ethereum and Quai-specific tooling can be used to
build on Quai Network.
Read more in Migrating your Ethereum App to Quai.
Transaction Types
Transaction Types
Quai utilizes additional new transaction
types
compared to the typical EVM to handle cross-chain and UTXO transactions.
Available Tooling
As mentioned earlier, Quai has a subset of Ethereum tooling that has been adapted to handle the multi-chain network. This tooling includes:Pelagus Wallet
The community built wallet for Quai with support for both Quai and Qi
environments.
Hardhat
A modified version of the Hardhat framework built for Quai Network.
Quais SDK
A complete Quai Network interaction library for JavaScript and TypeScript.
Local Node Runner
A containerized, feature complete local node environment for Quai.
Testnet Faucet
The central source for testnet Quai token drips.
Explorer
Track transactions and blocks on the testnet.