From d813e57bac1d63cce3f6b1a5781c50cb9cb4274c Mon Sep 17 00:00:00 2001 From: TABASCO <84655644+TABASCOatw@users.noreply.github.com> Date: Fri, 26 Jan 2024 09:34:47 -0700 Subject: [PATCH 1/2] Update README.md --- developers/btc-connect/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/developers/btc-connect/README.md b/developers/btc-connect/README.md index 5243ad2..bf00564 100644 --- a/developers/btc-connect/README.md +++ b/developers/btc-connect/README.md @@ -1,5 +1,5 @@ --- -description: First Account Abstraction Protocol on Bitcoin +description: The First Account Abstraction Protocol on Bitcoin --- # 🚀 ₿ BTC Connect From 8ea0687225da1da0b082f856f21634bf3f478107 Mon Sep 17 00:00:00 2001 From: TABASCO <84655644+TABASCOatw@users.noreply.github.com> Date: Fri, 26 Jan 2024 09:36:33 -0700 Subject: [PATCH 2/2] Update web.md --- developers/btc-connect/sdks/web.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/developers/btc-connect/sdks/web.md b/developers/btc-connect/sdks/web.md index e390b74..007d5ab 100644 --- a/developers/btc-connect/sdks/web.md +++ b/developers/btc-connect/sdks/web.md @@ -1,12 +1,12 @@ --- -description: First Account Abstraction Protocol on Bitcoin +description: The First Account Abstraction Protocol on Bitcoin --- # Web ## Installation -Get up and running with BTC Connect. +Get up-and-running with BTC Connect. ```bash @@ -22,7 +22,7 @@ Note: BTC Connect is a [React](https://reactjs.org/) library. ## Configure -Register your app on the [Dashboard](https://dashboard.particle.network/) and get the `projectId`, `clientKey`, `appId.` Then replace `xxxx` below with your project configuration. +Register your app on the [Dashboard](https://dashboard.particle.network/) and get the `projectId`, `clientKey`, `appId.` Then replace `xxxx` below with your project's configuration. Create a `ConnectProvider` react component, add `connectors` and project options. @@ -78,7 +78,7 @@ const App = () => { ## Usage -BTC Connect is implemented based on React, You can use custom hooks to connect to the wallet and send transactions. +BTC Connect is implemented based on React, you can use custom hooks to connect to the wallet and send transactions. ### Connect Wallet @@ -133,7 +133,7 @@ const { evmAccount } = useETHProvider(); // evm smart accounts. ### BTC Provider -After connect wallet, you can use these hook functions interact with blockchain. +After a wallet has been connected, you can use these hook functions to interact with the blockchain.
import { useBTCProvider } from '@particle-network/btc-connectkit';
@@ -161,7 +161,7 @@ provider.sendInscription(...)
### EVM Provider
-EVM Smart Account auto generate when connect wallet, you can use BTC wallet signature to send EVM transaction.
+An EVM Smart Account is automatically generated when a wallet is connected, you can use the native BTC wallet signature to send EVM transaction.
```typescript
import { useBTCProvider } from '@particle-network/btc-connectkit';