Exploring Web3 with Geth
geth --datadir ~/etherprivate --networkid 786 --rpc --rpcapi "web3,net,eth,debug" --rpcport 8001 --rpccorsdomain http://localhost:7777
--rpcapi flag in the preceding command allows the
debug methods. There are other APIs such as
admin that can be exposed by adding their names to this list.
Web3 is a powerful API and can be explored by attaching a
geth instance can be attached using the following command:
geth attach ~/etherprivate/geth.ipc
Figure 15.1: Web3 via geth.ipc
Now that we've introduced Web3, let's consider how the Remix IDE can be used to deploy...