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

Cip45 2 #413

Merged
merged 7 commits into from
Nov 30, 2024
Merged
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 16 additions & 2 deletions apps/playground/src/pages/react/ui-components/connect-wallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ function Left() {
<p>
Add this CardanoWallet to allow the user to select a wallet to connect
to your dApp. After the wallet is connected, see{" "}
<Link href="/apis/wallets/browserwallet">Browser Wallet</Link> for a list of
CIP-30 APIs.
<Link href="/apis/wallets/browserwallet">Browser Wallet</Link> for a
list of CIP-30 APIs.
</p>

<p>The signature for the CardanoWallet component is as follows:</p>
Expand Down Expand Up @@ -155,6 +155,20 @@ function Right() {
label={"Connect a Wallet"}
isDark={isDark}
metamask={{ network: "preprod" }}
cardanoPeerConnect={{
dAppInfo: {
name: "Mesh SDK",
url: "https://meshjs.dev/",
},
announce: [
"wss://dev.btt.cf-identity-wallet.metadata.dev.cf-deployments.org",
"https://pro.passwordchaos.gimbalabs.io",
"wss://tracker.files.fm:7073/announce",
"wss://tracker.btorrent.xyz",
"ws://tracker.files.fm:7072/announce",
"wss://tracker.openwebtorrent.com:443/announce",
],
}}
/>
</LiveCodeDemo>
);
Expand Down
Loading