
Security News
MCP Steering Committee Launches Official MCP Registry in Preview
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
@openzeppelin/contracts-ui-builder-adapter-stellar
Advanced tools
Stellar Adapter for Contracts UI Builder
@openzeppelin/contracts-ui-builder-adapter-stellar
)This package provides the ContractAdapter
implementation for the Stellar network for the Contracts UI Builder.
Note: While the basic structure is in place, including network configuration definitions, the core adapter logic for Stellar-specific operations is currently a placeholder and will be implemented in future development phases.
It is intended to be responsible for:
ContractAdapter
interface from @openzeppelin/contracts-ui-builder-types
.StellarNetworkConfig
objects. These are located in src/networks/
and include details like Horizon URLs, network passphrases, and explorer URLs.StellarNetworkConfig
.Once fully implemented, the StellarAdapter
class will be instantiated with a specific StellarNetworkConfig
object:
// Example: import { stellarPubnet } from '@openzeppelin/contracts-ui-builder-adapter-stellar';
import { StellarAdapter } from '@openzeppelin/contracts-ui-builder-adapter-stellar';
import { StellarNetworkConfig } from '@openzeppelin/contracts-ui-builder-types';
// For type access if needed
// Placeholder: Actual network config objects would be imported from './networks'
const placeholderNetworkConfig: StellarNetworkConfig = {
id: 'stellar-testnet',
name: 'Stellar Testnet',
ecosystem: 'stellar',
network: 'stellar',
type: 'testnet',
isTestnet: true,
horizonUrl: 'https://horizon-testnet.stellar.org',
networkPassphrase: 'Test SDF Network ; September 2015',
explorerUrl: 'https://stellar.expert/explorer/testnet',
// ... any other StellarNetworkConfig fields
};
const stellarAdapter = new StellarAdapter(placeholderNetworkConfig);
// Use stellarAdapter for operations on the configured Stellar network
Network configurations for Stellar networks (e.g., stellarPubnet
, stellarTestnet
) are defined and exported from src/networks/index.ts
within this package. The full list is exported as stellarNetworks
.
adapter-stellar/
├── src/
│ ├── config/ # Adapter-specific configuration
│ ├── contract/ # Contract interaction utilities
│ ├── mapping/ # Type mapping utilities
│ ├── networks/ # Stellar network configurations
│ ├── operations/ # Stellar operations management
│ ├── transaction/ # Transaction execution system
│ ├── validation/ # Validation utilities
│ ├── wallet/ # Wallet integration (placeholder)
│ ├── adapter.ts # Main StellarAdapter class implementation
│ └── index.ts # Public package exports
├── package.json
├── tsconfig.json
├── tsup.config.ts
├── vitest.config.ts
└── README.md
This adapter follows the standard module structure outlined in the main project Adapter Architecture Guide, with the src/networks/
directory for managing its network configurations.
FAQs
Stellar Adapter for Contracts UI Builder
We found that @openzeppelin/contracts-ui-builder-adapter-stellar demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 9 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.