Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
3answers
1k 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 ...
1
vote
1answer
23 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 ?
0
votes
1answer
68 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 ...
0
votes
1answer
246 views

How to send Ethereum from a “paper wallet address” to another address using an API?

I have an "Ethereum Paper Wallet Address" and this address has $5 USD amount of Ethereum. I want to transfer that ether to another Ethereum address using an API. Please let me know if any more ...
-1
votes
1answer
75 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 ...
-1
votes
1answer
41 views

Crowdsale and Smart Contracts (Number)

I just need a quick clarification for crowdsale. If i have 3 rounds of crowdsale, do i need to write and execute 3 different programs at different times or submit all at a time under one program? ...
2
votes
0answers
62 views

Is it cheaper to store data across multiple instances of the same contract?

From what I understand, code is deduplicated on the Ethereum blockchain by storing pointers in new blocks to blocks containing code that is being reused in the new block. If that's the case: Is it ...
1
vote
0answers
35 views

Why did the lightning network implement a gossip protocol?

As pointed out by many lightning developers in the past (eg Rustys 1 million channel challenge) the gossip protocol is quite noisy and a part of the BOLTs producing many engineering challenges. Today ...
1
vote
0answers
22 views

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

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 ...
1
vote
0answers
158 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?
1
vote
0answers
217 views

Bitcoin bet on price of Brent crude

Is there a place where I can bet on the price of Brent crude oil? For example, I bet 1 BTC and: if the oil price increases by 1%, I will lose the bet. if the oil price decreases by 1%, I will double ...
0
votes
0answers
98 views

Is “Hawk” (a decentralized smart contract system) able to provide acceptable privacy for blockchain?

According to the Hawk paper: "Hawk, a decentralized smart contract system that does not store financial transactions in the clear on the blockchain, thus retaining transactional privacy from ...
0
votes
0answers
89 views

How do you see if your wallet supports ERC-20?

I have a wallet on an exchange and would like to know if there is a rule of thumb to identify if your wallet supports ERC-20. Any help would be appreciated.
0
votes
0answers
184 views

Where/how is smart contract's state stored?

There're some smart contracts that only checks whether certain conditions are met. On the other hand, there're some other contracts that keep some state and the state changes by transactions calling ...
0
votes
0answers
43 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 ...
-3
votes
0answers
40 views

Enigma “secret contract” and concealing transactions history: Is it possible?

Enigma protocol is a second-layer, off-chain network that aims to solve privacy issues in blockchain. However In Enigma blog, there is an article (Link to Article), explaining the secret contract, ...