Bitcoin Forum
May 13, 2024, 07:36:38 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin smart contract taproot  (Read 149 times)
alessandromerlettidepalo (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
November 17, 2021, 07:00:25 PM
 #1

Hello, I am a newbie, I can code, how can I use the taproot upgrade to code a smart contract involving BTC and not Eth?
1715628998
Hero Member
*
Offline Offline

Posts: 1715628998

View Profile Personal Message (Offline)

Ignore
1715628998
Reply with quote  #2

1715628998
Report to moderator
"With e-currency based on cryptographic proof, without the need to trust a third party middleman, money can be secure and transactions effortless." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715628998
Hero Member
*
Offline Offline

Posts: 1715628998

View Profile Personal Message (Offline)

Ignore
1715628998
Reply with quote  #2

1715628998
Report to moderator
1715628998
Hero Member
*
Offline Offline

Posts: 1715628998

View Profile Personal Message (Offline)

Ignore
1715628998
Reply with quote  #2

1715628998
Report to moderator
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
November 17, 2021, 07:30:05 PM
Merited by pooya87 (2)
 #2

Hello, I am a newbie, I can code, how can I use the taproot upgrade to code a smart contract involving BTC and not Eth?

That depends on what you want to accomplish.  Bitcoin Script is not Turing Complete, so depending on what you want to do, it may or may not be possible.
ABCbits
Legendary
*
Offline Offline

Activity: 2870
Merit: 7497


Crypto Swap Exchange


View Profile
November 18, 2021, 10:50:32 AM
Merited by pooya87 (2), Coin-1 (1)
 #3

It would be great if you're being specific about what do you want to do and how much do you know about Bitcoin? Assuming  you're not too familiar with Bitcoin script/protocol, but just want to look around you could try Minsc (https://min.sc). But if you want interact with Bitcoin script directly and looking for introduction material, check https://blockgeeks.com/guides/best-bitcoin-script-guide/. Take note it's somehow outdated and doesn't cover Taproot.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10558



View Profile
November 19, 2021, 12:35:31 PM
Merited by NeuroticFish (2), BlackHatCoiner (2), ABCbits (1), hosseinimr93 (1)
 #4

Unfortunately people have been misled to think "smart contract" is the same as "token creation capability" whereas "smart contract" has a wider meaning. Essentially ever since the first bitcoin transaction we have been using "smart contracts" in bitcoin, usually in their simplest form but with the ability to create more complex ones such as the HTLC ones used for second layer.
However, bitcoin doesn't and will probably never have the "token creation capability", at least not in the same sense as token creation platforms such as ethereum have. You can use Omni layer to create tokens (which is what Tether/USDT started with).

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
November 19, 2021, 10:06:51 PM
Merited by NeuroticFish (1), BlackHatCoiner (1)
 #5

bitcoin doesn't and will probably never have the "token creation capability"
Thankfully...

Can you imagine what would happen to the mempool, network load and fees if someone created a Bitcoin version of "CrypoKitties" Shocked Undecided Roll Eyes

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
BlackHatCoiner
Legendary
*
Online Online

Activity: 1512
Merit: 7364


Farewell, Leo


View Profile
November 21, 2021, 08:17:59 PM
Last edit: November 22, 2021, 12:19:51 PM by BlackHatCoiner
Merited by pooya87 (2)
 #6

Hello, I am a newbie, I can code, how can I use the taproot upgrade to code a smart contract involving BTC and not Eth?
The taproot upgrade isn't meant to introduce token creation. However, it can be used to:

  • Improve your privacy. The transactions which open lightning channels won't seem differently in the block chain. Also, with MAST and Schnorr signatures, it can obfuscate the final destination. it can make indistinguishable M-of-N addresses from 1-of-1.
  • Make big transactions' fees lower such as the ones with multi-sig.

If you're a newbie, I would recommend you to start learning.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10558



View Profile
November 22, 2021, 04:22:31 AM
Merited by BlackHatCoiner (4), ABCbits (1)
 #7

with MAST and Schnorr signatures, it can obfuscate the final destination.
What do you mean by that?
The "destination" is the outputs of the transaction, how can you obfuscate the outputs by using Schnorr signatures or MAST? The only thing that gets obfuscated is the "details" of the "signature", like a multi sig not looking any different than a single sig while the destination remains the same, the same address and the same amount obvious for anyone to see.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
BlackHatCoiner
Legendary
*
Online Online

Activity: 1512
Merit: 7364


Farewell, Leo


View Profile
November 22, 2021, 12:18:39 PM
 #8

What do you mean by that?

Sorry, that's what I meant! Not the destination. It just makes indistinguishable multi-sig transactions.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!