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

020c9a16702e0809e178972c8045ec4629629a36e4953bf6bb0ec7412e22c2f7a6
derived from:
KwgYhRnsXtMekedKGY8V5ocb4Cd9rvDfpp5ar4oWkknocrBSZBGj
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

020c9a16702e0809e178972c8045ec4629629a36e4953bf6bb0ec7412e22c2f7a6

Redeem Script

0014050f4f7d14c4047a3e3b310f61a0d98c14e32c16

Address (testnet)

2MzVLVXLGtLSwc26C7U4KFPAtmrRrqdnGWw