Skip to content

Commit

Permalink
feat(aptos): add to config
Browse files Browse the repository at this point in the history
  • Loading branch information
imsk17 committed Oct 17, 2024
1 parent 4ecdae4 commit e55617c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 8 additions & 0 deletions src/factory/config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { Network } from "@aptos-labs/ts-sdk";
import { HttpAgent } from "@dfinity/agent";
import { Principal } from "@dfinity/principal";
import { ProxyNetworkProvider } from "@multiversx/sdk-network-providers/out";
Expand Down Expand Up @@ -135,6 +136,13 @@ export namespace ChainFactoryConfigs {
royaltySalePrice: 10000,
storage,
},
aptosParams: {
bridge:
"eea0db4fdc3d8915808c67268a668f3ee0810e864a40b4bde6c371b09337250a",
identifier: "APTOS",
network: Network.TESTNET,
storage,
},
} satisfies Partial<TChainParams>;
}

Expand Down
8 changes: 6 additions & 2 deletions src/handlers/aptos/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import { Account, Aptos, PendingTransactionResponse } from "@aptos-labs/ts-sdk";
import { Network } from "aptos";
import {
Account,
Aptos,
Network,
PendingTransactionResponse,
} from "@aptos-labs/ts-sdk";
import { BridgeStorage } from "../../contractsTypes/evm";
import { DeployNFTCollection, MintNft, TNftChain } from "../types";
import { TClaimData } from "./bridge-client";
Expand Down

0 comments on commit e55617c

Please sign in to comment.