Skip to content

Implement avalanchego Interface #26

@jcarraror

Description

@jcarraror
  • Motivation: OrbiterSDK was initially designed for use within Avalanche's Subnet system, which necessitates the implementation of an interface to communicate with the avalanchego daemon. For more information, refer to the Avalanche Subnet documentation and earlier OrbiterSDK implementations.

  • Objectives: Develop an interface that allows OrbiterSDK to interact with avalanchego and manage a subnet through it.

  • Success Criteria: Seamless integration and functionality of the OrbiterSDK interface with avalanchego.

  • Dependencies: Protobuf, gRPC, and AvalancheGo protobuf files are required for this feature.

  • Risks and Mitigations: It is crucial to remember that this interface serves to facilitate communication between OrbiterSDK and avalanchego, where OrbiterSDK informs avalanchego of events and attempts to align its actions accordingly. The implementation may require the use of conditional compilation (#if) to integrate the avalanchego interface directly into the state/blockchain, enabling communication with avalanchego.

  • Resource Allocation: This refactor/feature may impact numerous files within the project, as it requires adding communication points with the avalanchego interface in multiple areas of the source code. Examples include accepting a block, relaying a transaction, and other essential functions. Adequate resources should be allocated to ensure a smooth and successful implementation.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions