-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7a58017
commit b8d89f1
Showing
7 changed files
with
36 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,15 @@ | ||
import { Chain, PublicClient, Transport } from "viem"; | ||
/** | ||
* | ||
* Returns a PublicClient instance that can be used to interact with the Allo v2 contracts. | ||
* | ||
* @remarks | ||
* This is a wrapper around the viem PublicClient class that sets the correct chain ID and transport. | ||
* | ||
* @param chain - The chain ID to connect to (this is a Chain type from viem) | ||
* @param rpc - The url of the RPC endpoint | ||
* @returns - A PublicClient instance | ||
* | ||
* @beta | ||
*/ | ||
export declare const create: (chain: Chain, rpc?: string) => PublicClient<Transport, Chain>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters