Development Artifact Cleanup: ✅ BROTHER_NODE REORGANIZATION: Moved development test node to appropriate location - dev/test-nodes/brother_node/: Moved from root directory for better organization - Contains development configuration, test logs, and test chain data - No impact on production systems - purely development/testing artifact ✅ DEVELOPMENT ARTIFACTS IDENTIFIED: - Chain ID: aitbc-brother-chain (test/development chain) - Ports: 8010 (P2P) and 8011 (RPC) - different from production - Environment: .env file with test configuration - Logs: rpc.log and node.log from development testing session (March 15, 2026) ✅ ROOT DIRECTORY CLEANUP: Removed development clutter from production directory - brother_node/ moved to dev/test-nodes/brother_node/ - Root directory now contains only production-ready components - Development artifacts properly organized in dev/ subdirectory DIRECTORY STRUCTURE IMPROVEMENT: 📁 dev/test-nodes/: Development and testing node configurations 🏗️ Root Directory: Clean production structure with only essential components 🧪 Development Isolation: Test environments separated from production BENEFITS: ✅ Clean Production Directory: No development artifacts in root ✅ Better Organization: Development nodes grouped in dev/ subdirectory ✅ Clear Separation: Production vs development environments clearly distinguished ✅ Maintainability: Easier to identify and manage development components RESULT: Successfully moved brother_node development artifact to dev/test-nodes/ subdirectory, cleaning up the root directory while preserving development testing environment for future use.
63 lines
2.3 KiB
TypeScript
Executable File
63 lines
2.3 KiB
TypeScript
Executable File
/**
|
|
* [[link-ankr]] provides a third-party service for connecting to
|
|
* various blockchains over JSON-RPC.
|
|
*
|
|
* **Supported Networks**
|
|
*
|
|
* - Ethereum Mainnet (``mainnet``)
|
|
* - Goerli Testnet (``goerli``)
|
|
* - Sepolia Testnet (``sepolia``)
|
|
* - Arbitrum (``arbitrum``)
|
|
* - Base (``base``)
|
|
* - Base Goerlia Testnet (``base-goerli``)
|
|
* - Base Sepolia Testnet (``base-sepolia``)
|
|
* - BNB (``bnb``)
|
|
* - BNB Testnet (``bnbt``)
|
|
* - Filecoin (``filecoin``)
|
|
* - Filecoin Calibration Testnet (``filecoin-calibration``)
|
|
* - Optimism (``optimism``)
|
|
* - Optimism Goerli Testnet (``optimism-goerli``)
|
|
* - Optimism Sepolia Testnet (``optimism-sepolia``)
|
|
* - Polygon (``matic``)
|
|
* - Polygon Mumbai Testnet (``matic-mumbai``)
|
|
*
|
|
* @_subsection: api/providers/thirdparty:Ankr [providers-ankr]
|
|
*/
|
|
import { FetchRequest } from "../utils/index.js";
|
|
import { AbstractProvider } from "./abstract-provider.js";
|
|
import { Network } from "./network.js";
|
|
import { JsonRpcProvider } from "./provider-jsonrpc.js";
|
|
import type { CommunityResourcable } from "./community.js";
|
|
import type { Networkish } from "./network.js";
|
|
import type { JsonRpcError, JsonRpcPayload } from "./provider-jsonrpc.js";
|
|
/**
|
|
* The **AnkrProvider** connects to the [[link-ankr]]
|
|
* JSON-RPC end-points.
|
|
*
|
|
* By default, a highly-throttled API key is used, which is
|
|
* appropriate for quick prototypes and simple scripts. To
|
|
* gain access to an increased rate-limit, it is highly
|
|
* recommended to [sign up here](link-ankr-signup).
|
|
*/
|
|
export declare class AnkrProvider extends JsonRpcProvider implements CommunityResourcable {
|
|
/**
|
|
* The API key for the Ankr connection.
|
|
*/
|
|
readonly apiKey: string;
|
|
/**
|
|
* Create a new **AnkrProvider**.
|
|
*
|
|
* By default connecting to ``mainnet`` with a highly throttled
|
|
* API key.
|
|
*/
|
|
constructor(_network?: Networkish, apiKey?: null | string);
|
|
_getProvider(chainId: number): AbstractProvider;
|
|
/**
|
|
* Returns a prepared request for connecting to %%network%% with
|
|
* %%apiKey%%.
|
|
*/
|
|
static getRequest(network: Network, apiKey?: null | string): FetchRequest;
|
|
getRpcError(payload: JsonRpcPayload, error: JsonRpcError): Error;
|
|
isCommunityResource(): boolean;
|
|
}
|
|
//# sourceMappingURL=provider-ankr.d.ts.map
|