ethers.js
for interactions with the blockchain. The first step is to add some way for users to enable/disable playground mode - you can imagine it as a button or any other UI element.fork.rpc_endpoint
as JsonRpcProvider
for the ethers.js
library.tenderlyForkProvider
when interacting with the smart contract in order to have them executed within the fork: