mirror of
https://github.com/0xbow-io/privacy-pools-core.git
synced 2026-01-09 01:17:58 -05:00
switched sdk package to public one for relayer
This commit is contained in:
@@ -8,6 +8,6 @@ services:
|
||||
volumes:
|
||||
- /tmp/pp_relayer.sqlite:/pp_relayer.sqlite
|
||||
- ./config.example.json:/build/config.json
|
||||
- ../circuits/artifacts:/build/node_modules/@defi-wonderland/privacy-pool-core-sdk/dist/node/artifacts
|
||||
- ../circuits/artifacts:/build/node_modules/@0xbow/privacy-pools-core-sdk/dist/node/artifacts
|
||||
ports:
|
||||
- "3000:3000" # HOST:CONTAINER
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
"docker:run": "docker-compose up"
|
||||
},
|
||||
"dependencies": {
|
||||
"@defi-wonderland/privacy-pool-core-sdk": "0.0.0-bc6bbf37",
|
||||
"@0xbow/privacy-pools-core-sdk": "0.1.0",
|
||||
"ajv": "8.17.1",
|
||||
"body-parser": "1.20.3",
|
||||
"express": "4.21.2",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import {
|
||||
Withdrawal,
|
||||
WithdrawalProof,
|
||||
} from "@defi-wonderland/privacy-pool-core-sdk";
|
||||
} from "@0xbow/privacy-pools-core-sdk";
|
||||
|
||||
/**
|
||||
* Represents the proof payload for a relayer request.
|
||||
|
||||
@@ -11,7 +11,7 @@ import {
|
||||
WithdrawalProof,
|
||||
SDKError,
|
||||
type Hash,
|
||||
} from "@defi-wonderland/privacy-pool-core-sdk";
|
||||
} from "@0xbow/privacy-pools-core-sdk";
|
||||
import { Address } from "viem";
|
||||
import {
|
||||
CHAIN,
|
||||
|
||||
@@ -2,7 +2,7 @@ import {
|
||||
Address,
|
||||
Withdrawal,
|
||||
WithdrawalProof,
|
||||
} from "@defi-wonderland/privacy-pool-core-sdk";
|
||||
} from "@0xbow/privacy-pools-core-sdk";
|
||||
import { WithdrawalPayload } from "../interfaces/relayer/request.js";
|
||||
|
||||
export interface SdkProviderInterface {
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"main": "node dist/main.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@defi-wonderland/privacy-pool-core-sdk": "0.1.0",
|
||||
"@0xbow/privacy-pools-core-sdk": "0.1.0",
|
||||
"@types/node": "^22.13.0",
|
||||
"typescript": "5.5.4"
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ import {
|
||||
Withdrawal,
|
||||
WithdrawalProof,
|
||||
WithdrawalProofInput,
|
||||
} from "@defi-wonderland/privacy-pool-core-sdk";
|
||||
} from "@0xbow/privacy-pools-core-sdk";
|
||||
import { Address, defineChain, Hex } from "viem";
|
||||
import { localhost } from "viem/chains";
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { encodeAbiParameters, getAddress, Hex } from "viem";
|
||||
import { request } from "./api-test.js";
|
||||
import { deposit, proveWithdrawal } from "./create-withdrawal.js";
|
||||
import { Hash, Withdrawal } from "@defi-wonderland/privacy-pool-core-sdk";
|
||||
import { Hash, Withdrawal } from "@0xbow/privacy-pools-core-sdk";
|
||||
|
||||
const FeeDataAbi = [
|
||||
{
|
||||
|
||||
@@ -14,7 +14,7 @@ import {
|
||||
dataMismatchFeeRecipient,
|
||||
} from "../inputs/validateWithdrawal.input.ts";
|
||||
|
||||
import { WithdrawalProof } from "@defi-wonderland/privacy-pool-core-sdk";
|
||||
import { WithdrawalProof } from "@0xbow/privacy-pools-core-sdk";
|
||||
import * as Config from "../../src/config.ts";
|
||||
import { PrivacyPoolRelayer } from "../../src/services/privacyPoolRelayer.service.ts";
|
||||
import { RelayerDatabase } from "../../src/types/db.types.ts";
|
||||
|
||||
Reference in New Issue
Block a user