Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Minor API pain-points

オープン
#141 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
rust

調査の方向性

まず、列挙されている AssetId::generate_asset_entropy()、Explicit Asset Display、confidential::Asset/Value/Nonce、UnBlindError、TxOut::unblind のエントリポイントを読みます。この issue では 5 つの個別の API 要求がまとめられているため、最初にそれらを分離し、既存の Rust トランザクションおよび PSBT コードに照らして範囲を定めます。完了には、合意されたスコープと、選択した要求に対応する実装があり、その動作がプロジェクトの既存のチェックでカバーされていることが必要です。

索引モデルが issue の本文から書いたものです。

説明

These are things that are easy to workaround downstream, but would one-liner if we had upstream support. I will update the list as I find more things:

  1. Direct API for calculating assetid and token id directly from prevouts during initial issuance. This currently a multi step process which requires dealing calling the AssetId::generate_asset_entropy() API.
  2. Display implementations of Explicit Asset should add the 0x01 prefix
  3. Add FromStr implementation for confidential::Asset/Value/Nonce. Currently, we need to decode a bytes and call encode::deserialize. It would be great to have methods for a) from_slice/to_vec() b) Display/FromStr c) FromHex/ToHex.
  4. Implement auto-derives for Error data structures. For example: UnBlindError.
  5. Separate out TxOut::unblind API into two APIs. TxOut::unblind_from_prf. This will also it to re-use it for psbt logic too
主要言語
Rust
スター
57
フォーク
40
平均マージ
2日 2時間
マージ済み PR(30日)
1

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ElementsProject/rust-elements のほかの issue

ElementsProject/rust-elements の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。