How To Use Presto with viem.sh

To use Presto with viem.sharrow-up-right library using a custom RPC endpoint, follow these steps:

  1. Install the viem.sharrow-up-right library by running npm install viem.sh in your project directory.

  2. Create your rollup (How to Create a Rollup), open it, and get the RPC URL (What Is RPC).

  3. Set up a provider to connect to your Presto L2 network using your custom RPC endpoint.

  4. Make sure to replace YOUR_CUSTOM_RPC_ENDPOINT with the URL of your custom RPC endpoint.

Last updated