Skip to content

Commit

Permalink
Merge branch 'master' into new-aptos-doc
Browse files Browse the repository at this point in the history
  • Loading branch information
shahbaz17 authored Oct 21, 2024
2 parents a741fcc + aacda9a commit 4921f73
Show file tree
Hide file tree
Showing 230 changed files with 4,333 additions and 11,858 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,18 +107,18 @@ export const Auth0Guides = [
icon: "logo-js.png",
path: "/docs/guides/auth0",
},
{
key: "android",
title: "Android (Kotlin)",
icon: "logo-android.png",
path: "/docs/guides/android-auth0",
},
{
key: "ios",
title: "iOS (Swift)",
icon: "logo-apple.png",
path: "/docs/guides/ios-auth0",
},
// {
// key: "android",
// title: "Android (Kotlin)",
// icon: "logo-android.png",
// path: "/docs/guides/android-auth0",
// },
// {
// key: "ios",
// title: "iOS (Swift)",
// icon: "logo-apple.png",
// path: "/docs/guides/ios-auth0",
// },
{
key: "flutter",
title: "Flutter",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,12 @@ export const FirebaseGuides = [
icon: "logo-js.png",
path: "/docs/guides/firebase",
},
{
key: "android",
title: "Android (Kotlin)",
icon: "logo-android.png",
path: "/docs/guides/android-firebase",
},
// {
// key: "android",
// title: "Android (Kotlin)",
// icon: "logo-android.png",
// path: "/docs/guides/android-firebase",
// },
{
key: "flutter",
title: "Flutter",
Expand Down
85 changes: 6 additions & 79 deletions docs/connect-blockchain/evm/5ire/android.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,7 @@ keywords: [android, metis, web3auth, authentication, blockchain]
description: "Integrate Web3Auth with the Metis Blockchain in Android | Documentation - Web3Auth"
---

import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx";
import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx";
import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx";
import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx";
import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx";
import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx";
import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx";
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";
import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx";
import SEO from "@site/src/components/SEO";

<SEO
Expand All @@ -25,74 +17,9 @@ import SEO from "@site/src/components/SEO";
slug="/connect-blockchain/evm/metis/android"
/>

While using the Web3Auth Android SDK, you get the private key and sessionId within the user scope.
This private key can interact with [Metis Blockchain](https://metis.io) to make any blockchain
calls, like getting the user's `account`, fetching `balance`, signing transactions, sending
transactions, and interacting with smart contracts. We have highlighted a few key examples to get
you started quickly on that.
While using the Web3Auth Android SDK, you get the private key within the user scope after successful
authorization. This private key can be used to retrieve the user's address, and interact with
[5ire Blockchain](https://5ire.org) to make any blockchain calls. We have highlighted a few here for
getting you started quickly on that.

## Installation

<InstallationSnippet />

## Chain Details for Metis

<Tabs
defaultValue="mainnet"
values={[
{ label: "Mainnet", value: "mainnet", },
{ label: "Testnet", value: "testnet", },
]}
>
<TabItem
value="mainnet"
>

- Chain ID: 0x440
- Public RPC URL: https://andromeda.metis.io/?owner=1088 (Avoid using public rpcTarget in
production, use services like Infura, Quicknode etc)
- Display Name: Andromeda Mainnet
- Block Explorer Link: https://andromeda-explorer.metis.io
- Ticker: METIS
- Ticker Name: Metis

</TabItem>

<TabItem
value="testnet"
>

- Chain ID: 0xEA6E
- Public RPC URL: https://sepolia.metisdevops.link (Avoid using public rpcTarget in production, use
services like Infura, Quicknode etc)
- Display Name: Sepolia Testnet
- Block Explorer Link: https://sepolia-explorer.metisdevops.link/
- Ticker: tMetis
- Ticker Name: tMetis

</TabItem>
</Tabs>

## Initialize

<InitialisationSnippet />

## Get User Info

<UserInfoSnippet />

## Get Account

<GetAccountSnippet />

## Get Balance

<GetBalanceSnippet />

## Send Transaction

<SendTransactionSnippet />

## Sign a message

<SignMessageSnippet />
<EVMInteraction />
103 changes: 6 additions & 97 deletions docs/connect-blockchain/evm/5ire/flutter.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,7 @@ keywords: [flutter, 5ire, web3auth, authentication, blockchain]
description: "Integrate Web3Auth with the 5ire Blockchain in Flutter | Documentation - Web3Auth"
---

import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx";
import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx";
import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx";
import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx";
import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx";
import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx";
import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx";
import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx";
import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx";
import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx";
import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx";
import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx";
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";
import SEO from "@site/src/components/SEO";
Expand All @@ -29,90 +19,9 @@ import SEO from "@site/src/components/SEO";
slug="/connect-blockchain/evm/5ire/flutter"
/>

While using the Web3Auth Flutter SDK, you get the private key within the user scope. This private
key can interact with [5ire Blockchain](https://5ire.org) to make any blockchain calls, like getting
the user's `account`, fetching `balance`, signing transactions, sending transactions, and
interacting with smart contracts. We have highlighted a few key examples to get you started quickly
on that.
While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful
authorization. This private key can be used to retrieve the user's address, and interact with
[5ire Blockchain](https://5ire.org) to make any blockchain calls. We have highlighted a few here for
getting you started quickly on that.

## Installation

<InstallationSnippet />

## Chain Details for 5ire

<Tabs
defaultValue="mainnet"
values={[
{ label: "Mainnet", value: "mainnet", },
{ label: "Testnet", value: "testnet", },
]}
>
<TabItem
value="mainnet"
>

- Chain ID: 0x3E3
- Public RPC URL: https://rpc.5ire.network (Avoid using public rpcTarget in production, use services
like Infura, Quicknode etc)
- Display Name: 5ireChain Mainnet
- Block Explorer Link: https://5irescan.io
- Ticker: 5ire
- Ticker Name: 5ire

</TabItem>

<TabItem
value="testnet"
>

- Chain ID: 0x3E5
- Public RPC URL: https://rpc.testnet.5ire.network (Avoid using public rpcTarget in production, use
services like Infura, Quicknode etc)
- Display Name: 5ireChain Testnet
- Block Explorer Link: https://testnet.5irescan.io
- Ticker: 5ire
- Ticker Name: 5ire

</TabItem>
</Tabs>

## Initialize

<InitialisationSnippet />

## Get User Info

<UserInfoSnippet />

## Get Account

<GetAccountSnippet />

## Get Balance

<GetBalanceSnippet />

## Send Transaction

<SendTransactionSnippet />

## Sign Transaction

<SignTransactionSnippet />

## Smart Contract

<TestContractSnippet />

### Deploy Contract

<DeployContractSnippet />

### Read From Contract

<ReadContractSnippet />

### Write to Contract

<WriteContractSnippet />
<EVMInteraction />
85 changes: 6 additions & 79 deletions docs/connect-blockchain/evm/aleph-zero/android.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,7 @@ description:
"Integrate Web3Auth with the Aleph Zero Blockchain in Android | Documentation - Web3Auth"
---

import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx";
import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx";
import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx";
import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx";
import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx";
import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx";
import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx";
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";
import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx";
import SEO from "@site/src/components/SEO";

<SEO
Expand All @@ -26,74 +18,9 @@ import SEO from "@site/src/components/SEO";
slug="/connect-blockchain/evm/aleph-zero/android"
/>

While using the Web3Auth Android SDK, you get the private key and sessionId within the user scope.
This private key can interact with [Aleph Zero Blockchain](https://alephzero.org) to make any
blockchain calls, like getting the user's `account`, fetching `balance`, signing transactions,
sending transactions, and interacting with smart contracts. We have highlighted a few key examples
to get you started quickly on that.
While using the Web3Auth Android SDK, you get the private key within the user scope after successful
authorization. This private key can be used to retrieve the user's address, and interact with
[Aleph Zero Blockchain](https://alephzero.org) to make any blockchain calls. We have highlighted a
few here for getting you started quickly on that.

## Installation

<InstallationSnippet />

## Chain Details for Aleph Zero

<Tabs
defaultValue="mainnet"
values={[
{ label: "Mainnet", value: "mainnet", },
{ label: "Testnet", value: "testnet", },
]}
>
<TabItem
value="mainnet"
>

- Chain ID: 0xA1EF
- Public RPC URL: https://rpc.alephzero.raas.gelato.cloud (Avoid using public rpcTarget in
production, use services like Infura, Quicknode etc)
- Display Name: Aleph Zero Mainnet
- Block Explorer Link: https://evm-explorer.alephzero.org
- Ticker: AZERO
- Ticker Name: Aleph Zero

</TabItem>

<TabItem
value="testnet"
>

- Chain ID: 0x7F7
- Public RPC URL: https://rpc.alephzero-testnet.gelato.digital (Avoid using public rpcTarget in
production, use services like Infura, Quicknode etc)
- Display Name: Aleph Zero Testnet
- Block Explorer Link: https://evm-explorer-testnet.alephzero.org/
- Ticker: AZERO
- Ticker Name: Aleph Zero

</TabItem>
</Tabs>

## Initialize

<InitialisationSnippet />

## Get User Info

<UserInfoSnippet />

## Get Account

<GetAccountSnippet />

## Get Balance

<GetBalanceSnippet />

## Send Transaction

<SendTransactionSnippet />

## Sign a message

<SignMessageSnippet />
<EVMInteraction />
Loading

0 comments on commit 4921f73

Please sign in to comment.