diff --git a/docs/developers/guides/writing/casts.md b/docs/developers/guides/writing/casts.md index cba4e0fc..b447ba4c 100644 --- a/docs/developers/guides/writing/casts.md +++ b/docs/developers/guides/writing/casts.md @@ -83,7 +83,7 @@ const castWithEmojiAndMentions = await makeCastAdd( A cast can be a reply to another cast, URL or NFT. A reply to another cast is treated as a thread, while a reply to a URL or NFT can be treated as a comment or a [channel](#channels). -The optional parentUrl property can be set to a URL or to an fid-hash value of the cast being replied to, as shown in th example below. See [FIP-2](https://github.com/farcasterxyz/protocol/discussions/71) for more details on reply types. +The optional parentUrl property can be set to a URL or to an fid-hash value of the cast being replied to, as shown in the example below. See [FIP-2](https://github.com/farcasterxyz/protocol/discussions/71) for more details on reply types. ```typescript /** diff --git a/docs/developers/siwf/index.md b/docs/developers/siwf/index.md index acc72d6e..f3ed5b1d 100644 --- a/docs/developers/siwf/index.md +++ b/docs/developers/siwf/index.md @@ -18,7 +18,7 @@ a streamlined onboarding experience and social-powered features. 3. Receive and verify a signature from Warpcast. 4. Show the logged in user's profile picture and username. -![Sign In with Farcaste demo](./siwf_demo.avifs) +![Sign In with Farcaster demo](./siwf_demo.avifs) ## Next Steps diff --git a/docs/hubble/migrating.md b/docs/hubble/migrating.md index 20f85fed..d59cbd4d 100644 --- a/docs/hubble/migrating.md +++ b/docs/hubble/migrating.md @@ -19,7 +19,7 @@ Read APIs are fully backwards compatible with hubs so no migration is required. Via http once you have a node running ```bash -curl http://locaalhost:3381/v1/info +curl http://localhost:3381/v1/info ``` Via grpc @@ -36,7 +36,7 @@ If you are using Shuttle, it will work the same as before. Just need to point it The write APIs are also backwards compatible with hubs, with some caveats (see below). -In order to write to snapchain, you should run a node and submit directly to it. Refer to [existing docs](https://docs.farcaster.xyz/developers/guides/writing/submit-messages) for writing dia via the client library. Note, you **MUST** use version `0.16` or later of the `hub-nodejs` library. +In order to write to snapchain, you should run a node and submit directly to it. Refer to [existing docs](https://docs.farcaster.xyz/developers/guides/writing/submit-messages) for writing data via the client library. Note, you **MUST** use version `0.16` or later of the `hub-nodejs` library. ### Gotchas @@ -62,4 +62,4 @@ wget https://raw.githubusercontent.com/farcasterxyz/snapchain/refs/heads/main/do docker compose up # -d to run in the background ``` -Note, testnet is unstable and will be reset from time to time. \ No newline at end of file +Note, testnet is unstable and will be reset from time to time. diff --git a/docs/reference/warpcast/signer-requests.md b/docs/reference/warpcast/signer-requests.md index 59a97943..30b01995 100644 --- a/docs/reference/warpcast/signer-requests.md +++ b/docs/reference/warpcast/signer-requests.md @@ -60,7 +60,7 @@ const key = '0x' + Buffer.from(publicKeyBytes).toString('hex'); /*** Generating a Signed Key Request signature ***/ const appFid = process.env.APP_FID; -const account = mnemonicToAccount(process.env.APP_MNENOMIC); +const account = mnemonicToAccount(process.env.APP_MNEMONIC); const deadline = Math.floor(Date.now() / 1000) + 86400; // signature is valid for 1 day const signature = await account.signTypedData({ @@ -180,7 +180,7 @@ poll(token); When the user approves the request in Warpcast, an onchain transaction will be made that grants write permissions to that signer. Once that completes your app -should indicate success and can being writing messages using the newly added key. +should indicate success and can begin writing messages using the newly added key. ### Reference implementation diff --git a/docs/reference/warpcast/signers.md b/docs/reference/warpcast/signers.md index c7106c0f..22a4bf97 100644 --- a/docs/reference/warpcast/signers.md +++ b/docs/reference/warpcast/signers.md @@ -17,7 +17,7 @@ them with the option to Connect with Warpcast. Your app should generate and securely store an Ed25519 associated with this user. In the next steps, you will prompt the user to approve this keypair to -signer messages on their behalf. +sign messages on their behalf. Since this keypair can write to the protocol on behalf of the user it's important that: @@ -61,7 +61,7 @@ const key = '0x' + Buffer.from(publicKeyBytes).toString('hex'); /*** Generating a Signed Key Request signature ***/ const appFid = process.env.APP_FID; -const account = mnemonicToAccount(process.env.APP_MNENOMIC); +const account = mnemonicToAccount(process.env.APP_MNEMONIC); const deadline = Math.floor(Date.now() / 1000) + 86400; // signature is valid for 1 day const signature = await account.signTypedData({