🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@renegade-fi/base-sepolia-match

Package Overview
Dependencies
Maintainers
4
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@renegade-fi/base-sepolia-match

Example of fetching and assembling base sepolia matches using Renegade SDK

latest
npmnpm
Version
0.0.8
Version published
Maintainers
4
Created
Source

External Match Example

This example demonstrates how to fetch and assemble an external match on Base Sepolia.

Setup

  • Install dependencies:
pnpm install
  • Set up environment variables:
cp .env.example .env

Then replace the values with your own API key and secret.

  • Run the example:
pnpm start

What's happening?

An external match is a match between an order internal to the darkpool, and an order external to the darkpool. An external party (this script) requests a quote for the order, and assembles the quote into a bundle, if the quote is acceptable. The bundle contains a transaction which may be submitted on-chain to settle the match.

The flow of this example is as follows:

  • Get a quote for the order
  • Assemble the quote into a bundle
  • Submit the bundle to the chain

Note: In-kind gas sponsorship is enabled by default. You can see this by inspecting your resulting TX.

FAQs

Package last updated on 18 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts