Questions tagged [smartcontracts]

Smart Contracts are small computer programs stored inside the Blockchain that can update themselves, store their own state, and own digital assets.

Filter by
Sorted by
Tagged with
0 votes
0 answers
23 views

What type of processes do smart contracts represent?

Smart contracts of blockchain technology are computer programs that are considered to automate business processes. My question is that what type of processes do smart contracts represent? For example, ...
user avatar
  • 1
0 votes
0 answers
37 views

Does Taproot expand the potential for smart contracts? If so, how? [duplicate]

I have heard that Taproot will expand BTC's potential for smart contracts. Is this true? If it is, how so?
user avatar
  • 143
0 votes
1 answer
53 views

Decoding Bitcoin transaction data

I've recently learned that some cryptocurrencies allow the users to attach additional input data to their transaction and would like to know if it's true for Bitcoin as well. For example, Ethereum ...
user avatar
1 vote
2 answers
80 views

What disadvantages do 2nd layer solution/side chain smart contracts on the bitcoin network have against those on the ethereum network?

I have seen that side chains/2nd layer solutions that utilize smart contracts on the bitcoin network are feasible and in use. If the 'programmability' feature of smart contracts is available on the ...
user avatar
  • 145
0 votes
2 answers
100 views

Can smart contracts be set up on a side chain or 2nd layer solution?

I am not even personally convinced of the utility of smart contracts, but that aside, is it theoretically possible for a side chain or second layer solution to utilize/implement smart contracts? Ie is ...
user avatar
  • 145
0 votes
1 answer
108 views

What types of smart contracts are available for bitcoin network in 2021?

We all know that the first smart contracts appeared on the Ethereum network. As far as I know, in the Bitcoin network, smart contracts work with a limited functionality – Bitcoin uses a non-Turing ...
user avatar
3 votes
1 answer
208 views

Is it possible to build complex Apps with Bitcoin Script?

I am trying to understand what Bitcoin Script is for. Is it a programming language like Java which in principle also can be used for building complex applications like a decentral exchange or was it ...
user avatar
  • 31
3 votes
4 answers
598 views

Why does every "defi" thing only support garbagecoins and never Bitcoin?

I swear, I seriously feel like I've already gone insane and I can't even trust my senses at this point. I've been chewing through website after website listed as "defi", repeatedly finding ...
user avatar
1 vote
2 answers
80 views

What prevent someone to not use the receiver address of one transaction as the sender in another one?

Title may be confusing you, and to be honest I am also confused how things work and I am new to this crypto world so sorry in advance if I am not using the correct words. I try to explain : Let say ...
user avatar
  • 121
-3 votes
1 answer
60 views

Is it cryptologically possible to create a smart contract which SAFELY gives me "altcoin interest" on my Bitcoins?

I am aware of the existing, similar questions, and I have read them and found them valuable. However, I do not feel as if I have truly got a conclusive answer on my basic question, which is: Is it ...
user avatar
0 votes
1 answer
56 views

Running ERC20 contract on RSK

Disclaimer: originally asked on the ETH SE site, but advised to post here. I have been reading about RSK lately and was wondering about the compatibility and possibilities, so I wanted to ask for some ...
user avatar
-4 votes
2 answers
105 views

Is it possible to get a monthly "fiat/altcoin allowance" from simply "locking" your Bitcoins in a pure smart contract?

Let's suppose that Mr. John Doe has somehow managed to accumulate 10 BTC. He holds on to them for dear life as it's his one and only savings/lifeline. He has essentially zero fiat money. Only a bank ...
user avatar
-1 votes
1 answer
52 views

What will happen on creating a transaction with negative amount?

Bitcoin in short is a public ledger guided by consensus of its nodes. In theory, if there is no validation of transaction amount, if we were to create a transaction with negative amount, that would ...
user avatar
1 vote
1 answer
50 views

Decode script return different value from my relative timelock

I want to lock a UTXO for 90 days. My Binary is: 00000000010000000011101101010011 And my sequence is: 533B40 When I decode the witness script with bitcoin-cli decodescript I can see 4209491. Where ...
user avatar
0 votes
1 answer
147 views

Solve problems using bitcoin smart contracts

Been trying to ask this to few people on different platforms but nothing was helpful so trying here and will keep trying because I don't even know what else can I do to learn more and contribute. What ...
user avatar
0 votes
0 answers
21 views

The general principle of smart contracts for bitcoin [duplicate]

As far as I know, there is the possibility of realizing smart contracts using the Bitcoin blockchain. Explain how a smart contract works on the Bitcoin blockchain. I am interested in the general ...
user avatar
  • 101
4 votes
3 answers
1k views

What are some interesting applications of Taproot "smart contracts"?

From a strictly technical perspective, MAST makes a lot of sense. However, understanding it in the context of Taproot/Tapscript does require prior knowledge in Merkle Trees and hash functions. What ...
user avatar
0 votes
1 answer
56 views

Do payment channels have an address? And where are their transactions actually being written to?

In the Lighting Network or with micropayment it's possible to open up payment channels that basically work like a smart contract. At the beginning, the channel is funded by one or two parties with ...
user avatar
  • 115
-1 votes
1 answer
222 views

Beginner questions about Smart Contracts (saving the hash)

I am new here and to Blockchain technology, so I have some tricky questions for you :). If I want to save data, for example transactions between two, on the Blockchain. Is it possible to save only ...
user avatar
1 vote
1 answer
66 views

Simple, default, "hello world" smart contract for an auction? (winner wins, all the rest gets refunded)

I recently read an article: https://medium.com/@jimmysong/the-truth-about-smart-contracts-ae825271811f Because of a lot of centralized marketing from Ethereum, there’s a mistaken belief that Smart ...
user avatar
13 votes
2 answers
799 views

Why did the lightning network implement a gossip protocol?

As pointed out by many lightning developers in the past (e.g. Rusty's 1 million channel challenge) the gossip protocol is quite noisy and a part of the BOLTs causing many engineering challenges. ...
user avatar
5 votes
1 answer
209 views

When does Ardor smart contracts come into effect and how does it work compared to Ethereum, EOS, and Lisk?

Ardor announced they are launching smart contracts on their system and how does it work compared to the other platforms like Ethereum, EOS, and Lisk?
user avatar
0 votes
2 answers
98 views

Watch a BitCoin account for incoming payments

I want to watch a set of BitCoin addresses and be notified (preferably by email) when they receive a payment. I prefer me not to write my own software for this and not to install it on my own server, ...
user avatar
  • 101
1 vote
1 answer
69 views

Smart Contract token

Ones tokens are issued by smart contracts on a existing blockchain, for example Bitcoin and distributed to the community, who and in wich currency the transaction fees will be realized ?
user avatar
  • 199
2 votes
1 answer
51 views

Is it posible to create a transaction output that can either be reddemed by privK of Addr A or by privK of Addr B AFTER certain blockheight?

I am thinking about how to secure your Bitcoin savings. One idea I had was to create sort of a "backup" address B for an address A which stores the bitcoins. So what I want to achieve is that you ...
user avatar
1 vote
0 answers
37 views

Are there any smart contract systems that are self executing without the need to have an external process to initiate a smart contract? [closed]

Doing some research on smart contract systems. I want to create a self executing smart contract that can monitor external data like say the weather from an api. Currently ethereum and other smart ...
user avatar
3 votes
1 answer
68 views

Ardor Lightweight Contracts: (Almost) trustless way with new Phased Transaction type?

I asked that question on Bitcointalk, but got no response so far. As Lior has proposed to make Stackexchange the main medium of exchange about Ardor I'm asking here. As I read in the FAQ, the main ...
user avatar
  • 53
1 vote
1 answer
158 views

Could Taproot or Graftroot enable the execution of complex scripts?

From my understanding, Taproot uses a Merkle Tree structure whose root represents the outcome of a script. That representation is in the form of a signature that may unlock the inputs associated with ...
user avatar
0 votes
1 answer
2k views

Template of a DAO?

Where can I find a simple smart contract template of a DAO? not The DAO, but a Decentralized Autonomous Organization, rules, codes, bylaws, responsibilities, etc.
user avatar
2 votes
1 answer
211 views

How is a node selected to run Smart Contract in Ethereum

A node that runs a smart contract will be paid with GAS. How is this node selected? I guess this node should be trustworthy. Or multiple nodes are running the same smart contract just to make sure ...
user avatar
  • 167
0 votes
0 answers
21 views

Hash Time Locked Contract (HTLC) using bitcoin-qt [duplicate]

Is it possible to manually create a Hash Time Locked Contract using the bitcoin-qt command line? I have dabbled with manually creating createrawtransaction / sendrawtransaction using the bitcoin-qt ...
user avatar
2 votes
1 answer
2k views

Token vs contract - are they the same?

The Ethereum ERC20 token is also the contract. The token can never live without the contract. The name of the contract is the name of the token. In the code, the keyword is contract and not token. I ...
user avatar
  • 129
-1 votes
1 answer
103 views

Examples and Tutorial on how to use lightweight smart contracts on Ardor?

I've just read about Ardor's lightweight smart contracts: https://medium.com/coinmonks/lightweight-contracts-b738b6e29377 Is there an example and tutorial of how to make use of these smart contracts ...
user avatar
1 vote
1 answer
32 views

Purpose of token standard interfaces when implement smart contract

I am studying to write smart contract and see that there are some token standards such as ERC20. My question is: what is the purpose of those standards ? Why do we need to add those interface to our ...
user avatar
  • 115
4 votes
1 answer
139 views

Aborting a three-way swap

Suppose Alice has 1 BTC, Bob has 1 LTC, and Carol has 1 NMC. Alice wants NMC for BTC, Bob wants BTC for LTC, and Carol wants LTC for NMC. Assume each cryptocurrency has the same value and can be 1-to-...
user avatar
2 votes
0 answers
199 views

Is it possible to create a Dapp on top of Bitcoin?

Is it possible to create a dapp on top of bitcoin similar to how it can be done with ethereum? Can it be just as capable as ethereum?
user avatar
0 votes
1 answer
49 views

Reveal a result after block height

So imagine we have 5 different parties, all of these parties test if a particular thing is true or false over the course of 24 hours. The network needs to come to a consensus about the majority ...
user avatar
  • 1
0 votes
2 answers
84 views

Does blockchain have any value if you trust all nodes?

If we are designing a new project or application whatever it is, and you can trust all nodes, should we still consider blockchains in the architecture? I saw this video of IBM and I was wondering ...
user avatar
1 vote
1 answer
126 views

Smart Contracts on Bitcoin's blockchain

Will projects build on top of Ethereum's blockchain be able to transit to Bitcoin's blockchain when the smart contract platform is up and running?
user avatar
0 votes
1 answer
230 views

Questions about blockchains, network trust and why becoming a node? [closed]

everyone, I'm a software developer and I'm striving to understand the concepts behind blockchain and the projects running on them. I'm not sure if this is the correct place to ask these questions, ...
user avatar
0 votes
1 answer
43 views

While creating new crypto using fork need to generate smart contract? [closed]

I have 2 questions for creating nee crypto currency using fork. 1.) I have created one new crypto coin which is called mindcoin, now should i generate smart contract for deployment my currency in ...
user avatar
0 votes
1 answer
84 views

Smart Contract Execution

If I have a Blockchain which consists of few smart contracts. Let's say that the Blockchain consists of 2000 blocks. When a new block is added to the Blockchain then does the smart contract runs on ...
user avatar
  • 101
1 vote
1 answer
152 views

ETH smart contracts v/ traditional

total newb here. I purchased some ETH on an exchange which uses smart contracts, it is in that exchange wallet. I have another wallet which does not support smart contracts, only "traditional" ETH ...
user avatar
1 vote
1 answer
145 views

How does the Smart Contracts work in a blockchain

I am relatively new to blockchain technology, and my only knowledge is relative to the way bitcoin blockchain works. I know it is based on mining and and transfer of value that gets scarce whenever ...
user avatar
2 votes
2 answers
84 views

Conditional based Crypto based on Smart Contracts

Is it possible to store an encrypted message in the blockchain that reveals itself only when a particular condition is met? I think that the conditional disclosure can be done with Smart Contracts, ...
user avatar
1 vote
1 answer
230 views

Are Ethereum Tokens issued in an ICO similar to stocks on a stock market? [closed]

Are Ethereum Tokens issued in an ICO similar to stocks on a stock market? In which ways are they similar, and in which ways are they not? To give some background to my question. I just joined an ICO ...
user avatar
4 votes
3 answers
3k views

How to store private data in blockchain and smart contract

Following my previous question on this topic Is there a way to store and share a private key through blockchain?, I might have a solution but I would like to improve the process. Image that A is the ...
user avatar
  • 141
0 votes
0 answers
50 views

Why can't smart contract code just be stored on an immutable blockchain an just have another system execute this code?

I understand that a smart contract is just a fancy term for code that just does something with accounts in an immutable blockchain. A good example is, if you wanted to send your friend 1 coin a week ...
user avatar
7 votes
2 answers
773 views

Bitcoin and Smart Contracts

I have recently come across the features of ethereum and the idea of smart contracts. I like the concept of smart contracts however as a currency, I much prefer the bitcoin to the ether. Is there ...
user avatar
  • 476
2 votes
1 answer
304 views

What is the status of smart contracts in bitcoin?

Are contracts described here already available for use? This source claims that "Ethereum style contracts" will be available in June. Is this correct? How are Ethereum style contracts different from ...
user avatar