Chain API

Open
#71 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
rust

Research direction

Start by examining the existing Greenlight API and the FeeratePreset structure mentioned in the issue. Define how configurable blockchain access would support get_utxos, broadcast_transaction, and recommended_fees for a mobile wallet, then verify that all three operations and the default Greenlight implementation are covered.

Written by the indexing model from the issue text.

Description

It is a good idea to have a default implementation by greenlight for some blockchain API and give the option for the user to configure some other service for blockchain access (such as mempool space for example).
In general I think these should cover the needs of a mobile wallet:

  • get_utxos - list of utxos for an address
  • broadcast_transaction - API to broadcast raw transaction.
  • recommended_fees - Greenlight has the FeeratePreset structure and we need API to query the live fee rate values for all three presets.
Dominant language
Rust
Stars
148
Forks
49
Avg merge
4d 5h
Merged PRs (30d)
9

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Blockstream/greenlight

All issues in Blockstream/greenlight

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.