Skip to content

Commit e3e79fd

Browse files
committed
Add flow blockchain
1 parent e0814df commit e3e79fd

File tree

12 files changed

+697
-0
lines changed

12 files changed

+697
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: Integrate Web3Auth with the Flow Blockchain in Android
3+
sidebar_label: Android
4+
image: "banners/flow.png"
5+
keywords: [android, flow, web3auth, authentication, blockchain]
6+
description: "Integrate Web3Auth with the Flow Blockchain in Android | Documentation - Web3Auth"
7+
---
8+
9+
import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx";
10+
import SEO from "@site/src/components/SEO";
11+
12+
<SEO
13+
title="Integrate Web3Auth with the Flow Blockchain in Android"
14+
description="Integrate Web3Auth with the Flow Blockchain in Android | Documentation - Web3Auth"
15+
image="https://web3auth.io/docs/banners/flow.png"
16+
slug="/connect-blockchain/evm/flow/android"
17+
/>
18+
19+
While using the Web3Auth Android SDK, you get the private key within the user scope after successful
20+
authorization. This private key can be used to retrieve the user's address, and interact with
21+
[Flow](https://developers.flow.com/) to make any blockchain calls. We have highlighted a few here
22+
for getting you started quickly on that.
23+
24+
<EVMInteraction />
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
---
2+
title: Integrate Web3Auth with the Flow Blockchain
3+
hide_table_of_contents: true
4+
image: "banners/flow.png"
5+
description: "Integrate Web3Auth with the Flow Blockchain | Documentation - Web3Auth"
6+
---
7+
8+
import Tiles from "@theme/Tiles";
9+
import SEO from "@site/src/components/SEO";
10+
11+
<SEO
12+
title="Integrate Web3Auth with the Flow Blockchain"
13+
description="Integrate Web3Auth with the Flow Blockchain | Documentation - Web3Auth"
14+
image="https://web3auth.io/docs/banners/flow.png"
15+
slug="/connect-blockchain/evm/flow"
16+
/>
17+
18+
Integrate Web3Auth seamlessly with EVM-based Flow blockchain. For Web SDKs, Web3Auth returns a
19+
provider that can be directly used to initialize the libraries like ethers.js, web3.js etc. and make
20+
blockchain calls, while for Mobile & Gaming SDKs, the private key is available in the user scope
21+
which can be used in a similar way to initialize the respective blockchain interaction libraries and
22+
make calls to the network.
23+
24+
This documentation provides a straightforward guide for developers looking to implement blockchain
25+
connections quickly and effortlessly across various platforms.
26+
27+
export const Flow = [
28+
{
29+
name: "",
30+
description: "",
31+
tiles: [
32+
{
33+
key: "web",
34+
title: "Web",
35+
icon: "logo-js.png",
36+
path: "/connect-blockchain/evm/flow/web",
37+
},
38+
{
39+
key: "android",
40+
title: "Android (Kotlin)",
41+
icon: "logo-android.png",
42+
path: "/connect-blockchain/evm/flow/android",
43+
},
44+
{
45+
key: "apple",
46+
title: "iOS (Swift)",
47+
icon: "logo-apple.png",
48+
path: "/connect-blockchain/evm/flow/ios",
49+
},
50+
{
51+
key: "flutter",
52+
title: "Flutter",
53+
icon: "logo-flutter.png",
54+
path: "/connect-blockchain/evm/flow/flutter",
55+
},
56+
{
57+
key: "react-native",
58+
title: "React Native",
59+
icon: "logo-react.png",
60+
path: "/connect-blockchain/evm/flow/react-native",
61+
},
62+
{
63+
key: "unity",
64+
title: "Unity",
65+
icon: "logo-unity.png",
66+
path: "/connect-blockchain/evm/flow/unity",
67+
},
68+
],
69+
},
70+
];
71+
72+
<Tiles tileGroups={Flow} />
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: Integrate Web3Auth with the Flow Blockchain in Flutter
3+
sidebar_label: Flutter
4+
image: "banners/flow.png"
5+
keywords: [flutter, flow, web3auth, authentication, blockchain]
6+
description: "Integrate Web3Auth with the Flow Blockchain in Flutter | Documentation - Web3Auth"
7+
---
8+
9+
import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx";
10+
import Tabs from "@theme/Tabs";
11+
import TabItem from "@theme/TabItem";
12+
import SEO from "@site/src/components/SEO";
13+
14+
<SEO
15+
title="Integrate Web3Auth with the Flow Blockchain in Flutter"
16+
description="Integrate Web3Auth with the Flow Blockchain in Flutter | Documentation - Web3Auth"
17+
image="https://web3auth.io/docs/banners/flow.png"
18+
slug="/connect-blockchain/evm/flow/flutter"
19+
/>
20+
21+
While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful
22+
authorization. This private key can be used to retrieve the user's address, and interact with
23+
[Flow](https://developers.flow.com/) to make any blockchain calls. We have highlighted a few here
24+
for getting you started quickly on that.
25+
26+
<EVMInteraction />
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
title: Integrate Web3Auth with the Flow Blockchain in iOS/Swift Applications
3+
sidebar_label: iOS
4+
image: "/docs/banners/flow.png"
5+
keywords: [ios, swift, flow, web3auth, authentication, blockchain]
6+
description:
7+
"Integrate Web3Auth with the Flow Blockchain in iOS/Swift Applications | Documentation - Web3Auth"
8+
---
9+
10+
import EVMInteraction from "@site/src/common/docs/ios-connect-blockchain/_evm-interaction.mdx";
11+
import Tabs from "@theme/Tabs";
12+
import TabItem from "@theme/TabItem";
13+
import SEO from "@site/src/components/SEO";
14+
15+
<SEO
16+
title="Integrate Web3Auth with the Flow Blockchain in iOS/Swift Applications"
17+
description="Integrate Web3Auth with the Flow Blockchain in iOS/Swift Applications | Documentation - Web3Auth"
18+
image="https://web3auth.io/docs/banners/flow.png"
19+
slug="/connect-blockchain/evm/flow/ios"
20+
/>
21+
22+
While using the Web3Auth iOS SDK, you get the private key within the user scope after successful
23+
authorization. This private key can be used to retrieve the user's address, and interact with
24+
[Flow](https://developers.flow.com/) to make any blockchain calls. We have highlighted a few here
25+
for getting you started quickly on that.
26+
27+
<EVMInteraction />

docs/connect-blockchain/evm/flow/react-native.mdx

Lines changed: 180 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
---
2+
title: Integrate Web3Auth with the Flow Blockchain in Unity
3+
sidebar_label: Unity
4+
image: "banners/flow.png"
5+
keywords: [unity, flow, web3auth, authentication, blockchain]
6+
description: "Integrate Web3Auth with the Flow Blockchain in Unity | Documentation - Web3Auth"
7+
---
8+
9+
import InstallationSnippet from "@site/src/common/docs/unity-connect-blockchain/_evm-installation.mdx";
10+
import GetAccountSnippet from "@site/src/common/docs/unity-connect-blockchain/_evm-get-account.mdx";
11+
import UserInfoSnippet from "@site/src/common/docs/unity-connect-blockchain/_evm-user-info.mdx";
12+
import GetBalanceSnippet from "@site/src/common/docs/unity-connect-blockchain/_evm-get-balance.mdx";
13+
import InitialisationSnippet from "@site/src/common/docs/unity-connect-blockchain/_evm-initialisation.mdx";
14+
import SignMessageSnippet from "@site/src/common/docs/unity-connect-blockchain/_evm-sign-message.mdx";
15+
import SendTransactionSnippet from "@site/src/common/docs/unity-connect-blockchain/_evm-send-transaction.mdx";
16+
import Tabs from "@theme/Tabs";
17+
import TabItem from "@theme/TabItem";
18+
import SEO from "@site/src/components/SEO";
19+
20+
<SEO
21+
title="Integrate Web3Auth with the Flow Blockchain in Unity"
22+
description="Integrate Web3Auth with the Flow Blockchain in Unity | Documentation - Web3Auth"
23+
image="https://web3auth.io/docs/banners/flow.png"
24+
slug="/connect-blockchain/evm/flow/unity"
25+
/>
26+
27+
While using the Web3Auth Unity SDK, you get the private key within the user scope. This private key
28+
can interact with the [Nethereum Library](https://nethereum.com/) to make EVM-based blockchain
29+
calls, like getting the user's `account`, fetch `balance`, `sign transaction`, `send transaction`,
30+
`read` from and `write` to the smart contract, etc. We have highlighted a few here to get you
31+
started quickly on that.
32+
33+
## Installation
34+
35+
<InstallationSnippet />
36+
37+
## Chain Details for Flow
38+
39+
<Tabs
40+
defaultValue="mainnet"
41+
values={[
42+
{ label: "Mainnet", value: "mainnet", },
43+
{ label: "Testnet", value: "testnet", },
44+
]}
45+
>
46+
<TabItem
47+
value="mainnet"
48+
>
49+
50+
- Chain ID: `0x2eb`
51+
- Public RPC URL: `https://mainnet.evm.nodes.onflow.org`
52+
- Display Name: Flow Mainnet
53+
- Block Explorer Link: `https://evm.flowscan.io/`
54+
- Ticker: FLOW
55+
- Ticker Name: FLOW
56+
57+
</TabItem>
58+
59+
<TabItem
60+
value="testnet"
61+
>
62+
63+
- Chain ID: `0x221`
64+
- Public RPC URL: `https://testnet.evm.nodes.onflow.org`
65+
- Display Name: Flow Testnet
66+
- Block Explorer Link: `https://evm-testnet.flowscan.io`
67+
- Ticker: FLOW
68+
- Ticker Name: FLOW
69+
70+
</TabItem>
71+
</Tabs>
72+
73+
## Initialize
74+
75+
<InitialisationSnippet />
76+
77+
## Get User Info
78+
79+
<UserInfoSnippet />
80+
81+
## Get Account
82+
83+
<GetAccountSnippet />
84+
85+
## Get Balance
86+
87+
<GetBalanceSnippet />
88+
89+
## Sign a message
90+
91+
<SignMessageSnippet />
92+
93+
## Send Transaction
94+
95+
<SendTransactionSnippet />

0 commit comments

Comments
 (0)