Our JavaScript/TypeSctipt SDK
EGP Transactions Service TypeScript SDK#
This SDK provides a simple way to interact with the EGP Transactions Service, a comprehensive blockchain transaction management platform for enterprise environments.What is EGP Transactions Service?#
EGP Transactions Service helps organizations manage blockchain transactions with enterprise-grade security and control. It offers:Multi-blockchain support - Works with Polygon, Ethereum, and other EVM-compatible chains
Smart contract management - Import ABIs, call functions, and deploy contracts
Wallet management - Create and manage blockchain wallets securely
Transaction controls - Approval workflows, spending limits, and governance features
Enterprise security - Role-based access control and secure key management
GitHub#
SDK Structure#
docs/sdks/typeScript/
├── src/
│ ├── core/ # Core functionality
│ │ ├── errors.ts # Custom error types
│ │ └── httpClient.ts # API communication
│ ├── resources/ # API resources
│ │ ├── apiKeys.ts # API key management
│ │ ├── auth.ts # Authentication
│ │ ├── contracts.ts # Smart contract interactions
│ │ ├── organizations.ts # Organization management
│ │ ├── permissions.ts # Permission control
│ │ ├── transactions.ts # Transaction operations
│ │ └── wallets.ts # Wallet management
│ ├── types/ # TypeScript and Zod schemas
│ │ ├── apiKey.types.ts # API key types
│ │ ├── auth.types.ts # Authentication types
│ │ ├── common.ts # Shared types
│ │ ├── contract.types.ts # Contract types
│ │ ├── organization.types.ts # Organization types
│ │ ├── permission.types.ts # Permission types
│ │ ├── transaction.types.ts # Transaction types
│ │ └── wallet.types.ts # Wallet types
│ └── index.ts # Main entry point
├── tests/ # Test suite
│ ├── integration/ # Integration tests
│ └── unit/ # Unit tests
├── package.json # Project dependencies
└── tsconfig.json # TypeScript configuration
Installation#
Quick Start#
Key Features#
Authentication#
API key or JWT authentication
Multi-factor authentication support
Organization context management
Wallet Management#
Create and access blockchain wallets
Add metadata for organization
Track balances and transaction history
Transaction Operations#
Create, track, and approve transactions
View transaction status and history
Smart Contract Interactions#
Call view functions (read-only)
Execute state-changing functions
Organization Management#
Create and manage organizations
Add members and assign roles
Set permissions and transaction limits
Building from Source#
Quick Examples#
Authentication#
Organization Management#
API Keys#
Wallet Management#
Modified at 2025-04-12 12:28:00