Challenges following the tutorial
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- ドキュメント
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- shell, ubuntu
- 領域
- cli, documentation
調査の方向性
Elements のコードチュートリアルのブロックチェーンページと、リンクされている基本操作のチュートリアルから始め、次にレポートに示されている wallet および initial-free-coins コマンドを再現します。チュートリアルがユーザーにスタートアップ資金へのアクセスをどのように想定しているかを確認し、wallet の作成と残高チェックの成功が明示されるよう、関連するチュートリアルの説明を更新します。
索引モデルが issue の本文から書いたものです。
説明
I'm attempting to set this up in a virtual machine following the tutorial. My VM is allocated ample storage and memory and running Ubuntu 20.04.2 LTS as the underlying operating system. The PPA repository for installing Bitcoin no longer seems to work, so I went ahead and installed Bitcoin from https://bitcoincore.org/bin/bitcoin-core-0.21.1/bitcoin-0.21.1-x86_64-linux-gnu.tar.gz, checking sha256 and signatures.
After installing Elements and setting up work environment, the following commands fail as there is no wallet, as one is not created by default.
Give them a few seconds to start up and then check they are running:
e1-cli getwalletinfo
e2-cli getwalletinfo
To get past this, I simply create wallets for both
e1-cli createwallet ""
e2-cli createwallet ""
And also for bitcoin
b-cli createwallet ""
Advancing forward in the tutorial to the next page, Using Elements to perform basic operations. From the tutorial the expectation is for the wallets to show 21 million bitcoin due to anyone can spend. But the balance is 0. With no balance on regtest, I can't proceed with sending to addresses generated by elements due to Insufficient funds.
So then since this is regtest, I do this to get 5000 coins available, and more in the immature balance
b-cli -generate 200
This doesn't help get access to initialfreecoins but may be viable to use for pegin
Simplify. Attempting just the standalone
The same is true if I take bitcoin out of the equation. Using just the standalone blockchain guidance found here: https://elementsproject.org/elements-code-tutorial/blockchain
# Args
STANDALONEARGS=("-validatepegin=0" "-defaultpeggedassetname=newasset" "-initialfreecoins=100000000000000" "-initialreissuancetokens=200000000")
# Startup
e1-dae ${STANDALONEARGS[@]}
# Have to create wallet before viewing it
e1-cli createwallet ""
# Has zero balance, but shows asset name as `newasset` as anticipated
e1-cli getwalletinfo
# Look at transaction in first block from startup initialfreecoins
tx1=`e1-cli getblock $(e1-cli getblockhash 0) | jq -r .tx[1]`
e1-cli decoderawtransaction `e1-cli getrawtransaction $tx1`
I can see the 1,000,000 newasset created in vout, as well as the 2 for reissuance.
How can I claim the coins to the wallet to test with?
- 主要言語
- HTML
- スター
- 35
- フォーク
- 24
- 平均マージ
- 7時間 45分
- マージ済み PR(30日)
- 1
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ElementsProject/elementsproject.github.io のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 55/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 30/100
ElementsProject/elementsproject.github.io#137 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
-
question
ElementsProject/elementsproject.github.io#20 · コメント 1 件 · リアクション 2 件 · 担当者 1 名 ·
ElementsProject/elementsproject.github.io の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
難易度 1/5 1〜3時間 初心者へのやさしさ 86/100
DavidAnson/markdownlint-cli2#940 ·
-
bug ci good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
QuantStack/git2cpp#187 ·
-
needs-triage
難易度 1/5 1時間未満 初心者へのやさしさ 92/100