Skip to content

Commit 96f2c1c

Browse files
committed
deploy: 9871082
1 parent c9368cd commit 96f2c1c

10 files changed

+17
-17
lines changed

404.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
</head>
1717
<body>
1818
<div id="app"></div>
19-
<script>window.__VP_HASH_MAP__=JSON.parse("{\"dapp-connector_api-overview.md\":\"CeAoPAtd\",\"dapp-connector_wallet-connection.md\":\"zH9Cl1b1\",\"dapp-connector_wallet-interaction.md\":\"BzlqB8xg\",\"index.md\":\"0ANBNuxJ\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"Nautilus Wallet\",\"description\":\"Nautilus Technical Docs\",\"base\":\"/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"editLink\":{\"pattern\":\"https://github.com/nautls/nautilus-wallet/edit/master/docs/:path\"},\"outline\":\"deep\",\"logo\":{\"src\":\"/logo.svg\",\"alt\":\"Nautilus Wallet Logo\"},\"sidebar\":[{\"text\":\"dApp Connector API\",\"base\":\"/dapp-connector/\",\"items\":[{\"text\":\"API Overview\",\"link\":\"api-overview\"},{\"text\":\"Connecting to a Wallet\",\"link\":\"wallet-connection\"},{\"text\":\"Interacting with a Wallet\",\"link\":\"wallet-interaction\"}]}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/nautls/nautilus-wallet\"},{\"icon\":\"x\",\"link\":\"https://x.com/nautiluswallet\"},{\"icon\":\"discord\",\"link\":\"https://discord.gg/ergo-platform-668903786361651200\"}]},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":true}");</script>
19+
<script>window.__VP_HASH_MAP__=JSON.parse("{\"dapp-connector_api-overview.md\":\"CBF-HnSV\",\"dapp-connector_wallet-connection.md\":\"zH9Cl1b1\",\"dapp-connector_wallet-interaction.md\":\"CoTdYeZ8\",\"index.md\":\"0ANBNuxJ\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"Nautilus Wallet\",\"description\":\"Nautilus Technical Docs\",\"base\":\"/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"editLink\":{\"pattern\":\"https://github.com/nautls/nautilus-wallet/edit/master/docs/:path\"},\"outline\":\"deep\",\"logo\":{\"src\":\"/logo.svg\",\"alt\":\"Nautilus Wallet Logo\"},\"sidebar\":[{\"text\":\"dApp Connector API\",\"base\":\"/dapp-connector/\",\"items\":[{\"text\":\"API Overview\",\"link\":\"api-overview\"},{\"text\":\"Connecting to a Wallet\",\"link\":\"wallet-connection\"},{\"text\":\"Interacting with a Wallet\",\"link\":\"wallet-interaction\"}]}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/nautls/nautilus-wallet\"},{\"icon\":\"x\",\"link\":\"https://x.com/nautiluswallet\"},{\"icon\":\"discord\",\"link\":\"https://discord.gg/ergo-platform-668903786361651200\"}]},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":true}");</script>
2020

2121
</body>
2222
</html>

assets/dapp-connector_api-overview.md.CeAoPAtd.js assets/dapp-connector_api-overview.md.CBF-HnSV.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/dapp-connector_api-overview.md.CeAoPAtd.lean.js assets/dapp-connector_api-overview.md.CBF-HnSV.lean.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/dapp-connector_wallet-interaction.md.BzlqB8xg.js assets/dapp-connector_wallet-interaction.md.CoTdYeZ8.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/dapp-connector_wallet-interaction.md.BzlqB8xg.lean.js assets/dapp-connector_wallet-interaction.md.CoTdYeZ8.lean.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dapp-connector/api-overview.html

+3-3
Large diffs are not rendered by default.

dapp-connector/wallet-connection.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">if</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (isConnected) {</span></span>
3737
<span class="line has-focus"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> ergo</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> await</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> ergoConnector.nautilus.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">getContext</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(); </span></span>
3838
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div><h3 id="check-for-authorization-and-connection-status" tabindex="-1">Check for authorization and connection status <a class="header-anchor" href="#check-for-authorization-and-connection-status" aria-label="Permalink to &quot;Check for authorization and connection status&quot;"></a></h3><p>Nautilus provides methods to check both the authorization and connection status of your dApp with the wallet.</p><ul><li><code>ergoConnector.nautilus.isConnected()</code>: Checks if there is an active connection between your dApp and Nautilus.</li><li><code>ergoConnector.nautilus.isAuthorized()</code>: Checks if your dApp has been previously authorized by the user.</li></ul><h2 id="disconnect-from-the-wallet" tabindex="-1">Disconnect from the Wallet <a class="header-anchor" href="#disconnect-from-the-wallet" aria-label="Permalink to &quot;Disconnect from the Wallet&quot;"></a></h2><p>You can disconnect from a wallet using the <code>ergoConnector.nautilus.disconnect()</code> method, which will revoke your dApp&#39;s authorization token. If you need to connect again in the future, the user will be prompted with a new connection request.</p></div></div></main><footer class="VPDocFooter" data-v-f86dc75a data-v-5db9aaee><!--[--><!--]--><div class="edit-info" data-v-5db9aaee><div class="edit-link" data-v-5db9aaee><a class="VPLink link vp-external-link-icon no-icon edit-link-button" href="https://github.com/nautls/nautilus-wallet/edit/master/docs/dapp-connector/wallet-connection.md" target="_blank" rel="noreferrer" data-v-5db9aaee><!--[--><span class="vpi-square-pen edit-link-icon" data-v-5db9aaee></span> Edit this page<!--]--></a></div><div class="last-updated" data-v-5db9aaee><p class="VPLastUpdated" data-v-5db9aaee data-v-03ca29fe>Last updated: <time datetime="2024-11-11T11:43:57.000Z" data-v-03ca29fe></time></p></div></div><nav class="prev-next" aria-labelledby="doc-footer-aria-label" data-v-5db9aaee><span class="visually-hidden" id="doc-footer-aria-label" data-v-5db9aaee>Pager</span><div class="pager" data-v-5db9aaee><a class="VPLink link pager-link prev" href="/dapp-connector/api-overview" data-v-5db9aaee><!--[--><span class="desc" data-v-5db9aaee>Previous page</span><span class="title" data-v-5db9aaee>API Overview</span><!--]--></a></div><div class="pager" data-v-5db9aaee><a class="VPLink link pager-link next" href="/dapp-connector/wallet-interaction" data-v-5db9aaee><!--[--><span class="desc" data-v-5db9aaee>Next page</span><span class="title" data-v-5db9aaee>Interacting with a Wallet</span><!--]--></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><!----><!--[--><!--]--></div></div>
39-
<script>window.__VP_HASH_MAP__=JSON.parse("{\"dapp-connector_api-overview.md\":\"CeAoPAtd\",\"dapp-connector_wallet-connection.md\":\"zH9Cl1b1\",\"dapp-connector_wallet-interaction.md\":\"BzlqB8xg\",\"index.md\":\"0ANBNuxJ\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"Nautilus Wallet\",\"description\":\"Nautilus Technical Docs\",\"base\":\"/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"editLink\":{\"pattern\":\"https://github.com/nautls/nautilus-wallet/edit/master/docs/:path\"},\"outline\":\"deep\",\"logo\":{\"src\":\"/logo.svg\",\"alt\":\"Nautilus Wallet Logo\"},\"sidebar\":[{\"text\":\"dApp Connector API\",\"base\":\"/dapp-connector/\",\"items\":[{\"text\":\"API Overview\",\"link\":\"api-overview\"},{\"text\":\"Connecting to a Wallet\",\"link\":\"wallet-connection\"},{\"text\":\"Interacting with a Wallet\",\"link\":\"wallet-interaction\"}]}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/nautls/nautilus-wallet\"},{\"icon\":\"x\",\"link\":\"https://x.com/nautiluswallet\"},{\"icon\":\"discord\",\"link\":\"https://discord.gg/ergo-platform-668903786361651200\"}]},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":true}");</script>
39+
<script>window.__VP_HASH_MAP__=JSON.parse("{\"dapp-connector_api-overview.md\":\"CBF-HnSV\",\"dapp-connector_wallet-connection.md\":\"zH9Cl1b1\",\"dapp-connector_wallet-interaction.md\":\"CoTdYeZ8\",\"index.md\":\"0ANBNuxJ\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"Nautilus Wallet\",\"description\":\"Nautilus Technical Docs\",\"base\":\"/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"editLink\":{\"pattern\":\"https://github.com/nautls/nautilus-wallet/edit/master/docs/:path\"},\"outline\":\"deep\",\"logo\":{\"src\":\"/logo.svg\",\"alt\":\"Nautilus Wallet Logo\"},\"sidebar\":[{\"text\":\"dApp Connector API\",\"base\":\"/dapp-connector/\",\"items\":[{\"text\":\"API Overview\",\"link\":\"api-overview\"},{\"text\":\"Connecting to a Wallet\",\"link\":\"wallet-connection\"},{\"text\":\"Interacting with a Wallet\",\"link\":\"wallet-interaction\"}]}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/nautls/nautilus-wallet\"},{\"icon\":\"x\",\"link\":\"https://x.com/nautiluswallet\"},{\"icon\":\"discord\",\"link\":\"https://discord.gg/ergo-platform-668903786361651200\"}]},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":true}");</script>
4040

4141
</body>
4242
</html>

0 commit comments

Comments
 (0)