hardhat.config.js
:
npx hardhat run scripts/deploy.js --network fuse
and Hardhat will deploy using your node.
HttpProvider
object to connect to your node HTTPS endpoint and get the latest block number:
WebsocketProvider
object to connect to your node WSS endpoint and get the latest block number:
HTTPProvider
to connect to your node endpoint and get the latest block number.
WebsocketProvider
object to connect to your node WSS endpoint and get the latest block number.
HttpService
object to connect to your node endpoint.
Example to get the latest block number:
JsonRpcProvider
object to connect to your node endpoint and get the latest block number:
122
123
WebSocketProvider
object to connect to your node WSS endpoint and get the latest block number:
122
123
brownie networks add
command with the node endpoint:
fuse-mainnet
.122
123
.env
file with your node endpoint:
YOUR_NODE_ENDPOINT
is your node HTTPS endpoint protected either with the key or password