Skip to content

Commit

Permalink
bump deps, cleanup README
Browse files Browse the repository at this point in the history
  • Loading branch information
clbrge committed Aug 10, 2022
1 parent 8004fdb commit 6a41b21
Show file tree
Hide file tree
Showing 3 changed files with 2,132 additions and 1,912 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,14 +281,14 @@ import { allChainsData } from 'svelte-web3'
console.log( allChainsData )
```

Alternatively, You might also use the helper function
`getChainDataByChainId` that takes the chainId as argument and returns
CAIP-2 data for that chain.
Another solution is to use the helper function `getChainDataByChainId`
that takes the chainId as argument and returns
the CAIP-2 data or an empty object if not found.

```js
import { getChainDataByChainId } from 'svelte-web3'

console.log( getChainDataByChainId(4) )
console.log( getChainDataByChainId(5) )
```

## Create contract stores
Expand Down
Loading

0 comments on commit 6a41b21

Please sign in to comment.