Find a complete list of available tools on the .
HttpProvider
object to connect to your node HTTPS endpoint and get the latest block number:
YOUR_CHAINSTACK_ENDPOINT
is your node HTTPS endpoint protected either with the key or password.
HTTPProvider
to connect to your node endpoint and get the latest block number.
JsonRpcProvider
object to connect to your node endpoint and get the latest block number:
204
hardhat.config.js
:
npx hardhat run scripts/deploy.js --network chainstack
and Hardhat will deploy using Chainstack.
--rpc-url
to run the operation through your Chainstack node.forge
to develop, test, and deploy your smart contracts.
To deploy a contract:
cast
to interact with the network and the deployed contracts.
To get the latest block number:
YOUR_CHAINSTACK_ENDPOINT
is your node HTTPS endpoint protected either with the key or password