Tech 10 months ago

Erik Gibbs

Smartbtc announces smart contract written in Python

Smartbtc recently produced a novel concept to smart contracts, creating one that is based completely on Python. To showcase their product, the contract’s developers worked with Twitter to create a proof of concept. The contract was written so that once the Twitter account reached 1,000 within 60 days, it would pay .011 BTC. The goal was met, and the contract was initiated on February 19.

The startup was created to facilitate smart contracts tied to payouts on the BTC blockchain. The contracts are coded so that a transaction is defined as being complete if, using Python’s language, the “def contract()” in the coding returns a value of True. Smartbtc is a centralized service that executes contracts until they are either fulfilled or they expire. However, the contracts depend a great deal on Smartbtc’s servers, as well as a little bit of trust, which results in the need for a centralized contract infrastructure that is still tied to BTC payments.

Smartbtc hopes that more users, including financial institutions, will see the benefit of maintained agreements, instead of a completely decentralized system, and move towards adoption of applications such as the one it has developed. The application’s developers point out that even with other platforms, such as Ethereum’s Solidity codebase, there is still a trust factor that comes into play during transaction resolution.

Transaction will incur a small fee, which is based on the agreement period and execution interval, and can range between 1-2%. If the transaction is not completed, the owner will pay 0.5% of the cost, and the rest of the sum will be returned back to the originator. However, if the smart contract is fulfilled, the receiver will be delivered the agreed amount minus a miner fee.

The code is written entirely in Python 2.7, and is available for review on Github. Smartbtc chose to use Python because they feel that it’s easy for users to understand. All contracts have execution limits of a maximum of 500MB of memory and a time-out execution period of 30 seconds. The contracts can only be terminated if they are fulfilled or if they expire.

Note: Tokens in the SegWit chain are referred to as SegWit1X (BTC) and SegWit Gold (SWG) and are no longer Bitcoin. Bitcoin Cash (BCH) is the only true  Bitcoin as intended by the original Satoshi white paper.  Bitcoin BCH is the only public block chain that offers safe and cheap microtransactions.
Note: Tokens on the Bitcoin Core (segwit) Chain are Referred to as BTC coins. Bitcoin Satoshi Vision (BSV) is today the only Bitcoin implementation that follows Satoshi Nakamoto’s original whitepaper for Peer to Peer Electronic Cash. Bitcoin BSV is the only major public blockchain that maintains the original vision for Bitcoin as fast, frictionless, electronic cash.

COMMENT

Add a Comment

lastest news

Craig Wright on the (non)viability of quantum computing attacks

Tech 23 hours ago

Craig Wright on the (non)viability of quantum computing attacks

Some have expressed concern that advancements in quantum computing would render existing forms of encryption as ineffective. If speculators are to be believed, blockchain would no longer have its advantage of immutability as achieved through ...

Read More
Money Button rolls out JavaScript library, mnemonic tool for Bitcoin SV

Tech 3 days ago

Money Button rolls out JavaScript library, mnemonic tool for Bitcoin SV

Bitcoin SV now has a “pure and powerful” JavaScript library, courtesy of Money Button. bsv, a library for cryptography, key management and transaction building for Bitcoin SV, was introduced early this week, marking yet another ...

Read More
Blockchair adds BSV block explorer

Tech 4 days ago

Blockchair adds BSV block explorer

Bitcoin SV (BSV) is developing as anticipated, not missing a single beat. The only cryptocurrency that understands why digital currency was developed is gaining ground and has begun to garner more public support. The latest ...

Read More