You can use Ethers.js to communicate with Leap Network.

You will need LeapProvider. LeapProvider is extending JsonRpcProvider from Ether.js, so you can use it everywhere in your ethers code like a normal provider.

Creating provider:

const LeapProvider = require('leap-provider');
const leapProvider = new LeapProvider('');

Create a Wallet or connect to existing one. This will allow you to send transactions:

const LeapProvider = require('leap-provider');
const leapProvider = new LeapProvider('');

 // can be passed in a Wallet
const leapWallet = new ethers.Wallet(privKey, leapProvider);

 // or connected to existing wallet
const otherLeapWallet = Wallet.createRandom();

Once you have an instance of leapWallet you are free to use it as a normal Ether.js Wallet. Below are just a few examples.

Send transaction to Leap Network:

 // create some LeapTransaction
const tx = Tx.transfer(

 // tx should be signed

 // send via provider
const resp = await leapWallet.provider.sendTransaction(tx);

 // wait for inclusion, you will get a proper TransactionReceipt once tx is included in a block
const receipt = await resp.wait();

Get LEAP balance:

const balance = await leapProvider.getBalance(wallet.address).then(res => Number(res));

Get token balance:

const token = new ethers.Contract(tokenAddr, erc20abi, leapProvider);
const balance = await token.balanceOf(someAddr);