Skip to content

Commit

Permalink
feat: update app network import, set network in transaction builder, …
Browse files Browse the repository at this point in the history
…and remove unused cip68generator validator
  • Loading branch information
tidvn committed Nov 18, 2024
1 parent 2410531 commit ac4dd8f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 31 deletions.
5 changes: 3 additions & 2 deletions contract/script/txbuilder/cip68.txbuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import {
title,
} from "../constants";
import { Plutus } from "../types";
import { appNetworkId } from "@/constants";
import { appNetwork, appNetworkId } from "@/constants";
import { ICip68Contract } from "../interfaces/icip68.interface";

export class Cip68Contract extends MeshAdapter implements ICip68Contract {
Expand Down Expand Up @@ -132,7 +132,8 @@ export class Cip68Contract extends MeshAdapter implements ICip68Contract {
collateral.input.outputIndex,
collateral.output.amount,
collateral.output.address,
);
)
.setNetwork(appNetwork);
return unsignedTx.complete();
};

Expand Down
27 changes: 0 additions & 27 deletions contract/validators/cip68generator.ak

This file was deleted.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
},
"dependencies": {
"@hookform/resolvers": "^3.9.1",
"@meshsdk/core": "1.7.13",
"@meshsdk/react": "1.7.13",
"@meshsdk/core": "1.7.19",
"@meshsdk/react": "1.7.19",
"@prisma/client": "^5.22.0",
"@radix-ui/react-alert-dialog": "^1.1.2",
"@radix-ui/react-aspect-ratio": "^1.1.0",
Expand Down

0 comments on commit ac4dd8f

Please sign in to comment.