Skip to content

Commit

Permalink
use the verbose version in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rtomas committed Sep 26, 2024
1 parent eba7caf commit 916ffd6
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions docs/appkit/react/wagmi/about/implementation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,30 @@ const metadata = {
icons: ['https://avatars.githubusercontent.com/u/179229932']
};

// 3. Set general configurations
// 3. Set the networks
const networks = [mainnet, arbitrum]

// 4. Set general configurations
const generalConfig = {
projectId,
metadata,
networks: [mainnet, arbitrum],
ssr: true,
};

// 4. Create Wagmi Adapter
const wagmiAdapter = new WagmiAdapter(generalConfig);
// 5. Create Wagmi Adapter
const wagmiAdapter = new WagmiAdapter({
networks,
projectId,
ssr: true
});

// 5. Create modal
// 6. Create modal
createAppKit({
adapters: [wagmiAdapter],
...generalConfig,
networks,
projectId,
metadata,
features: {
analytics: true // Optional - defaults to your Cloud configuration
}
Expand Down

0 comments on commit 916ffd6

Please sign in to comment.