diff --git a/api-reference/aa/sdks/mobile/ios.mdx b/api-reference/aa/sdks/mobile/ios.mdx index 51dd323..d1aceb2 100644 --- a/api-reference/aa/sdks/mobile/ios.mdx +++ b/api-reference/aa/sdks/mobile/ios.mdx @@ -135,17 +135,17 @@ E.g.: ```swift // Gasless -let txHash = try await auth.evm.sendTransacton(transaction, feeMode: .gasless, chainInfo: chainInfo) +let txHash = try await auth.evm.sendTransaction(transaction, feeMode: .gasless, chainInfo: chainInfo) let txHash = try await aaService.quickSendTransactions([transaction], feeMode: .gasless, messageSigner: self, wholeFeeQuote: wholeFeeQuote, chainInfo: chainInfo).value // Native -let txHash = try await auth.evm.sendTransacton(transaction, feeMode: .native, chainInfo: chainInfo) +let txHash = try await auth.evm.sendTransaction(transaction, feeMode: .native, chainInfo: chainInfo) let txHash = try await aaService.quickSendTransactions([transaction], feeMode: .native, messageSigner: self, wholeFeeQuote: wholeFeeQuote, chainInfo: chainInfo).value // ERC-20 Token -let txHash = try await auth.evm.sendTransacton(transaction, feeMode: .token(feeQuote), chainInfo: chainInfo) +let txHash = try await auth.evm.sendTransaction(transaction, feeMode: .token(feeQuote), chainInfo: chainInfo) let txHash = try await aaService.quickSendTransactions([transaction], feeMode: .token(feeQuote), messageSigner: self, wholeFeeQuote: wholeFeeQuote, chainInfo: chainInfo).value ``` diff --git a/api-reference/auth/mobile-sdks/flutter.mdx b/api-reference/auth/mobile-sdks/flutter.mdx index f389a2e..d0c7e73 100644 --- a/api-reference/auth/mobile-sdks/flutter.mdx +++ b/api-reference/auth/mobile-sdks/flutter.mdx @@ -190,7 +190,7 @@ Before using the full extent of the SDK, you'll need to initialize it with `init ```dart // Set relevant project info, retrieved from https://dashboard.particle.network ParticleInfo.set(projectId, clientKey); -// Inititilze ParticleAuth and ParticleAuthCore. +// Initialize ParticleAuth and ParticleAuthCore. ParticleBase.init(ChainInfo.Ethereum, env); ParticleAuthCore.init() ``` @@ -271,7 +271,7 @@ If you need the same message to return a unique signature each time, use the `Ev | Field | Type | Description | | --------- | -------- | --------------------------------------------------------------------------------- | -| `message` | `String` | On Evm requires a hexadeciaml string, on Solana, requires a UTF-8/readable string | +| `message` | `String` | On Evm requires a hexadecimal string, on Solana, requires a UTF-8/readable string | ```dart final messageHex = "0x${StringUtils.toHexString("Hello Particle")}"; @@ -310,13 +310,13 @@ List signatures = await Solana.signAllTransactions(transactions); ### Sign and Send Transaction -For more generalized transaction execution, `Evm.sendTransaction` and sendTransaction` and `Solana.signAndSendTransaction` will be the primary smethods used in virtually every scenario. +For more generalized transaction execution, `Evm.sendTransaction` and sendTransaction` and `Solana.signAndSendTransaction` will be the primary methods used in virtually every scenario. This will propose a signature (on both EVM and Solana) and then immediately push it to the network once confirmed. | Field | Type | Description | | ------------- | -------- | ------------------------------------------------------------------------- | -| `transaction` | `String` | On Evm requires a hexadeciaml string, on Solana, requires a base58 string | +| `transaction` | `String` | On Evm requires a hexadecimal string, on Solana, requires a base58 string | ```dart final signature = await Evm.sendTransaction(transaction); @@ -331,7 +331,7 @@ If you need the same message to return a unique signature each time, use the `Ev | Field | Type | Description | | --------- | -------- | ----------------------------- | -| `message` | `String` | Requires a hexadeciaml string | +| `message` | `String` | Requires a hexadecimal string | ```dart // your typed data is a json string diff --git a/api-reference/auth/mobile-sdks/ios.mdx b/api-reference/auth/mobile-sdks/ios.mdx index 1352f77..dce8815 100644 --- a/api-reference/auth/mobile-sdks/ios.mdx +++ b/api-reference/auth/mobile-sdks/ios.mdx @@ -347,7 +347,7 @@ This same logic applies to `promptMasterPasswordSettingWhenLogin`, which by defa ParticleNetwork.setSecurityAccountConfig(config: .init(promptSettingWhenSign: 1, promptMasterPasswordSettingWhenLogin: 2)) -let securityAccountConfig = PartilceNetwork.getSecurityAccountConfig() +let securityAccountConfig = ParticleNetwork.getSecurityAccountConfig() ``` --- @@ -376,7 +376,7 @@ You can forcibly set a specific appearance to be used within the UI using `Parti | Field | Type | Description | | ------------ | ---------------------- | ----------------------------------------------------------------------------------------- | -| `appearance` | `UIUserInterfaceStyle` | The specific appearance to be used. This can be either `.unspefified`, `.dark`, `.light`. | +| `appearance` | `UIUserInterfaceStyle` | The specific appearance to be used. This can be either `.unspecified`, `.dark`, `.light`. | ```swift // This is the default setting, auto diff --git a/api-reference/auth/mobile-sdks/react.mdx b/api-reference/auth/mobile-sdks/react.mdx index 209ee53..3ab50fc 100644 --- a/api-reference/auth/mobile-sdks/react.mdx +++ b/api-reference/auth/mobile-sdks/react.mdx @@ -299,7 +299,7 @@ For first-time users, only the address of the current chain will be generated. F ```typeScript import {evm, solana} from '@particle-network/rn-auth-core'; -const evmAaddress = await evm.getAddress(); +const evmAddress = await evm.getAddress(); const solanaAddress = await solana.getAddress(); ``` @@ -321,7 +321,7 @@ To request an EIP191 signature from a user's account, you can use either the `ev | Field | Type | Description | | --------- | -------- | ------------------------------------------------------------------------------------------------------------ | -| `message` | `string` | On Evm requires a hexadeciaml string or a UTF-8/readable string, on Solana, requires a UTF-8/readable string | +| `message` | `string` | On Evm requires a hexadecimal string or a UTF-8/readable string, on Solana, requires a UTF-8/readable string | ```typeScript const message = "GM, Particle!" @@ -366,7 +366,7 @@ For more generalized transaction sending, `evm.sendTransaction`and `solana.signA | Field | Type | Description | | ------------- | -------- | ------------------------------------------------------------------------- | -| `transaction` | `string` | On Evm requires a hexadeciaml string, on Solana, requires a base58 string | +| `transaction` | `string` | On Evm requires a hexadecimal string, on Solana, requires a base58 string | ```typeScript const txHash = await evm.sendTransaction(transaction); @@ -382,7 +382,7 @@ To request an EIP712 signature from a user's embedded wallet, you can use either | Field | Type | Description | | --------- | -------- | ---------------------------------------------- | -| `message` | `string` | Requires a hexadeciaml string or a json string | +| `message` | `string` | Requires a hexadecimal string or a json string | ```typeScript const signature = await evm.signTypedData(typedData); diff --git a/api-reference/auth/mobile-sdks/unity.mdx b/api-reference/auth/mobile-sdks/unity.mdx index 46b380a..c9d9406 100644 --- a/api-reference/auth/mobile-sdks/unity.mdx +++ b/api-reference/auth/mobile-sdks/unity.mdx @@ -81,7 +81,7 @@ You'll also need to configure your Podfile if you haven't already. If you don't

Copy our example Podfile

- You can copy our examole + You can copy our example [Podfile](https://github.com/Particle-Network/particle-unity/blob/main/ios-build/Podfile), it will always use the latest version.

@@ -294,7 +294,7 @@ List allSupportLoginTypes = await ParticleAuthCore.Instance.Connect(LoginType.EMAIL, null, SupportAuthType.ALL, SocialLoginPrompt.SelectAccount, loginConfig); ``` -You can also costumize login page for email/phone, send code with method `ParticleAuthCore.Instance.SendPhoneCode` or `ParticleAuthCore.Instance.SendEmailCode`, connect with method `ParticleAuthCore.Instance.ConnectWithCode` +You can also customize login page for email/phone, send code with method `ParticleAuthCore.Instance.SendPhoneCode` or `ParticleAuthCore.Instance.SendEmailCode`, connect with method `ParticleAuthCore.Instance.ConnectWithCode` @@ -513,7 +513,7 @@ var result = (string)JObject.Parse(rpcResult)["result"]; | `gasFeeLevel` | `GasFeeLevel` | (Optional) the gas fee level, `High`, `Medium` or `Low`, default is `High`. | ```csharp -var transaction = await EvmService.CreateTransaction(from, data, value, reciver); +var transaction = await EvmService.CreateTransaction(from, data, value, receiver); ``` ### Estimate Gas diff --git a/api-reference/connect/desktop/web.mdx b/api-reference/connect/desktop/web.mdx index 25d68d2..d054029 100644 --- a/api-reference/connect/desktop/web.mdx +++ b/api-reference/connect/desktop/web.mdx @@ -78,7 +78,7 @@ import { injected as solaInjected, solanaWalletConnectors } from '@particle-netw import { wallet, EntryPosition } from '@particle-network/connectkit/wallet'; import React from 'react'; -//Retrived from https://dashboard.particle.network +//Retrieved from https://dashboard.particle.network const projectId = process.env.NEXT_PUBLIC_PROJECT_ID as string; const clientKey = process.env.NEXT_PUBLIC_CLIENT_KEY as string; const appId = process.env.NEXT_PUBLIC_APP_ID as string; diff --git a/api-reference/connect/mobile/android.mdx b/api-reference/connect/mobile/android.mdx index cceca59..29705e9 100644 --- a/api-reference/connect/mobile/android.mdx +++ b/api-reference/connect/mobile/android.mdx @@ -150,7 +150,7 @@ Initialization can be started through the `init` method on `ParticleConnect` (fr | Field | Type | Description | | :------------- | :------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| application | Application | Android applicaiton | +| application | Application | Android application | | env | Env | DEV, STAGING, PRODUCTION. Different levels log different information | | chain | ChainInfo | The primary chain to be used within your application. `ChainInfo` can be set as a `ChainInfo` object imported from `network.particle.chains.ChainInfo.Companion.{chain}`. For example, `ChainInfo.Ethereum` or `ChainInfo.Solana`. | | dAppData | DAppMetadata | Metadata outlining the description of your application, used for `WalletConnect`. This should be set as an instance of `DAppMetadata` (imported from `com.particle.base.model.DAppMetadata`) with the following parameters set:
- `name`, the name of your project.
- `icon`, a link containing the logo (icon) of your project; this should be 512x512, ideally.
- `url`, the URL of your project's website.
- `description`, a short description of your project. | @@ -299,7 +299,7 @@ For `EVMConnectAdapter` and `SolanaConnectAdapter`, calling `connect` will gener | Field | Type | Description | | :------- | :--------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `config` | `ConnectConifg?` | The `ConnectConfig` will only be effective when `adapter.name` is MobileWCWalletName.AuthCore.name`. You can construct a valid object using the subclass `ParticleAuthCoreConfig`. You can pass `null` when `adapter.walletType` is another value. | +| `config` | `ConnectConfig?` | The `ConnectConfig` will only be effective when `adapter.name` is MobileWCWalletName.AuthCore.name`. You can construct a valid object using the subclass `ParticleAuthCoreConfig`. You can pass `null` when `adapter.walletType` is another value. | `ConnectConfig` ` There are 4 already implemented subclasses that can correspond to different connection scenarios @@ -493,7 +493,7 @@ E.g.: ```kotlin Kotlin connectAdapter.signTypedData(address, data, callback) ``` -### (Optional) Custom WalletConnect Projcet ID +### (Optional) Custom WalletConnect Project ID ```kotlin Kotlin //call before ParticleConnect.init ParticleNetwork.setWalletConnectProjectId("Your WalletConnect Project ID, from https://cloud.walletconnect.com") diff --git a/api-reference/connect/mobile/flutter.mdx b/api-reference/connect/mobile/flutter.mdx index 2efebe9..74b05fc 100644 --- a/api-reference/connect/mobile/flutter.mdx +++ b/api-reference/connect/mobile/flutter.mdx @@ -221,7 +221,7 @@ This must happen before the other methods become functional. First, call `Partic | -------------- | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `chainInfo` | `ChainInfo` |The primary blockchain and network (e.g., testnet) your application will use. For instance, you might choose `.Ethereum` or `.EthereumSepolia`, depending on the specific network required for your use case. | | `dAppData` | `DAppMetadata` | Metadata outlining the description of your application; this should be an instance of `DAppMetadata` with the following parameters: `name`, the name of your project. `icon`, a URL linking to the icon of your project; this should be 512x512, ideally. `url`, the URL of your project's website. `description`, the description of your project, `redirect`, optional, redirect universal link of you project, `verifyUrl`, optional. | -| `env` | `Env` | The specific environmennt to be used. This can be either `.dev`, `.staging`, or `.production`. | +| `env` | `Env` | The specific environment to be used. This can be either `.dev`, `.staging`, or `.production`. | | `rpcUrlConfig` | `RpcUrlConfig?` | Customize the RPC URL. | ```dart @@ -442,7 +442,7 @@ final account = await ParticleConnect.importMnemonic(WalletType.evmPrivateKey, m // Exportation String privateKey = await ParticleConnect.exportPrivateKey(WalletType.evmPrivateKey, publicAddress); ``` -### (Optional) Custom WalletConnect Projcet ID +### (Optional) Custom WalletConnect Project ID ```dart // Call before ParticleConnect.init ParticleConnect.setWalletConnectProjectId("Your WalletConnect Project ID, from https://cloud.walletconnect.com") diff --git a/api-reference/connect/mobile/ios.mdx b/api-reference/connect/mobile/ios.mdx index b34ef56..dcd1ecd 100644 --- a/api-reference/connect/mobile/ios.mdx +++ b/api-reference/connect/mobile/ios.mdx @@ -312,7 +312,7 @@ For `EVMConnectAdapter` and `SolanaConnectAdapter`, the 'connect' method will in | Field | Type | Description | | -------- | ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `config` | `ConnectConifg?` | The `ConnectConfig` will only be effective when `adapter.walletType` is `.authCore`. You can construct a valid object using the subclass `ParticleAuthCoreConfig`. When `adapter.walletType` is another value, you can pass `ConnectConfig.none`. | +| `config` | `ConnectConfig?` | The `ConnectConfig` will only be effective when `adapter.walletType` is `.authCore`. You can construct a valid object using the subclass `ParticleAuthCoreConfig`. When `adapter.walletType` is another value, you can pass `ConnectConfig.none`. | `ParticleAuthCoreConfig` construct method `init` support the following parameters: @@ -464,7 +464,7 @@ As an alternative to `signMessage`, for **EVM chains**, you can request that a u let signed = try await adapter.signTypedData(publicAddress: publicAddress, data: message).value ``` -### (Optional) Custom WalletConnect Projcet ID +### (Optional) Custom WalletConnect Project ID ```swift ParticleConnect.setWalletConnectV2ProjectId("WalletConnect V2 Project ID") diff --git a/api-reference/connect/mobile/react.mdx b/api-reference/connect/mobile/react.mdx index d7da4d6..29df238 100644 --- a/api-reference/connect/mobile/react.mdx +++ b/api-reference/connect/mobile/react.mdx @@ -320,7 +320,7 @@ const connectConfig = { loginType: LoginType.Google, supportAuthType: [SupportAuthType.Phone, SupportAuthType.Google, SupportAuthType.Apple], socialLoginPrompt: SocialLoginPrompt.SelectAccount, - loginPageConifg: { + loginPageConfig: { projectName: "React Native Example", description: "Welcome to login", imagePath: "https://connect.particle.network/icons/512.png" @@ -430,7 +430,7 @@ Within an active session, you can retrieve the accounts (addresses) that belong const accounts = await particleConnect.getAccounts(walletType); ``` -### (Optional) Custom WalletConnect Projcet ID +### (Optional) Custom WalletConnect Project ID ```typeScript // Call before particleConnect.init particleConnect.setWalletConnectProjectId("Your WalletConnect Project ID") @@ -440,6 +440,6 @@ particleConnect.setWalletConnectProjectId("Your WalletConnect Project ID") ## Dive Deeper -`@particle-network/rn-connect` includes `@partcile-connect/rn-auth-core`. +`@particle-network/rn-connect` includes `@particle-connect/rn-auth-core`. If you log in with a Particle account, you can access additional functions such as `getUserInfo`, `openAccountAndSecurity`, `hasMasterPassword` and `hasPaymentPassword` and `changeMasterPassword`. You can also reference the docs from [Auth SDK reference](/api-reference/auth/mobile-sdks/react). diff --git a/api-reference/connect/mobile/unity.mdx b/api-reference/connect/mobile/unity.mdx index 93cac50..4b5a2d4 100644 --- a/api-reference/connect/mobile/unity.mdx +++ b/api-reference/connect/mobile/unity.mdx @@ -195,7 +195,7 @@ An example of the above process can be found below. | `chainInfo` | `ChainInfo` | The primary chain to be used within your application. This should be indicated by an overall blockchain, followed by a specific network. Within this example, it's `.Ethereum`(alternatively it could be `.EthereumSepolia`, and so on.) | | `dAppData` | `DAppMetadata` | Metadata that describes your application and should be provided as an instance of `DAppMetadata` with the following parameters: `walletConnectProjectId`, the WalletConnect project ID retrieved from the [WalletConnect dashboard](https://cloud.walletconnect.com), `name`, the name of your project. `icon`, a URL linking to the icon of your project; this should be 512x512, ideally. `url`, the URL of your project's website. `description`, the description of your project, `redirect`, optional, a redirect universal link to you project, `verifyUrl`, optional. | | `rpcUrl` | `RpcUrl?` | Customize the RPC URL. | -| `env` | `Env` | The specific environmennt to be used. This can be either `.DEV`, `.STAGING`, `.PRODUCTION`, this should be set to `.PRODUCTION` when released. | +| `env` | `Env` | The specific environment to be used. This can be either `.DEV`, `.STAGING`, `.PRODUCTION`, this should be set to `.PRODUCTION` when released. | ```csharp var metadata = new DAppMetaData(TestConfig.walletConnectProjectId,"Particle Connect", diff --git a/api-reference/enhanced/evm/sdk-ref.mdx b/api-reference/enhanced/evm/sdk-ref.mdx index 44f42ac..f0ab489 100644 --- a/api-reference/enhanced/evm/sdk-ref.mdx +++ b/api-reference/enhanced/evm/sdk-ref.mdx @@ -15,7 +15,7 @@ A full reference of common methods alongside their parameters **can be found bel | EvmService | getTokens | address | | EvmService | getNFTs | address | | EvmService | getTransactionsByAddress | address | -| EvmService | suggeseGasFee | | +| EvmService | suggestGasFee | | | EvmService | estimateGas | from, to, value, data | | EvmService | erc20Transfer | contractAddress, to, amount | | EvmService | erc20Approve | contractAddress, spender, amount | diff --git a/api-reference/wallet/mobile/flutter.mdx b/api-reference/wallet/mobile/flutter.mdx index 84d3cef..d216ea8 100644 --- a/api-reference/wallet/mobile/flutter.mdx +++ b/api-reference/wallet/mobile/flutter.mdx @@ -313,8 +313,8 @@ The specific parameters that can be used within `ParticleWallet.navigatorBuyCryp | `fixFiatCoin` | `bool` | (Optional) Lock selection of fiat coin in the buy menu, default is false. | | `fixFiatAmt` | `bool` | (Optional) Lock selection of fiat amount in the buy menu, default is false. | | `fixCryptoCoin` | `bool` | (Optional) Lock selection of crypto coin in the buy menu, default is false. | -| `theme` | `Theme` | (Optional) The buy page theme, `dark` or `light`, default is curreny appearance. | -| `language` | `Language?` | (Optional) The buy page lanuage, default is current language. | +| `theme` | `Theme` | (Optional) The buy page theme, `dark` or `light`, default is current appearance. | +| `language` | `Language?` | (Optional) The buy page language, default is current language. | | `modalStyle` | `IOSModalPresentStyle?` | (Optional) Control iOS presentation style, default is `pageSheet`. | ```dart @@ -400,7 +400,7 @@ WalletType walletType = WalletType.authCore; await ParticleWallet.switchWallet(walletType, publicAddress); ``` --- -### (Optional) Custom WalletConnect Projcet ID +### (Optional) Custom WalletConnect Project ID ```dart //call before ParticleConnect.init ParticleWallet.setWalletConnectProjectId("Your WalletConnect Project ID, from https://cloud.walletconnect.com") diff --git a/api-reference/wallet/mobile/ios.mdx b/api-reference/wallet/mobile/ios.mdx index 9a88699..ff4545a 100644 --- a/api-reference/wallet/mobile/ios.mdx +++ b/api-reference/wallet/mobile/ios.mdx @@ -240,7 +240,7 @@ let signature = try await auth.evm.sendTransaction(transaction, chainInfo: nil) let data = getContractData() let from = auth.evm.getAddress() ?? "" -let transacion = try await ParticleWalletAPI.getEvmService().createTransaction(from: from, to: nil, data: data).value +let transaction = try await ParticleWalletAPI.getEvmService().createTransaction(from: from, to: nil, data: data).value let signature = try await auth.evm.sendTransaction(transaction, chainInfo: nil) ``` @@ -311,7 +311,7 @@ ParticleWalletConnect.initialize( ### Custom Wallet UI -`ParticleWalletGUI` is drived by wallet adapters; after initializing the SDK, you'll be able to retrieve all relevant adapters through `ParticleConnect.getAdapters`, which can be plugged into `ParticleWalletGUI.setAdapters` to initiate the custom wallet interface, as is shown below. +`ParticleWalletGUI` is derived by wallet adapters; after initializing the SDK, you'll be able to retrieve all relevant adapters through `ParticleConnect.getAdapters`, which can be plugged into `ParticleWalletGUI.setAdapters` to initiate the custom wallet interface, as is shown below. ```swift let adapters = ParticleConnect.getAdapters() @@ -526,7 +526,7 @@ The specific parameters that can be used within `PNRouter.navigatorBuy` are list | `fixFiatAmt` | `bool` | (Optional) Lock selection of fiat amount in the buy menu, default is false. | | `fixCryptoCoin` | `bool` | (Optional) Lock selection of crypto coin in the buy menu, default is false. | | `theme` | `String` | (Optional) The buy page theme, `dark` or `light`, default is current appearance. | -| `language` | `Language?` | (Optional) The buy page lanuage, default is current language. | +| `language` | `Language?` | (Optional) The buy page language, default is current language. | | `modalStyle` | `IOSModalPresentStyle?` | (Optional) Control iOS presentation style, default is `pageSheet`. | ```swift @@ -571,7 +571,7 @@ if let url = URL(string: "app.uniswap.org") { } ``` -### (Optional) Custom WalletConnect Projcet ID +### (Optional) Custom WalletConnect Project ID ```swift ParticleWalletConnect.setWalletConnectV2ProjectId("WalletConnect project ID") diff --git a/api-reference/wallet/mobile/react.mdx b/api-reference/wallet/mobile/react.mdx index e67098a..80acceb 100644 --- a/api-reference/wallet/mobile/react.mdx +++ b/api-reference/wallet/mobile/react.mdx @@ -293,12 +293,12 @@ The specific parameters that can be used within `ParticleWallet.navigatorBuyCryp | `fixFiatCoin` | `boolean` | (Optional) Lock selection of fiat coin in the buy menu, default is false. | | `fixFiatAmt` | `boolean` | (Optional) Lock selection of fiat amount in the buy menu, default is false. | | `fixCryptoCoin` | `boolean` | (Optional) Lock selection of crypto coin in the buy menu, default is false. | -| `theme` | `string?` | (Optional) The buy page theme, `dark` or `light`, default is curreny appearance. | -| `language` | `Language?` | (Optional) The buy page lanuage, default is current language. | +| `theme` | `string?` | (Optional) The buy page theme, `dark` or `light`, default is current appearance. | +| `language` | `Language?` | (Optional) The buy page language, default is current language. | ```typeScript const config = { - walletAddres: '0xa0869E99886e1b6737A4364F2cf9Bb454FD637E4', + walletAddress: '0xa0869E99886e1b6737A4364F2cf9Bb454FD637E4', cryptoCoin: 'BNB', fiatCoin: 'USD', fiatAmt: 1000, diff --git a/api-reference/wallet/mobile/unity.mdx b/api-reference/wallet/mobile/unity.mdx index 74def11..2e8e308 100644 --- a/api-reference/wallet/mobile/unity.mdx +++ b/api-reference/wallet/mobile/unity.mdx @@ -327,7 +327,7 @@ The specific parameters that can be used within `ParticleWalletGUI.NavigatorBuyC | `FixFiatCoin` | `bool` | (Optional) Lock selection of fiat coin in the buy menu, default is false. | | `FixCryptoCoin` | `bool` | (Optional) Lock selection of fiat amount in the buy menu, default is false. | | `Theme` | `Theme?` | (Optional) The buy page theme, `Dark` or `Light`, default is false. | -| `Language` | `Language?` | (Optional) The buy page lanuage, default is current language. | +| `Language` | `Language?` | (Optional) The buy page language, default is current language. | | `modalStyle` | `iOSModalPresentStyle?` | (Optional) Control iOS presentation style, default is `PageSheet`. | ```csharp diff --git a/changelog/january24/january-22-24.mdx b/changelog/january24/january-22-24.mdx index f67d401..d5d141f 100644 --- a/changelog/january24/january-22-24.mdx +++ b/changelog/january24/january-22-24.mdx @@ -6,9 +6,9 @@ description: "Changelog for January 22, 2024" ## Account Abstraction - Smart Account -- Biconomy Account V2: add Ethereum Sepolia, Blast Sepolia, Scroll Sepolia, Abitrum Sepolia, Moonbeam support; +- Biconomy Account V2: add Ethereum Sepolia, Blast Sepolia, Scroll Sepolia, Arbitrum Sepolia, Moonbeam support; - Simple Account: add Blast Sepolia support. -## Bunder/Paymaster +## Bundler/Paymaster -- Add support for Ethereum Sepolia, Blast Sepolia, Scroll Sepolia, Abitrum Sepolia, Moonbeam & Moonbase Alpha Testnet. \ No newline at end of file +- Add support for Ethereum Sepolia, Blast Sepolia, Scroll Sepolia, Arbitrum Sepolia, Moonbeam & Moonbase Alpha Testnet. \ No newline at end of file diff --git a/changelog/logs.mdx b/changelog/logs.mdx index b610b70..4d09246 100644 --- a/changelog/logs.mdx +++ b/changelog/logs.mdx @@ -244,7 +244,7 @@ description: "Find Particle Network's SDKs and APIs' updates." icon="calendar" href="/changelog/january24/january-22-24" > - Account abstraction and Bunder/Paymaster added support for Sepolia and other + Account abstraction and Bundler/Paymaster added support for Sepolia and other networks. diff --git a/guides/configuration/appearance/auth.mdx b/guides/configuration/appearance/auth.mdx index fada871..e4c8413 100644 --- a/guides/configuration/appearance/auth.mdx +++ b/guides/configuration/appearance/auth.mdx @@ -113,7 +113,7 @@ const config = createConfig({ // Primary Button "--pcm-primary-button-color": "#000000", // Black text on buttons (to contrast bright background) - "--pcm-primary-button-bankground": "#00ff00", // Bright green background for primary buttons + "--pcm-primary-button-background": "#00ff00", // Bright green background for primary buttons "--pcm-primary-button-hover-background": "#00cc00", // Slightly darker green on hover // Font diff --git a/guides/configuration/appearance/wallet.mdx b/guides/configuration/appearance/wallet.mdx index fc44eff..02534ea 100644 --- a/guides/configuration/appearance/wallet.mdx +++ b/guides/configuration/appearance/wallet.mdx @@ -86,7 +86,7 @@ plugins: [ ### Particle Authkit -Customizing Particle Wallet through configuration within Particle Autkit can be done within the initialization of `AuthCoreContextProvider` from `@particle-network/authkit`. Within this component, you'll need to head into the `customStyle` object within the `wallet` parameter on `options`. +Customizing Particle Wallet through configuration within Particle Authkit can be done within the initialization of `AuthCoreContextProvider` from `@particle-network/authkit`. Within this component, you'll need to head into the `customStyle` object within the `wallet` parameter on `options`. With this in mind, take a look at the below example for further insight into what a complete utilization of most of the above parameters looks like (example of a configuration for `customStyle`): @@ -154,7 +154,7 @@ This specific custom style above translates into a highly customized version of ## Customizing the Wallet Entry Point -Additionaly, you can tailor the location in which the embedded wallet interface will open; in doing so, you can create a custom **Open Wallet** button or merely alter the position of the default Particle Network button. +Additionally, you can tailor the location in which the embedded wallet interface will open; in doing so, you can create a custom **Open Wallet** button or merely alter the position of the default Particle Network button. Find a full Next.js demo in the [Customizing Wallet Position repository](https://github.com/Particle-Network/custom-wallet-entry). diff --git a/guides/integrations/partners/alchemy.mdx b/guides/integrations/partners/alchemy.mdx index 90bc925..ec45472 100644 --- a/guides/integrations/partners/alchemy.mdx +++ b/guides/integrations/partners/alchemy.mdx @@ -75,7 +75,7 @@ const particleSigner = new ParticleSigner({ }); ``` -Additionally, we'll need to initiate social login and thus unlock the full extent of `ParticleSigner`. If the SDK hasn't loaded an account (via social login), all methods will return an error. To avoid this, you can call the custom `authenticate` method on your instance of `ParticleSigner`, passing in a specific (potentially customized) call to the standard `login` method on a constructed `PartneNetwork` object (in this case represented through `particleSigner.inner.auth.login`). Your call to `authenticate` should look adjacent to the following snippet: +Additionally, we'll need to initiate social login and thus unlock the full extent of `ParticleSigner`. If the SDK hasn't loaded an account (via social login), all methods will return an error. To avoid this, you can call the custom `authenticate` method on your instance of `ParticleSigner`, passing in a specific (potentially customized) call to the standard `login` method on a constructed `PartnerNetwork` object (in this case represented through `particleSigner.inner.auth.login`). Your call to `authenticate` should look adjacent to the following snippet: ```typescript TypeScript await particleSigner.authenticate({ diff --git a/guides/integrations/partners/biconomy.mdx b/guides/integrations/partners/biconomy.mdx index fa1c691..1526a76 100644 --- a/guides/integrations/partners/biconomy.mdx +++ b/guides/integrations/partners/biconomy.mdx @@ -50,7 +50,7 @@ Particle Auth Core is configured exclusively through `AuthCoreContextProvider`, - `projectId`, `clientKey`, and `appId`. Each of these are required values retrieved from the [Particle dashboard](https://dashboard.particle.network). Without them, your application will throw an error. Your project ID, client key, and app ID essentially link your application with the dashboard, thereby authenticating API requests, allowing you to track users, etc. Retrieve these values even if you aren't configuring `AuthCoreContextProvider`, as you'll be using them for `SmartAccount` in a moment. - `erc4337`, containing `name` and `version`. In this example, we're using a Biconomy V2 smart account, thus `name` can be set to "BICONOMY" and `version` can be set to "2.0.0." -Beyond these parameters, there are numerous other (mostly visual) customizations that can be made, including determining whether the embedded wallet modal is visible or not (and if so, what chains it supports). An example of the constructed `index` file used for this example isincluded below: +Beyond these parameters, there are numerous other (mostly visual) customizations that can be made, including determining whether the embedded wallet modal is visible or not (and if so, what chains it supports). An example of the constructed `index` file used for this example is included below: ```typescript TypeScript import React from 'react' diff --git a/guides/integrations/partners/covalent.mdx b/guides/integrations/partners/covalent.mdx index 847f1cd..11068de 100644 --- a/guides/integrations/partners/covalent.mdx +++ b/guides/integrations/partners/covalent.mdx @@ -167,7 +167,7 @@ Otherwise, if `account` is defined, `GoldRushProvider` and `TokenBalancesListVie Within `GoldRushProvider` should be `TokenBalancesListView`, which contains: -- `chain_names`, the list of chains to be included in the list of token balances (they'll be queried collectivelly, each contributing to the list of balances). The full list of supported chains can be found on the [Covalent documentation](https://www.covalenthq.com/docs/networks). +- `chain_names`, the list of chains to be included in the list of token balances (they'll be queried collectively, each contributing to the list of balances). The full list of supported chains can be found on the [Covalent documentation](https://www.covalenthq.com/docs/networks). - `address`, the targeted address (one at a time). We'll be using `account` (from `useAccount`) for this. - Optionally, Booleans such as `mask_balances` and `hide_small_balances` can be included, alongside the `on_transfer_click` function (which will handle the "View Transfer History" button attached to each token; this should be linked to the `TokenTransfersListView` component if you're planning on using it). diff --git a/guides/overview.mdx b/guides/overview.mdx index 922abbe..38456e0 100644 --- a/guides/overview.mdx +++ b/guides/overview.mdx @@ -46,5 +46,5 @@ The **Understanding Wallet Abstraction** section dives into and explains the int - Tutorials written alongside partners showcasing external intergations and implementations of Particle Network's Wallet-as-a-Service. + Tutorials written alongside partners showcasing external integrations and implementations of Particle Network's Wallet-as-a-Service. diff --git a/guides/wallet-as-a-service/waas/auth/android-quickstart.mdx b/guides/wallet-as-a-service/waas/auth/android-quickstart.mdx index 876ccc1..a0b19ad 100644 --- a/guides/wallet-as-a-service/waas/auth/android-quickstart.mdx +++ b/guides/wallet-as-a-service/waas/auth/android-quickstart.mdx @@ -14,7 +14,7 @@ For complete documentation covering the implementation of Particle Auth on Andro --- -Before we begin installing and configuring the SDK, you'll need a project that meets the prerequisites listed below (otherwise you may face compatability issues). +Before we begin installing and configuring the SDK, you'll need a project that meets the prerequisites listed below (otherwise you may face compatibility issues). ### Prerequisites diff --git a/guides/wallet-as-a-service/waas/auth/react-native-quickstart.mdx b/guides/wallet-as-a-service/waas/auth/react-native-quickstart.mdx index 4d9dd81..481be30 100644 --- a/guides/wallet-as-a-service/waas/auth/react-native-quickstart.mdx +++ b/guides/wallet-as-a-service/waas/auth/react-native-quickstart.mdx @@ -298,7 +298,7 @@ The snippet below is an example of this. ParticleInfo.projectId = ''; // your project id ParticleInfo.clientKey = ''; // your client key -// Inititilze particleBase and particleAuthCore. +// Initialize particleBase and particleAuthCore. const chainInfo = Ethereum; const env = Env.Dev; particleBase.init(chainInfo, env); diff --git a/guides/wallet-as-a-service/waas/connect/android-quickstart.mdx b/guides/wallet-as-a-service/waas/connect/android-quickstart.mdx index 94b4e6f..ab0e621 100644 --- a/guides/wallet-as-a-service/waas/connect/android-quickstart.mdx +++ b/guides/wallet-as-a-service/waas/connect/android-quickstart.mdx @@ -407,7 +407,7 @@ ParticleConnectKit.connect(config,connectCallback = object : ConnectKitCallback Transactions can be constructed and sent directly through the SDK; below is an example of the standard flow here. -In essense, you'll need to generate a transaction object with `ParticleNetwork.evm.createTransaction` (or the `solana` equivalent), passing in standard parameters such as `from`, `to`, `value`, and (if you're interacting with a contract) `data`. Using these, an object will be returned which can be used directly for execution. +In essence, you'll need to generate a transaction object with `ParticleNetwork.evm.createTransaction` (or the `solana` equivalent), passing in standard parameters such as `from`, `to`, `value`, and (if you're interacting with a contract) `data`. Using these, an object will be returned which can be used directly for execution. Execution needs to be initiated through an instance of the active connector, or adapter (the method in which a user connected); this can be retrieved and loaded using `ParticleConnect.getAdapters`, as demonstrated below. Upon loading the adapter, you can simply call `{adapter}.signAndSendTransaction`, passing in the previously generated transaction object. Upon doing so, the user will be prompted to confirm the transaction. diff --git a/guides/wallet-as-a-service/waas/connect/flutter-quickstart.mdx b/guides/wallet-as-a-service/waas/connect/flutter-quickstart.mdx index 6e7cff6..330a161 100644 --- a/guides/wallet-as-a-service/waas/connect/flutter-quickstart.mdx +++ b/guides/wallet-as-a-service/waas/connect/flutter-quickstart.mdx @@ -380,7 +380,7 @@ if (walletType.toLowerCase() == "authCore") { ### Send a Transaction -To do this, you'll need to construct a transaction with `EvmService.createTransaction` using standard parameters such as `evmAddress` (from, or the sender), `data`, `value`, and `receiverAddres` (to, or the recipient), +To do this, you'll need to construct a transaction with `EvmService.createTransaction` using standard parameters such as `evmAddress` (from, or the sender), `data`, `value`, and `receiverAddress` (to, or the recipient), To execute the resulting transaction, you'll need to initialize an instance of the active connected wallet; an example of doing this has been included in the snippet below. diff --git a/guides/wallet-as-a-service/waas/connect/ios-quickstart.mdx b/guides/wallet-as-a-service/waas/connect/ios-quickstart.mdx index 6656287..ea52f5d 100644 --- a/guides/wallet-as-a-service/waas/connect/ios-quickstart.mdx +++ b/guides/wallet-as-a-service/waas/connect/ios-quickstart.mdx @@ -55,7 +55,7 @@ pod 'ParticleMPCCore' pod 'Thresh' pod 'AuthCoreAdapter' -pod 'ParticleWalletAPI' #Optional, for create transaciton +pod 'ParticleWalletAPI' #Optional, for create transaction pod `ParticleWalletGUI` #Optional, for wallet pod 'ParticleWalletConnect' #Optional, for wallet ``` @@ -201,7 +201,7 @@ Additionally, you can set specific chains to be used within WalletConnect (`chai ```swift var adapters: [ConnectAdapter] = [ - AuthCoreAdaper(), + AuthCoreAdapter(), // Select the third-party wallet you want from the options below. WalletConnectAdapter(), MetaMaskConnectAdapter(), diff --git a/guides/wallet-as-a-service/waas/connect/web-quickstart.mdx b/guides/wallet-as-a-service/waas/connect/web-quickstart.mdx index 4f3abd7..f56117a 100644 --- a/guides/wallet-as-a-service/waas/connect/web-quickstart.mdx +++ b/guides/wallet-as-a-service/waas/connect/web-quickstart.mdx @@ -418,7 +418,7 @@ export default function Home() { />

Particle Connect 2.0

- Particle Connect Quickstart— Fetch user data and send trasnactions + Particle Connect Quickstart— Fetch user data and send transactions

diff --git a/landing/tos/terms-of-use.mdx b/landing/tos/terms-of-use.mdx index 3b26109..1f56ae5 100644 --- a/landing/tos/terms-of-use.mdx +++ b/landing/tos/terms-of-use.mdx @@ -9,7 +9,7 @@ Welcome to Particle Network and/or Dashboard. Particle Network (the “**Site** ### 1. Use of the Site -You must be of legal age to enter into contracts where you reside to use our Site. We do not knowingly collect or solicit personally identifiable information from individuals under 18. If you are under 18, please do not attempt to use the Services or send any personal information about yourself to us. If we learn we have collected personal information from an individual under 18, we will delete that information as quickly as possible. You will comply with all applicable laws, rules, and regulations in connection with your use of the Site. You will not violate or attempt to violate the security of the Site or Particle Network’s systems or network security, including, without limitation by (i) accessing data not intended for users of the Site or gainning unauthorized access to an account, server or any other computer system(ii) attempting to probe, scan or test the vulnerability of a system or network or to breach security or authentication measures;(iii) attempting to interfere with the function of the Site, host or network. You may not “**crawl**,” “**scrape**,” or “**spider**” any portion of the Site (through the use of manual or automated means);(iv) attempt to access another user’s private key or other login information to a digital asset wallet without such user’s explicit consent subject to a previously disclosed privacy policy;(v) framing or mirroring any part of the Site without our express prior written consent; or(vi) impersonating or pretending to be anyone else but you, falsely stating, or otherwise misrepresenting your affiliation with any person or entity in connection with the Site, or expressly or implicitly suggesting that we endorse any statement you make. +You must be of legal age to enter into contracts where you reside to use our Site. We do not knowingly collect or solicit personally identifiable information from individuals under 18. If you are under 18, please do not attempt to use the Services or send any personal information about yourself to us. If we learn we have collected personal information from an individual under 18, we will delete that information as quickly as possible. You will comply with all applicable laws, rules, and regulations in connection with your use of the Site. You will not violate or attempt to violate the security of the Site or Particle Network’s systems or network security, including, without limitation by (i) accessing data not intended for users of the Site or gaining unauthorized access to an account, server or any other computer system(ii) attempting to probe, scan or test the vulnerability of a system or network or to breach security or authentication measures;(iii) attempting to interfere with the function of the Site, host or network. You may not “**crawl**,” “**scrape**,” or “**spider**” any portion of the Site (through the use of manual or automated means);(iv) attempt to access another user’s private key or other login information to a digital asset wallet without such user’s explicit consent subject to a previously disclosed privacy policy;(v) framing or mirroring any part of the Site without our express prior written consent; or(vi) impersonating or pretending to be anyone else but you, falsely stating, or otherwise misrepresenting your affiliation with any person or entity in connection with the Site, or expressly or implicitly suggesting that we endorse any statement you make. ### 2. Information Not Confidential diff --git a/landing/tutorials-and-demos/repositories.mdx b/landing/tutorials-and-demos/repositories.mdx index 9877549..1833a7f 100644 --- a/landing/tutorials-and-demos/repositories.mdx +++ b/landing/tutorials-and-demos/repositories.mdx @@ -20,7 +20,7 @@ description: "Collection of demos and examples application using Particle Networ Demo application showcasing how to use custom JWT authentication with Particle Auth. - Example repository showcasing how to umpgrade from `auth-core-modal` to `Authkit`. + Example repository showcasing how to upgrade from `auth-core-modal` to `Authkit`. @@ -64,7 +64,7 @@ description: "Collection of demos and examples application using Particle Networ - Demo application shocasing how to get started with Particle Connect. + Demo application showcasing how to get started with Particle Connect.