Challenges following the tutorial
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Documentazione
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- shell, ubuntu
- Ambito
- cli, documentation
Direzione di ricerca
Inizia dalla pagina sulla blockchain del tutorial sul codice di Elements e dal tutorial collegato sulle operazioni di base, quindi riproduci i comandi wallet e initial-free-coins mostrati nel report. Determina come il tutorial prevede che gli utenti accedano ai fondi iniziali e aggiorna le indicazioni pertinenti del tutorial in modo che la creazione del wallet e una verifica del saldo riuscita siano esplicite.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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?
- Lingua principale
- HTML
- Stelle
- 35
- Fork
- 24
- Merge medio
- 7h 45m
- PR unite (30g)
- 1
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ElementsProject/elementsproject.github.io
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 55/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
-
community page slack links Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 30/100
ElementsProject/elementsproject.github.io#137 · 2 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
-
question
ElementsProject/elementsproject.github.io#20 · 1 commento · 2 reazioni · 1 assegnatario ·
Tutte le issue di ElementsProject/elementsproject.github.io
Issue simili
-
enhancement
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
QuantStack/git2cpp#187 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
microsoft/navcontainerhelper#4217 ·
-
area/config comp/agent P2 type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
NousResearch/hermes-agent#118807 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
BasedHardware/omi#15662 · 1 commento ·