[Bitcoin Lightning] LND/Bitcoind 추가 기능들 정리steemCreated with Sketch.

in #upvulast year

Lightning Network Node 설정 으로 LND 설치 이후에 추가로 해야 할 일들

LND - Bitcoin Wallet 으로 BTC Deposit

// taproot address로 새주소 발급
lncli --network testnet newaddress p2tr

// bitcoin 전송(위에서 나온 명령어에서 생성된 주소로 전송)
bitcoin-cli sendtoaddress "account" amount

// open channel(testnet peer를 https://1ml.com/testnet 여기서 검색 후 peer의 public key, ip, port, amount 를 입력  하여 생성함
lncli --network testnet openchannel --node_key 038863cf8ab91046230f561cd5b386cbff8309fa02e3f0c3ed161a3aeb64a643b9 --connect 203.132.94.196:9735 --local_amt 30000 --sat_per_vbyte 1 --min_confs 0

Testnet 트랜잭션 확인 사이트 : https://blockstream.info/testnet

Lightning Network Testnet 사이트 : https://1ml.com/testnet

Bitcoin Cli 명령어 사용법들

// 참고주소 : https://developer.bitcoin.org/reference/rpc/#
// rawtransaction을 보는 방법
bitcoin-cli getrawtransaction "txid"

// rawtransaction을 볼 수 있는 데이터로 decode 하는 명령어
bitcoin-cli decoderawtransaction "rawtransaction"

// transaction을 json 형태로 보는 방법
bitcoin-cli decoderawtransaction $(bitcoin-cli getrawtransaction "txid")

// bitcoin 특정 주소의 사용되지 않은 모든 UTXO보기
bitcoin-cli listunspent 0 9999999 '["address"]'

// bitcoin wallet의 모든 트랜잭션 정보 가져오기
bitcoin-cli listtransactions


추가로 사용 해볼 것들은 계속 추가 할 예정.!!

Sort:  

This post has been upvoted by @italygame witness curation trail


If you like our work and want to support us, please consider to approve our witness




CLICK HERE 👇

Come and visit Italy Community



Hi @happyberrysboy,
my name is @ilnegro and I voted your post using steem-fanbase.com.

Come and visit Italy Community

(Resteem 🔁 1 STEEM) 📌 please, 📢 sincerely consider to withdraw your witness vote for @steem-agora, i
https://www.steemit.com/@happycapital/resteem-1-steem-please-sincerely

@happycapital님이 당신을 멘션하였습니다.
멘션을 받고 싶거나 받지 않으시려면 댓글을 남겨주세요. 빠른 시일내에 반영하도록 하겠습니다.

[Voting Lottery PayBack 18회 적립금 267 STEEM] 관심작가(2023-05-31)
https://www.steemit.com/@veryhappyday/voting-lottery-payback-18--267-steem-2023-05-31

@veryhappyday님이 당신을 멘션하였습니다.
멘션을 받고 싶거나 받지 않으시려면 댓글을 남겨주세요. 빠른 시일내에 반영하도록 하겠습니다.

H4LAB Delegation Status (2023/06/01)
https://www.steemit.com/@h4lab/2023-06-01-status

@h4lab님이 당신을 멘션하였습니다.
멘션을 받고 싶거나 받지 않으시려면 댓글을 남겨주세요. 빠른 시일내에 반영하도록 하겠습니다.

Hi @happyberrysboy, I was trying to up my Delegation to UPVU Blurt and I keep getting "Bad gateway", can you check this out thank you!

Hello friends, if you support me, I will support you too. If you follow me, I trust you too.

Check here :- @ashutos

안녕하세요 친구들, 여러분들이 저를 지원해주신다면 저도 여러분들을 지원하겠습니다. 만약 여러분들이 저를 팔로우하신다면 저도 여러분들을 신뢰합니다.

[스팀] @steem-agora 님의 글을 보면서
https://www.steemit.com/@realmankwon/steem-agora

@realmankwon님이 당신을 멘션하였습니다.
멘션을 받고 싶거나 받지 않으시려면 댓글을 남겨주세요. 빠른 시일내에 반영하도록 하겠습니다.

Coin Marketplace

STEEM 0.20
TRX 0.15
JST 0.030
BTC 64884.95
ETH 2619.31
USDT 1.00
SBD 2.82