Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mesh and app wallet can choose address type #241

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { useState } from 'react';
import Codeblock from '../../../ui/codeblock';
import Card from '../../../ui/card';
import RunDemoButton from '../../../common/runDemoButton';
import RunDemoResult from '../../../common/runDemoResult';
import SectionTwoCol from '../../../common/sectionTwoCol';
import { getMeshWallet } from './common';
import { useState } from "react";
import Codeblock from "../../../ui/codeblock";
import Card from "../../../ui/card";
import RunDemoButton from "../../../common/runDemoButton";
import RunDemoResult from "../../../common/runDemoResult";
import SectionTwoCol from "../../../common/sectionTwoCol";
import { getMeshWallet } from "./common";

export default function GetChangeAddress() {
return (
Expand All @@ -25,6 +25,12 @@ function Left() {
address to return leftover assets during transaction creation back to
the connected wallet.
</p>
<p>Options:</p>
<ul>
<li>
<code>addressType</code> - "enterprise" | "base" = "base"
</li>
</ul>
</>
);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { useState } from 'react';
import Codeblock from '../../../ui/codeblock';
import Card from '../../../ui/card';
import RunDemoButton from '../../../common/runDemoButton';
import RunDemoResult from '../../../common/runDemoResult';
import SectionTwoCol from '../../../common/sectionTwoCol';
import { getMeshWallet } from './common';
import { useState } from "react";
import Codeblock from "../../../ui/codeblock";
import Card from "../../../ui/card";
import RunDemoButton from "../../../common/runDemoButton";
import RunDemoResult from "../../../common/runDemoResult";
import SectionTwoCol from "../../../common/sectionTwoCol";
import { getMeshWallet } from "./common";

export default function GetUnusedAddresses() {
return (
Expand All @@ -31,6 +31,12 @@ function Left() {
example:
</p>
<Codeblock data={example} isJson={false} />
<p>Options:</p>
<ul>
<li>
<code>addressType</code> - "enterprise" | "base" = "base"
</li>
</ul>
</>
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ function Left() {
Returns a list of used addresses controlled by the wallet. For example:
</p>
<Codeblock data={example} isJson={false} />
<p>Options:</p>
<ul>
<li>
<code>addressType</code> - "enterprise" | "base" = "base"
</li>
</ul>
</>
);
}
Expand Down
6 changes: 6 additions & 0 deletions apps/mesh-web/components/pages/apis/meshwallet/getUtxos.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ function Left() {
the wallet. For example:
</p>
<Codeblock data={example} isJson={false} />
<p>Options:</p>
<ul>
<li>
<code>addressType</code> - "enterprise" | "base" = "base"
</li>
</ul>
</>
);
}
Expand Down
2 changes: 1 addition & 1 deletion apps/mesh-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@headlessui/react": "2.0.4",
"@heroicons/react": "2.1.3",
"@meshsdk/contracts": "1.0.1",
"@meshsdk/core": "1.5.24",
"@meshsdk/core": "1.5.25",
"@meshsdk/react": "1.1.12",
"axios": "1.7.2",
"copy-to-clipboard": "3.3.3",
Expand Down
2 changes: 1 addition & 1 deletion apps/mesh-web/pages/guides/smart-contract.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ import { Transaction, Data, BlockfrostProvider, resolveDataHash } from '@meshsdk
get the exact UTxO we are trying to spend. For this we will use
<code>BlockfrostProvider</code>, but you can use any provider that
Mesh supports, see{' '}
<a href="https://meshjs.dev/apis/providers">Providers</a>.
<a href="https://meshjs.dev/providers">Providers</a>.
</p>
<p>
Paste the following function right before your<code>return</code>{' '}
Expand Down
Loading
Loading