Our devnet is up and running.
New RPC URL
https://devnet.zama.ai
Chain ID
9000
Currency symbol
ZAMA
Gateway URL
https://gateway.devnet.zama.ai
Faucet URL
https://faucet.zama.ai
Block explorer URL
https://explorer.devnet.zama.ai (coming soon)
Here are the main steps from the official guide provided by Metamask:
Add these information to access to blockchain
Network Name
Zama Network
New RPC URL
https://devnet.zama.ai
Chain ID
9000
Currency symbol
ZAMA
Block explorer URL (Optional)
https://explorer.devnet.zama.ai (coming soon)
Network Name
Zama Local
New RPC URL
http://localhost:8545/
Chain ID
9000
Currency symbol
ZAMA
Block explorer URL (Optional)
You can get 10 Zama token on https://faucet.zama.ai/.
We provide a docker image to spin up a fhEVM node for local development.
JSON-RPC
http://127.0.0.1:8545
Websocket
http://127.0.0.1:8546
However, we advise developers to use directly pnpm fhevm:start
or npm run fhevm:start
commands available within the hardhat template, instead of the previous command, as this will launch a bash script which will also deploy automatically the gateway contract and launch the gateway relayer service, which are needed for asynchronous decryption requests.
WARNING: >
GatewayCaller.sol
must be imported at least once in one of your smart contracts if you wish to use the recommendedfhevm:start
command, or else the bash script will emit an error and decryptions would fail. This is needed because hardhat needs to compile the gateway predeploy contract before your initial deployment. This can be done simply by adding the following import at the top of any of the smart contracts used in your project:import "fhevm/gateway/GatewayCaller.sol";
If you need to get coins for a specific wallet, you can use the faucet as follow: