Skip to content

rangesecurity/faraday-examples

Repository files navigation

Faraday Examples

Small TypeScript examples that use the faraday-sdk to interact with the Faraday API.

Prerequisites

  • Node.js 18+

Setup

git clone https://github.com/rangesecurity/faraday-examples
cd faraday-examples
cp .env.sample .env
# (edit .env to set FARADAY_BASE_URL and FARADAY_API_KEY if needed)
npm install

Run the examples

  • With tsx (no build step):

    npm run dev:chains
    npm run dev:tokens
    npm run dev:quote
  • Or build+run:

    npm run build
    npm run start:chains
    npm run start:tokens
    npm run start:quote

Faucet

Sepolia ETH https://cloud.google.com/application/web3/faucet/ethereum/sepolia

Solana Devnet SOL https://faucet.solana.com/

USDC Faucet https://faucet.circle.com/

About

Examples using the faraday-sdk

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published