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.

74 questions
1
vote
1 answer

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 will be the best way or resources to refer if…
user103136
1
vote
1 answer

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 Contracts only exist in Ethereum. This is not true.…
Mars Robertson
  • 329
  • 5
  • 14
1
vote
1 answer

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 ?
laizess
  • 319
  • 2
  • 8
1
vote
1 answer

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 code rather than just implement "some" functions…
hqt
  • 115
  • 6
1
vote
1 answer

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?
1
vote
1 answer

Restricting transferability of Smart Contracts

Can a smart contract be created which can be exchanged once at point of sale, and only transferred subsequently through a single approved exchange? Can that be written into the contract itself?
Mass Mgmt
  • 11
  • 1
0
votes
1 answer

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 outcome of these parties votes. So the 5 different…
Kam
  • 1
0
votes
0 answers

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 for 100 weeks. Why can't this code just be stored…
Patoshi パトシ
  • 11,056
  • 18
  • 84
  • 158
-1
votes
1 answer

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 the hash on the blockchain and the rest on a…
-1
votes
1 answer

can the buyers or sellers in smart contract be the miner also?

Can the buyers or sellers in the smart contracts be the miner also? Like someone be the player and also be the verifier? Thanks for your help
Simon
  • 1
  • 1