Latest news about Bitcoin and all cryptocurrencies. Your daily crypto news habit.
Just recently the startup Smartbtc announced the execution of a bitcoin-based smart contract written in the Python codebase. The team intended to grow their Twitter following by creating a contract that paid 0.011 BTC after it accrued 1,000 followers in sixty days. After the goal was met, Smartbtcâs Python contract executed on February 19.
Also read:Â United Bitcoin May Be the Most Controversial Fork to Date
Python Based Contracts Tethered to BTC Payouts
Smartbtc is a platform that facilitates smart contracts tethered to BTC chain payouts, and contracts are written entirely in Python code. The contractâs programming considers the agreement fulfilled after the âdef contract()â Python method returns âTrue.â One thing to note is Smartbtc is a centralized service and contracts are executed periodically until it is fulfilled or it expires. Even though the contracts rely on a level of trust and Smartbtcâs servers, the developer believes a centralized type of contract infrastructure tied to BTC payments will still be needed. Smartbtcâs creator thinks existing financial institutions and average users will gravitate towards these types of maintained agreements as opposed to a system thatâs entirely decentralized. Even smart contracts written in Ethereumâs Solidity codebase require a level of trust in the autonomous nature alongside putting faith in codebase audits.Â
Smartbtcâs Python contract platform.
Helping Entrepreneurs Pay for Results
The application fees are calculated by the agreement period and execution interval which can be anywhere between 1-2 percent. If the contract obligation is not fulfilled the owner will be charged 0.5 percent of the arrangement cost and the rest of the sum is returned back to the originator. âIf the smart contract is fulfilled the promisee will get the specified amount minus the miner fee,â explains Smartbtcâs website FAQ. The applicationâs code is available for review on Github and the Twitter following Python commitment was designed to showcase the platformâs ability to execute. Â Â Â Â
âOn our platform, smart contracts are written entirely in python code, to make it extra easy to write and understand,â explains the developer. âFirst things we have to set are: amount, receiver (contract promisee), python version (only 2.7 is supported now), how often should the contract execute (execution interval) and the duration of the contract (contract period).â
We help entrepreneurs pay for results, and to make sure the people that provide valuable services get paid every time they do amazing jobs.
The executed Twitter follower contract.
Contracts Donât Have to be Difficult to Write
For the specific Twitter arrangement, the software collaborated with a Twitter API to get the approximate Twitter follower count and utilized âpipâ for install requests. Contracts cannot be seen by anyone, but if a person is provided with the contractâs link they will gain access and can view the deal. The Python commitments also have execution limits that are 500 MB of memory, a 30-second execution timeout, and 5 GB of disk space. Moreover, contracts cannot be terminated unless they are fulfilled or the obligations expire. There is no other way of terminating it ahead of schedule,â the company emphasizes.
Of course, some individuals take issue with the fact that Smartbtcâs services are centralized but the creators believe there are many cryptocurrency firms like Coinbase, Bitpay, and others that require a form of central trust.
âThe idea I was trying to portray is that smart contracts donât have to be difficult to write, hard to understand and limited in functionality,â Smartbtcâs creator details. âI find the idea amazing that somebody can pay somebody else if a piece of code returns the right thing â This project is how I thought I could help the community.â
What do you think about Smartbtcâs services? Do you think some individuals and businesses will seek out centrally executed contracts such as these? Let us know what you think about this platform in the comments below.
Disclaimer: Bitcoin.com does not endorse nor support this product/service.Readers should do their own due diligence before taking any actions related to the mentioned company or any of its affiliates or services. Bitcoin.com is not responsible, directly or indirectly, for any damage or loss caused or alleged to be caused by or in connection with the use of or reliance on any content, goods or services mentioned in this article.
Images via Shutterstock, and Smartbtc.
Have you seen our new widget service? It allows anyone to embed informative Bitcoin.com widgets on their website.
The post Smartbtc Sees the Need for Centralized Python-Based Smart Contracts appeared first on Bitcoin News.
Disclaimer
The views and opinions expressed in this article are solely those of the authors and do not reflect the views of Bitcoin Insider. Every investment and trading move involves risk - this is especially true for cryptocurrencies given their volatility. We strongly advise our readers to conduct their own research when making a decision.