spacemeshos / SMIPS

Spacemesh Improvement Proposals
https://spacemesh.io
Creative Commons Zero v1.0 Universal
7 stars 1 forks source link

SMIP: Spacemesh Public API endpoints (WIP) #15

Open avive opened 4 years ago

avive commented 4 years ago

Moving from product repo to hear. Pending decisions on API 0.2.

Motivation

We'd like to enable clients to get mesh and account statues and submit transactions w/o running a full node on a PC and being synced with the mesh. This is required to implement the important wallet-only-mode app feature for 0.2. This is also important to enable development of mobile wallets for Spacemesh coins.

Requirements

Details

Prior to API refactoring into facades / modules we want to expose ONLY the following v1 api REST end points. They are categorized into categories just for conceptual purposes.

All the methods are read-only and don't affect the node's state with the exception of submit a tansaction which submits a new transaction to the pool.

Whiteboard: https://github.com/spacemeshos/product/blob/master/api_v2_modeling.md Master API design: https://github.com/spacemeshos/product/blob/master/api.md

avive commented 4 years ago

Moved from: https://github.com/spacemeshos/product/issues/75