You can connect to RWALayer using either web3 or ethers library as described below.
const ethers = require('ethers'); // ethers v6 const url = 'https://rpc.rwalayer.com/'; const provider = new ethers.JsonRpcProvider(url);