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.
56 lines
1.9 KiB
TypeScript
Executable File
56 lines
1.9 KiB
TypeScript
Executable File
import type { PrefixedHexString } from "./hex.js";
|
|
/**
|
|
* Checks if a value is an Ethereum address.
|
|
*
|
|
* @param value The value to check.
|
|
* @returns True if the value is an Ethereum address, false otherwise.
|
|
*/
|
|
export declare function isAddress(value: unknown): value is PrefixedHexString;
|
|
/**
|
|
* Checks if a value is an Ethereum address and if the checksum is valid.
|
|
*
|
|
* @param value The value to check.
|
|
* @returns True if the value is an Ethereum address with a valid checksum, false otherwise.
|
|
*/
|
|
export declare function isValidChecksumAddress(value: unknown): Promise<boolean>;
|
|
/**
|
|
* Checks if a value is an Ethereum hash.
|
|
*
|
|
* @param value The value to check.
|
|
* @returns True if the value is an Ethereum hash, false otherwise.
|
|
*/
|
|
export declare function isHash(value: unknown): value is PrefixedHexString;
|
|
/**
|
|
* Converts a number to a hexadecimal string with a length of 32 bytes.
|
|
*
|
|
* @param value The number to convert.
|
|
* @returns The hexadecimal representation of the number padded to 32 bytes.
|
|
* @throws InvalidParameterError If the input is not a safe integer or is negative.
|
|
*/
|
|
export declare function toEvmWord(value: bigint | number): PrefixedHexString;
|
|
/**
|
|
* Generates a pseudo-random sequence of hash bytes.
|
|
*
|
|
* @returns A pseudo-random sequence of hash bytes.
|
|
*/
|
|
export declare function generateHashBytes(): Promise<Uint8Array>;
|
|
/**
|
|
* Generates a pseudo-random hash.
|
|
*
|
|
* @returns A pseudo-random hash.
|
|
*/
|
|
export declare function randomHash(): Promise<PrefixedHexString>;
|
|
/**
|
|
* Generates a pseudo-random sequence of hash bytes that can be used as an
|
|
* address.
|
|
*
|
|
* @returns A pseudo-random sequence of hash bytes.
|
|
*/
|
|
export declare function generateAddressBytes(): Promise<Uint8Array>;
|
|
/**
|
|
* Generates a pseudo-random address.
|
|
*
|
|
* @returns A pseudo-random address.
|
|
*/
|
|
export declare function randomAddress(): Promise<PrefixedHexString>;
|
|
//# sourceMappingURL=eth.d.ts.map
|