Overview
Popular blockchain choices for building Web3 capabilities are based typically on the Ethereum Virtual Machine (EVM), and therefore share the development tech stack. Some examples of EVM blockchains:- Ethereum
- BNB Chain (BSC)
- Polygon
- Avalanche
- Arbitrum
Convenience libraries
Most commonly, developers interact with EVM-based blockchains using “convenience libraries” such as web3.js and ethers.js. To streamline your JavaScript development experience, we created the Fireblocks Web3 Provider, to easily connectethers.js and web3.js to your Fireblocks workspace.
web3.js integration
The Fireblocks Web3 Provider helps seamlessly integrate Fireblocks into yourweb3.js development stack. Use it to deploy contracts, sign messages, and send transactions.
Installation
Setup
Usage
web3 object exactly as you normally would!
Example
In this example we are executing the ‘approve’ method of USDC (ERC20) token on Sepolia by using web3.js and Fireblocks web3 provider.ethers.js integration
The Fireblocks Web3 Provider helps seamlessly integrate Fireblocks into yourethers.js development stack.
You can use it to deploy contracts, sign messages, and send transactions.
Installation
Setup
Usage
provider object exactly as you normally would!
Example
In this example we are executing the ‘approve’ method of USDC (ERC20) token on Sepolia by using ethers.js and Fireblocks web3 provider.Viem integration
The Fireblocks Web3 Provider helps seamlessly integrate Fireblocks into your viem development stack. You can use it to deploy contracts, sign messages, and send transactions.Installation
Setup
Usage
walletClient object exactly as you normally would!