refactor: rebrand to Brotocol

This commit is contained in:
c4605
2025-04-21 11:07:48 +02:00
parent 0699856953
commit 3a66af7c78
46 changed files with 221 additions and 208 deletions

View File

@@ -1,4 +1,4 @@
import { XLinkSDK } from "../src"
import { BroSDK } from "../src"
import { KnownRoute } from "../src/utils/buildSupportedRoutes"
async function print(matchers: {
@@ -7,7 +7,7 @@ async function print(matchers: {
chain: string[]
token: string[]
}): Promise<void> {
const sdk = new XLinkSDK({
const sdk = new BroSDK({
debugLog: matchers.debug,
})
const supportedRoutes = await sdk

View File

@@ -1,6 +1,6 @@
import { XLinkSDK } from "../src"
import { BroSDK } from "../src"
import { getAllAddresses } from "../src/evmUtils/contractHelpers"
import { getXLinkSDKContext } from "../src/lowlevelUnstableInfos"
import { getSDKContext } from "../src/lowlevelUnstableInfos"
import { _allKnownEVMChains } from "../src/utils/types/knownIds"
async function print(matchers: { chain: string[] }): Promise<void> {
@@ -8,8 +8,8 @@ async function print(matchers: { chain: string[] }): Promise<void> {
matchers.chain.some(m => c.includes(m)),
)
const sdk = new XLinkSDK()
const ctx = getXLinkSDKContext(sdk)
const sdk = new BroSDK()
const ctx = getSDKContext(sdk)
await Promise.all(
chainIds.map(chainId =>