Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
bucanero authored Oct 27, 2023
1 parent 2832b0e commit 7fc9b19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/bos/tutorial/bos-ethersjs-best-practices.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ We will be using several technologies:
- BOS for the user interface (UI).
- [Ethers.js](bos-ethersjs.md) for retrieving balance data from the blockchain.
- CoinGecko API for fetching static content with information about tokens and their current prices.
- [Social-DB](https://docs.near.org/social/contract) for storing the list of tokens to be tracked.
- [Social-DB](../../social/contract.md) for storing the list of tokens to be tracked.
- GitHub Actions for caching static content, speeding up loading, and circumventing rate limits.

## Step 1: Load balances from chain
Expand Down Expand Up @@ -63,7 +63,7 @@ const getTokenBalance = (receiver, tokenId) => {
data: encodedData,
})
.then((rawBalance) => {
// decode responce
// decode response
const receiverBalanceHex = iface.decodeFunctionResult(
"balanceOf",
rawBalance
Expand Down

0 comments on commit 7fc9b19

Please sign in to comment.