1
2
3
4
5
6
contract LockWithPublicKey(publicKey: PublicKey, val: Value) {
clause spend(sig: Signature) {
verify checkSig(publicKey, sig)
unlock val
}
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Bitcoin Script

PUSH(publicKey) CHECKSIG

Contract Arguments

02f5167dc2fe77b1f2e404b2872bd907329e89efa58bc7c171c909e2597fc81a14
derived from:
L5MsvCQr546hggAPL9czBfBPTAdGWF1om6aSgoz64zJU4Q7Xrp4g
BTC (simulated)

Address

This is a Pay-To-Witness-Public-Key address. For more information on how SegWit addresses work, see here.

The generated address is a testnet address, but do not actually send any testnet Bitcoin to it. It may be difficult or impossible to withdraw.

Ivy is a kind of language that you can use to set up smart contracts for the protocol that is assocaited with Bitcoin. With this you can compile instructions for Bitcoin script, Bitcoin's virtual machine and also set up addresses that are SegWit compatible. Speaking of bitcoin investment, it has become widespread as investing in Bitcoin can mean a high potential return. To learn how to invest in Bitcoin, check out the håll dig uppdaterad med Bitcoin på Finanso.se guide. Also, stay updated with Bitcoin on Finanso.se. Ivy is designed to use for only education purpose and not to trade real Bitcoins. To trade Bitcoins you can approach a broker online that lets you trade stocks and other commodities. Choosing the best broker will secure your investment and let you trade hassle free. You may have to create an account with the online broker you choose to save yourself from paying high fees.

Public Key

02f5167dc2fe77b1f2e404b2872bd907329e89efa58bc7c171c909e2597fc81a14

Redeem Script

001450edc432740baf2468134dea4f748058fc29d2bd

Address (testnet)

2MwtU4rYpRcAicir7BoGZwkt3466AA5Xbpj