Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
NorbertBodziony committed Oct 3, 2023
1 parent 8c14256 commit 63c9166
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion sdk/apps/docs/docs/application/connect.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,14 @@ interface AppMetadata {
<Tabs>
<TabItem value="Solana" label="Solana">

:::info
We have ready to use templates that you can try here.

Preview: https://solana-web3-template.nightly.app/

Source code: https://github.com/nightly-labs/solana-web3-template
:::

You can implement nightly connect as full selector or use it with popular solana adapter https://github.com/solana-labs/wallet-adapter

```js
Expand Down Expand Up @@ -113,6 +121,14 @@ const Content: FC = () => {

<TabItem value="SUI" label="SUI">

:::info
We have ready to use templates that you can try here.

Preview: https://sui-web3-template.nightly.app/

Source code: https://github.com/nightly-labs/sui-web3-template
:::

You can implement nightly connect as full selector or use it with popular sui adapter https://github.com/MystenLabs/sui/tree/main/sdk/wallet-adapter

```js
Expand Down Expand Up @@ -149,11 +165,19 @@ export default dynamic(() => Promise.resolve(SuiProvider), {
</TabItem>
<TabItem value="Substrate" label="Substrate">

:::info
We have ready to use templates that you can try here.

Preview: https://aleph-zero-web3-template.nightly.app/

Source code: https://github.com/nightly-labs/aleph-zero-web3-template
:::

You can find example usage of this addapter here: https://github.com/nightly-labs/connect/blob/main/sdk/apps/modal-example/src/routes/aleph.tsx

```js
import { NightlyConnectAdapter } from '@nightlylabs/wallet-selector-polkadot'
const adapter = NightlyConnectAdapter.buildLazy(
const adapter = await NightlyConnectAdapter.build(
{
appMetadata: {
name: 'NC TEST AlephZero',
Expand Down

0 comments on commit 63c9166

Please sign in to comment.