Skip to content

Commit ab3feb3

Browse files
authored
Merge pull request #731 from MeshJS/feautre-update/evaluator-additional-txs-utxos
feat(provider): support for additional UTxOs and transactions in transaction evaluation across multi providers
2 parents 1a35360 + bea6f88 commit ab3feb3

File tree

247 files changed

+2579
-2046
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

247 files changed

+2579
-2046
lines changed

.claude/settings.local.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"WebFetch(domain:prettier.io)",
5+
"WebFetch(domain:code.visualstudio.com)",
6+
"WebFetch(domain:github.com)"
7+
],
8+
"deny": [],
9+
"ask": []
10+
}
11+
}

.prettierrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = "@meshsdk/configs/prettier";

.vscode/extensions.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"recommendations": [
3+
"esbenp.prettier-vscode",
4+
"dbaeumer.vscode-eslint"
5+
]
6+
}

.vscode/settings.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"editor.formatOnSave": true,
3+
"editor.codeActionsOnSave": {
4+
"source.fixAll.eslint": "explicit"
5+
},
6+
"editor.defaultFormatter": "esbenp.prettier-vscode",
7+
"[javascript]": {
8+
"editor.formatOnSave": true,
9+
"editor.defaultFormatter": "esbenp.prettier-vscode"
10+
},
11+
"[javascriptreact]": {
12+
"editor.formatOnSave": true,
13+
"editor.defaultFormatter": "esbenp.prettier-vscode"
14+
},
15+
"[typescript]": {
16+
"editor.formatOnSave": true,
17+
"editor.defaultFormatter": "esbenp.prettier-vscode"
18+
},
19+
"[typescriptreact]": {
20+
"editor.formatOnSave": true,
21+
"editor.defaultFormatter": "esbenp.prettier-vscode"
22+
},
23+
"[json]": {
24+
"editor.formatOnSave": true,
25+
"editor.defaultFormatter": "esbenp.prettier-vscode"
26+
},
27+
"[markdown]": {
28+
"editor.formatOnSave": true,
29+
"editor.defaultFormatter": "esbenp.prettier-vscode"
30+
},
31+
"prettier.requireConfig": true,
32+
"eslint.workingDirectories": [
33+
".",
34+
"packages/*",
35+
"apps/*",
36+
"scripts/*"
37+
]
38+
}

apps/playground/src/backend/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import axios from 'axios';
1+
import axios from "axios";
22

33
const instance = axios.create({
44
baseURL: `/api/`,
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
import { post } from './';
2-
import type { UTxO } from '@meshsdk/core';
1+
import type { UTxO } from "@meshsdk/core";
2+
3+
import { post } from "./";
34

45
export async function createTransactionDonate(
56
recipientAddress: string,
67
amount: number,
7-
utxos: UTxO[]
8+
utxos: UTxO[],
89
) {
910
return await post(`donate-mint-mesh`, { recipientAddress, amount, utxos });
1011
}

apps/playground/src/components/button/button-float-documentation.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ import Button from "./button";
66
export default function ButtonFloatDocumentation({ href }: { href: string }) {
77
return (
88
<Link href={href}>
9-
<Button className="fixed bottom-0 left-2 z-30" tooltip="Documentation" style="dark">
9+
<Button
10+
className="fixed bottom-0 left-2 z-30"
11+
tooltip="Documentation"
12+
style="dark"
13+
>
1014
<DocumentTextIcon className="h-5 w-5" />
1115
</Button>
1216
</Link>

apps/playground/src/components/card/card-title-desc-image.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default function CardTitleDescImage({
2525
<Card className="h-full cursor-pointer hover:bg-neutral-100 dark:hover:bg-neutral-700">
2626
{icon ? (
2727
<div className="w-8 dark:text-white">
28-
<Icon icon={icon} className="w-8 h-8 grayscale" />
28+
<Icon icon={icon} className="h-8 w-8 grayscale" />
2929
</div>
3030
) : thumbnailNotioly ? (
3131
<div className="relative h-40 w-full bg-white">
@@ -62,7 +62,9 @@ export default function CardTitleDescImage({
6262
{title}
6363
</h2>
6464
{desc && (
65-
<p className="font-light text-neutral-500 dark:text-neutral-400">{desc}</p>
65+
<p className="font-light text-neutral-500 dark:text-neutral-400">
66+
{desc}
67+
</p>
6668
)}
6769
</Card>
6870
</Link>

apps/playground/src/components/cardano/mesh-wallet.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import { BlockfrostProvider, MeshWallet } from "@meshsdk/core";
22

33
export function getProvider(network = "preprod") {
4-
const provider = new BlockfrostProvider(
5-
`/api/blockfrost/${network}/`,
6-
);
4+
const provider = new BlockfrostProvider(`/api/blockfrost/${network}/`);
75
provider.setSubmitTxToBytes(false);
86
return provider;
97
}

apps/playground/src/components/layouts/image-header-and-body.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ export default function LayoutImageHeaderAndBody({
3232
<h1 className="mb-4 max-w-4xl text-2xl font-extrabold leading-none text-white sm:text-3xl lg:text-4xl">
3333
{title}
3434
</h1>
35-
<p className="text-lg font-normal text-neutral-300">{description}</p>
35+
<p className="text-lg font-normal text-neutral-300">
36+
{description}
37+
</p>
3638
</div>
3739
</header>
3840
<div className="relative z-20 -m-36 mx-4 flex max-w-screen-xl justify-between rounded-lg border border-neutral-200 bg-white p-6 shadow-md xl:-m-32 xl:mx-auto xl:p-9 dark:border-neutral-700 dark:bg-neutral-800">

0 commit comments

Comments
 (0)