manta-wasm-wallet-api

1.5.1-dev-2 • Public • Published

Polkadot-JS Ledger Integration

To interface Polkadot-JS with the Manta Wallet API we implement the following two methods:

/// Pulls data from the ledger starting at `checkpoint`, returning the newest sender and
/// receiver data and the latest checkpoint.
async fn pull(checkpoint: Checkpoint) -> (Checkpoint, Vec<SenderData>, Vec<ReceiverData>)

/// Pushes a batch of transfers to the ledger.
async fn push(post: Vec<TransferPost>);

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i manta-wasm-wallet-api

      Weekly Downloads

      22

      Version

      1.5.1-dev-2

      License

      none

      Unpacked Size

      5.47 kB

      Total Files

      3

      Last publish

      Collaborators

      • kgislason