Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Before continuing with the code below:

1. Make sure to have `WALLET_PRIVATE_KEY` set up in your `.env` file.
2. Make sure to have `RPC_PROVIDER_URL` set up in your `.env` file.
1. You can use the public default one (`https://aeneid.storyrpc.io`) or check out the other RPCs [here](https://docs.story.foundation/docs/story-network#-rpcs).
1. You can use the public default one (`https://aeneid.storyrpc.io`) or check out the other RPCs [here](https://docs.story.foundation/docs/network-info#-rpcs).

```typescript index.ts
import { http } from 'viem';
Expand All @@ -74,4 +74,4 @@ We recommend using wagmi as a Web3 provider and then installing a wallet service
* [Dynamic Setup Tutorial](doc:dynamic-setup)
* [RainbowKit Setup Tutorial](doc:rainbowkit-setup)
* [WalletConnect Setup Tutorial](doc:walletconnect-setup)
* [Tomo Setup Tutorial](doc:tomo-setup)
* [Tomo Setup Tutorial](doc:tomo-setup)
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ yarn add @story-protocol/core-sdk viem
Before diving into the example, make sure you have two things setup:

1. Make sure to have `NEXT_PUBLIC_RPC_PROVIDER_URL` set up in your `.env` file.
1. You can use the public default one (`https://rpc.odyssey.storyrpc.io`) or any other RPC [here](https://docs.story.foundation/docs/story-network#-rpcs).
1. You can use the public default one (`https://rpc.odyssey.storyrpc.io`) or any other RPC [here](https://docs.story.foundation/docs/network-info#-rpcs).
2. Make sure to have `NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID` set up in your `.env` file. Do this by logging into [Reown (prev. WalletConnect)](https://reown.com/) and creating a project.

```jsx Web3Providers.tsx
Expand Down Expand Up @@ -132,4 +132,4 @@ export default function TestComponent() {
{/* */}
)
}
```
```
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ yarn add @story-protocol/core-sdk viem
Before diving into the example, make sure you have two things setup:

1. Make sure to have `NEXT_PUBLIC_RPC_PROVIDER_URL` set up in your `.env` file.
1. You can use the public default one (`https://rpc.odyssey.storyrpc.io`) or any other RPC [here](https://docs.story.foundation/docs/story-network#-rpcs).
1. You can use the public default one (`https://rpc.odyssey.storyrpc.io`) or any other RPC [here](https://docs.story.foundation/docs/network-info#-rpcs).
2. Make sure to have `NEXT_PUBLIC_TOMO_CLIENT_ID` set up in your `.env` file. Do this by logging into the [Tomo Dashboard](https://dashboard.tomo.inc/) and creating a project.
3. Make sure to have `NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID` set up in your `.env` file. Do this by logging into [Reown (prev. WalletConnect)](https://reown.com/) and creating a project.

Expand Down Expand Up @@ -138,4 +138,4 @@ export default function TestComponent() {
{/* */}
)
}
```
```