Configuring the Fab3 Proxy
In the Ethereum/EVM development world, many clients and wallets use the
web3
library to deploy and manage smart contracts in Ethereum
networks.
web3
library invokes the Ethereum JSON RPC API, which must be
available through a web3
provider.
The fab3
proxy
is a web3
provider, which exposes a set of the Ethereum JSON RPC
APIs and facilitates the use of a web3-based client with the EVM chaincode. The
fab3
proxy uses the Hyperledger Fabric Go SDK to connect and
interact with the Oracle Blockchain
Platform
evmcc
chaincode.
The following steps guide you through
setting up the environment to use the web3
library and the
fab3
proxy to deploy and interact with smart contracts in
Ethereum Virtual Machine (EVM) chaincode.
- Before you configure the
fab3
proxy, you must follow all of the steps to set up the EVM chaincode. See Run Solidity Smart Contracts with EVM on Oracle Blockchain Platform. The EVM chaincode andfab3
package contains the connection profile, including thenetwork.yaml
file and artifacts. - The following steps apply only to Oracle Blockchain Platform instances running on Hyperledger Fabric v2.x.
web3
library.