Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Preventing Interference in Smart Contracts
KTH, School of Electrical Engineering and Computer Science (EECS).
KTH, School of Electrical Engineering and Computer Science (EECS).
2019 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesisAlternative title
Förhindra störningar i smarta kontrakt (Swedish)
Abstract [en]

Smart contracts are a new form of contracts that handle transactions of economical value between users on a network, without the need for a middle man. This is possible as the integrity of the transactions are ensured using Blockchain technology. However, safe transactions are not always a guarantee as secure smart contracts can be difficult to write. Security vulnerabilities in smart contracts can be exploited and result in great financial losses for contract users.

In this report we examine how interference can be counteracted in transactions involving smart contracts. This is to ensure that assets of economical value do not run the risk of disappearing and that the flow of information between smart contracts remains truthful. The term "interference" is coined precisely in relation to smart contracts. Moreover, two different solutions for two interference problems are examined, which mainly involve locking the access to certain functions for specific contracts so that no modification of the state of one contract can take place until a transaction is finished. The methods for counteracting interference in the transactions work, but the solutions are adapted to the specific pr blems and do not serve as a "general" solution to the problem of interference.

Abstract [sv]

Smarta kontrakt är en ny form av kontrakt som används för att utfärda ekonomiska transaktioner utan någon mellanman eftersom att transaktionernas integritet säkerställs med hjälp av Blockchain-teknologi. Detta säkerställer dock inte alltid säkra transaktioner eftersom det kan vara svårt att skriva säkra smarta kontrakt. Säkerhetsproblem i smarta kontrakt kan utnyttjas och orsaka stora ekonomiska förluster för kontraktanvändarna.

I denna rapport undersöker vi hur störningar kan motverkas i transaktioner som involverar sådana smarta kontrakt. Detta för säkerställa att tillgångar av ekonomiskt värde inte riskerar att försvinna och att informationsflödet mellan smarta kontrakt förblir sanningsenligt. Termen störningdefinieras precist i förhållande till smarta kontrakt. Därefter undersöks två olika lösningar till de olika störningsproblemen, som huvudsakligen involverar att låsa tillgången till vissa funktioner för vissa kontrakt så att ingen modifikation av tillstånd kan ske tills dess att transaktionerna avslutats. Metoderna för att motverka störningar i transaktionerna fungerar men dessa lösningar är anpassade till de specifika prob emen och fungerade inte som en allmän lösning på störningsproblematiken.

Place, publisher, year, edition, pages
2019.
Series
TRITA-EECS-EX ; 2019:327
National Category
Computer and Information Sciences
Identifiers
URN: urn:nbn:se:kth:diva-255159OAI: oai:DiVA.org:kth-255159DiVA, id: diva2:1338660
Subject / course
Computer and Systems Sciences
Supervisors
Examiners
Available from: 2019-07-29 Created: 2019-07-23 Last updated: 2019-07-29Bibliographically approved

Open Access in DiVA

fulltext(749 kB)10 downloads
File information
File name FULLTEXT01.pdfFile size 749 kBChecksum SHA-512
8841d7f66cae2612bf82734c91d32d3698704923f65f4ece6721ba56658d42bd358523238cc88e7d4660beaf63fd972160d5e43ccdd5fa6d8a53f0beb7a5ce30
Type fulltextMimetype application/pdf

By organisation
School of Electrical Engineering and Computer Science (EECS)
Computer and Information Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 10 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 47 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf