Skip to content

Commit

Permalink
feat(factory::aptos): new contract
Browse files Browse the repository at this point in the history
  • Loading branch information
imsk17 committed Oct 30, 2024
1 parent 5e9f1c8 commit 8bcbc15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/factory/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export namespace ChainFactoryConfigs {
},
aptosParams: {
bridge:
"13f8d626e383e8621a89caeb05c56a95fda38aa2dddfa8c2b1ed063f0edb23c9",
"68c508b1b20701c8ddecbbc8e603e788be96c1dcb6ccdcf43ac8594f6f49077a",
identifier: "APTOS",
network: Network.TESTNET,
storage,
Expand Down
4 changes: 2 additions & 2 deletions src/handlers/aptos/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,9 @@ export function aptosHandler({
},
async claimNft(signer, claimData, sigs) {
const signatures = sigs.map((e) =>
Buffer.from(e.signature.replace("0x", ""), "hex"),
Buffer.from(e.signature.slice(2), "hex"),
);
const signers = sigs.map((e) => Buffer.from(e.signerAddress));
const signers = sigs.map((e) => Buffer.from(e.signerAddress, "hex"));
const response = await bc.entry.claim_721({
account: signer,
functionArguments: [
Expand Down

0 comments on commit 8bcbc15

Please sign in to comment.