Skip to content

Commit

Permalink
Fix typos (#431)
Browse files Browse the repository at this point in the history
* fix typos

* fix typo

* fix typo

* fix typo

* fix typo

* fix typos
  • Loading branch information
omahs authored Apr 10, 2024
1 parent 2d76efa commit ed62b54
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion apps/base-docs/docs/tools/account-abstraction.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ hide_table_of_contents: true

## Alchemy Account Kit

[Account Kit](https://www.alchemy.com/account-kit) is a complete solution for account abstraction. Using Account Kit, you can create a smart contract wallet for every user that leverages account abstraction to simplify every step of your app's onboaring experience. It also offers Gas Manager and Bundler APIs for sponsoring gas and batching transactions.
[Account Kit](https://www.alchemy.com/account-kit) is a complete solution for account abstraction. Using Account Kit, you can create a smart contract wallet for every user that leverages account abstraction to simplify every step of your app's onboarding experience. It also offers Gas Manager and Bundler APIs for sponsoring gas and batching transactions.

---

Expand Down
4 changes: 2 additions & 2 deletions apps/base-docs/docs/tools/cross-chain.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ hide_table_of_contents: true

[Axelar](https://axelar.network/) is an interchain platform that connects blockchains to enable universal web3 transactions. By integrating with Axelar, applications built on Base can now easily send messages and assets between the 49+ blockchains connected via Axelar.

To learn more about Axelar visit our [docs](https://docs.axelar.dev/). For complete end-to-end examples demonstrating various Axelar usecases please visit the available [code examples](https://github.com/axelarnetwork/axelar-examples).
To learn more about Axelar visit our [docs](https://docs.axelar.dev/). For complete end-to-end examples demonstrating various Axelar use cases please visit the available [code examples](https://github.com/axelarnetwork/axelar-examples).

#### Supported Networks

Expand All @@ -64,7 +64,7 @@ Check out [Crossmint Docs](https://docs.crossmint.com/nft-checkout/introduction/

## Chainlink CCIP

[Chainlink CCIP](https://chain.link/cross-chain) is a secure interoperability protocol that allows for securely sending messages, transfering tokens, and initiating actions across different blockchains.
[Chainlink CCIP](https://chain.link/cross-chain) is a secure interoperability protocol that allows for securely sending messages, transferring tokens, and initiating actions across different blockchains.

To get started with integrating Chainlink CCIP in your Base project, visit the Chainlink CCIP [documentation](https://docs.chain.link/ccip).

Expand Down
2 changes: 1 addition & 1 deletion apps/base-docs/docs/tools/thirdweb-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ When you create a project for smart contracts or web3 apps there are various con

- Create a new contract project using [Hardhat](https://hardhat.org/) or [Forge](https://book.getfoundry.sh/)
- Add a new contract to an existing project
- Start from a audited contract base, and add optional [extensions](https://portal.thirdweb.com/contractkit/extensions)
- Start from an audited contract base, and add optional [extensions](https://portal.thirdweb.com/contractkit/extensions)

**For contracts, some options are:**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ const url = new URL(req.url);
}
});
} else {
// Find out of the address still owns the NFT, and if so, what the token ID is
// Find out if the address still owns the NFT, and if so, what the token ID is

}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Give your project a snappy name and upload a picture. Unless you're an experienc

It will cost a small amount of gas to create the project. Approve the transaction, then you'll be taken to your mint page.

Copy the link, and update your button, and change the frame to use image that you uploaded for your NFT:
Copy the link, and update your button, and change the frame to use the image that you uploaded for your NFT:

```typescript
const frameMetadata = getFrameMetadata({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ As outlined in the [Public Draft V2], transactions in frames work through a mult

1. Any frame can have a button with `'tx'` assigned as the `action`. If this is the case, the `target` must be a URL for an endpoint that can process the request, and return `calldata` for an onchain transaction
1. When the user clicks the button, a POST request is sent to the endpoint with the usual set of data you get from the frame
1. The endpoint uses that data, such as the user's attached wallet address, to build a transaction and send it back to the the Farcaster client app
1. The endpoint uses that data, such as the user's attached wallet address, to build a transaction and send it back to the Farcaster client app
1. The app then redirects the user to their wallet with the provided `calldata`, which opens the normal flow for the user to review and approve or deny a transaction
1. If successful, the wallet returns the user to the app with the transaction id
1. The app then automatically makes another POST request to the **same** `target`, this time with the transaction id. **Make sure you handle this second call appropriately!**
Expand All @@ -67,7 +67,7 @@ As outlined in the [Public Draft V2], transactions in frames work through a mult

Before you can build a frame that calls a smart contract transaction, you need to have a smart contract! You can use your own, deploy your own copy of our _Click the Button_ smart contract, or use our deployment.

The contract contains a simple game where players can "click the button" and pay a few cents worth of ether to get a point. That's it! No rewards, no complexity, just a tempting big red button, and a leader board that can be retrieved **unsorted**.
The contract contains a simple game where players can "click the button" and pay a few cents worth of ether to get a point. That's it! No rewards, no complexity, just a tempting big red button, and a leaderboard that can be retrieved **unsorted**.

- `function clickTheButton()`
- `public` and `payable`
Expand Down Expand Up @@ -160,8 +160,8 @@ A few notes:
- The naming conventions and organization of OnchainKit are evolving as frames evolve. Check the [OnchainKit] repo if the imports don't work
- You'll make the api endpoint for the button clicker game next
- Feel free to adjust the text. We're just having fun by making it give conflicting instructions
- The button to show the leader board simply goes to your page. You could render an svg to png in the frame endpoint to show it in frames as well
- You'll have to do the leader board on your own. Check out the frontend content in [Base Camp] if you need a hand learning how to interact with your contracts!
- The button to show the leaderboard simply goes to your page. You could render an svg to png in the frame endpoint to show it in frames as well
- You'll have to do the leaderboard on your own. Check out the frontend content in [Base Camp] if you need a hand learning how to interact with your contracts!

## Adding the Transaction Endpoints

Expand Down

0 comments on commit ed62b54

Please sign in to comment.