Skip to content
Open
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
5 changes: 4 additions & 1 deletion packages/agw-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,16 @@ import { createAbstractClient } from '@abstract-foundation/agw-client'
import { createAbstractClient } from '@abstract-foundation/agw-client';
import { ChainEIP712, http } from 'viem';
import { Account } from 'viem/accounts';
import { abstractTestnet } from 'viem/chains';

// Assume you have a signer account and chain configuration
const signer: Account = {
address: '0xYourSignerAddress',
// ...other account properties
};

const chain = abstractTestnet;

(async () => {
const abstractClient = await createAbstractClient({
signer,
Expand Down Expand Up @@ -139,4 +142,4 @@ import { Account } from 'viem/accounts';

## Documentation

For detailed documentation, please refer to the [Abstract Global Wallet Documentation](https://docs.abs.xyz/how-abstract-works/abstract-global-wallet/overview).
For detailed documentation, please refer to the [Abstract Global Wallet Documentation](https://docs.abs.xyz/how-abstract-works/abstract-global-wallet/overview).