Bitcoin Forum
May 08, 2024, 02:54:41 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Permissioned block chain. Smart contracts execution?  (Read 159 times)
BigSwiggy (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 1


View Profile
July 08, 2019, 06:23:22 AM
Merited by bitmover (1)
 #1

Hi everyone,

My question is not about crypto currency but about the way smart contracts work.
I am trying to understand how do we run / validate smart contracts in a permissioned block chain. Knowing that these smart contracts have for only purpose to transmit information from A to B. They do not involve ownership of assets or right of use.

What I don't understand is:
-do we need miners to validate and "activate" smart contracts once the conditions are met?

-does smart contract need to passe through a block to be executed? If yes, what king of process work the best (proff of stake?). If no, can I assume that no particular computer power is needed?

-lastly, under what form the information would go through the block chain? Would it be tokens?

Knowing that in this example no parties are interested in earning rewards or money. The only purpose is to have an automated block chain that moves information around based on certain criteria.

Thanks a lot
Big
1715180081
Hero Member
*
Offline Offline

Posts: 1715180081

View Profile Personal Message (Offline)

Ignore
1715180081
Reply with quote  #2

1715180081
Report to moderator
The Bitcoin network protocol was designed to be extremely flexible. It can be used to create timed transactions, escrow transactions, multi-signature transactions, etc. The current features of the client only hint at what will be possible in the future.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715180081
Hero Member
*
Offline Offline

Posts: 1715180081

View Profile Personal Message (Offline)

Ignore
1715180081
Reply with quote  #2

1715180081
Report to moderator
1715180081
Hero Member
*
Offline Offline

Posts: 1715180081

View Profile Personal Message (Offline)

Ignore
1715180081
Reply with quote  #2

1715180081
Report to moderator
1715180081
Hero Member
*
Offline Offline

Posts: 1715180081

View Profile Personal Message (Offline)

Ignore
1715180081
Reply with quote  #2

1715180081
Report to moderator
Patentico
Newbie
*
Offline Offline

Activity: 27
Merit: 2


View Profile WWW
July 08, 2019, 09:39:17 AM
Merited by bones261 (2)
 #2

Smart contracts are self-executing blockchain contracts. The computer code & conditions of the contract are stored and replicated on the ledger. When the events outlined in the contract are triggered the code execute. Say some tokens are transferred into a program, depending on the conditions met, the tokens are transferred further, or if the conditions are not met they are refunded. So the miners would still validate the transactions as they would normally.

Patentico.io (https://patentico.io/en-index.html)
---Intellectual Property on the Blockchain!---
bitmover
Legendary
*
Offline Offline

Activity: 2296
Merit: 5925


bitcoindata.science


View Profile WWW
July 08, 2019, 02:16:36 PM
Merited by bones261 (2)
 #3

What I don't understand is:
-do we need miners to validate and "activate" smart contracts once the conditions are met?
Yes.
Smartcontracts are in the blockchain. If the contract condition is "send 1 eth to address", only when that eth reaches the address, and that block is mined, the smartcontract will be validated.


-does smart contract need to passe through a block to be executed? If yes, what king of process work the best (proff of stake?). If no, can I assume that no particular computer power is needed?
Yes, needs a block, as I said earlier. The best and most secure protocol is still PoW, as all decent coins around are using PoW (btc and ethereum). Ethereum is a blockchain designed specifically to run smartcontracts,and they are using PoW.


-lastly, under what form the information would go through the block chain? Would it be tokens?
No, smartcontracts are not made of tokens. The information goes through  scripts. in ethereum the language used to design smartcontracts is called Solidity.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
BigSwiggy (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 1


View Profile
July 08, 2019, 06:15:46 PM
 #4

Patentico, Bitmover,

Thank you both for your answers. That is helping a lot.
One more question though, the permissioned BC application I am documenting would be animated by a few people that would not necessarily have a lot of computing power.
In such case I understand that PoW would not be adequate. Especially that rapidity is a key element here. Therefore, would PoS be more adequate? Or is there other process more appropriate for small BC?

Best regards,
Big
bitmover
Legendary
*
Offline Offline

Activity: 2296
Merit: 5925


bitcoindata.science


View Profile WWW
July 08, 2019, 11:03:05 PM
 #5

In such case I understand that PoW would not be adequate. Especially that rapidity is a key element here. Therefore, would PoS be more adequate? Or is there other process more appropriate for small BC?

Best regards,
Big

A blockchain with a small blocktime Will have fast confirmation, no matter of pow os pos.
Ethereum blocktime os less than 15 seconds, so confirmations are almost instant.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
BigSwiggy (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 1


View Profile
July 09, 2019, 05:26:34 AM
 #6

Bitmover,

Thank you for you reply.
I wish you a good day.

Best,
Big
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!