{"id":{"repo_id":"chalmers","oai_identifier":"oai:odr.chalmers.se:20.500.12380/256117"},"canonical_url":"https://search.ndltd.org/etd/chalmers/oai:odr.chalmers.se:20.500.12380/256117","repository":{"repo_id":"chalmers","name":"Chalmers University of Technology","base_url":"https://odr.chalmers.se/oai/request"},"display":{"title":"Decentralized Cryptocurrency Exchange A Proof-of-Concept based on Hashed Timelock Contracts","abstract":"In recent years, cryptocurrencies have grown rapidly to a market capitalization of 400 billion US dollars. As the value of cryptocurrencies has increased, several exchanges have emerged. Some of these exchanges have been targets of attacks leading to losses of cryptocurrency worth hundreds of millions of dollars. The attacks have been made possible as a result of exchanges keeping track of the cryptocurrency in circulation on the exchange by storing their users’ funds. A successful attack puts not only the exchange, but all its users at risk. This bachelor’s thesis explores an alternative to a centralized cryptocurrency exchange by trading directly on the blockchain using peer-to-peer technology. This decentralized approach eliminates the risk for attacks with far-reaching consequences as users’ funds are not stored in a central location. A protocol for exchange between cryptocurrencies is proposed and a prototype based on this protocol is implemented. An evaluation is done to ensure the quality of the prototype and protocol based on three parameters - delay, cost and trading pairs. The protocol is proven to be a possible alternative to the solutions offered today. The prototype displays a proof-of-concept of a decentralized platform that implements this protocol.","abstract_html":"In recent years, cryptocurrencies have grown rapidly to a market capitalization of 400 billion US dollars. As the value of cryptocurrencies has increased, several exchanges have emerged. Some of these exchanges have been targets of attacks leading to losses of cryptocurrency worth hundreds of millions of dollars. The attacks have been made possible as a result of exchanges keeping track of the cryptocurrency in circulation on the exchange by storing their users’ funds. A successful attack puts not only the exchange, but all its users at risk. This bachelor’s thesis explores an alternative to a centralized cryptocurrency exchange by trading directly on the blockchain using peer-to-peer technology. This decentralized approach eliminates the risk for attacks with far-reaching consequences as users’ funds are not stored in a central location. A protocol for exchange between cryptocurrencies is proposed and a prototype based on this protocol is implemented. An evaluation is done to ensure the quality of the prototype and protocol based on three parameters - delay, cost and trading pairs. The protocol is proven to be a possible alternative to the solutions offered today. The prototype displays a proof-of-concept of a decentralized platform that implements this protocol.","abstract_has_math":false,"creators":["Andersson, Magnus","Chen Trieu, Kevin","Debesay, Petros","Persson, Jesper","Torrång, Jacob","Utbult, Simon"],"institution":null,"degree_name":null,"degree_level":"M2","degree_discipline":null,"degree_department":"Chalmers tekniska högskola / Institutionen för data- och informationsteknik (Chalmers)","school":null,"contributors":[],"advisors":[],"committee_chairs":[],"committee_members":[],"year":2018,"date_issued":"2018","date_published":"2018","updated_at":"2026-11-19T03:01:01Z","subjects":["Data- och informationsvetenskap","Computer and Information Science"],"languages":["eng"],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/20.500.12380/256117","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/20.500.12380/256117","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Achalmers%3Aoai%3Aodr.chalmers.se%3A20.500.12380%2F256117","prefix":"oai_dc"},"source_record":{"url":"https://odr.chalmers.se/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aodr.chalmers.se%3A20.500.12380%2F256117","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.department","label":"Department","values":["Chalmers tekniska högskola / Institutionen för data- och informationsteknik (Chalmers)","Chalmers University of Technology / Department of Computer Science and Engineering (Chalmers)"]},{"key":"dc:creator","label":"Author","values":["Andersson, Magnus","Chen Trieu, Kevin","Debesay, Petros","Persson, Jesper","Torrång, Jacob","Utbult, Simon"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2019-07-03T14:54:58Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2019-07-03T14:54:58Z"]},{"key":"dc:date.issued","label":"Date","values":["2018"]},{"key":"dc:publisher.program","label":"Dc Publisher Program","values":["Software Engineering (300 hp)"]},{"key":"dc:type.degree","label":"Dc Type Degree","values":["Examensarbete för kandidatexamen","Bachelor Thesis"]},{"key":"thesis:degree_level","label":"Degree Level","values":["M2"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Data- och informationsvetenskap","Computer and Information Science"]},{"key":"dc:subject.uppsok","label":"Dc Subject Uppsok","values":["Technology"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["eng"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/20.500.12380/256117"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["In recent years, cryptocurrencies have grown rapidly to a market capitalization of 400 billion US dollars. As the value of cryptocurrencies has increased, several exchanges have emerged. Some of these exchanges have been targets of attacks leading to losses of cryptocurrency worth hundreds of millions of dollars. The attacks have been made possible as a result of exchanges keeping track of the cryptocurrency in circulation on the exchange by storing their users’ funds. A successful attack puts not only the exchange, but all its users at risk. This bachelor’s thesis explores an alternative to a centralized cryptocurrency exchange by trading directly on the blockchain using peer-to-peer technology. This decentralized approach eliminates the risk for attacks with far-reaching consequences as users’ funds are not stored in a central location. A protocol for exchange between cryptocurrencies is proposed and a prototype based on this protocol is implemented. An evaluation is done to ensure the quality of the prototype and protocol based on three parameters - delay, cost and trading pairs. The protocol is proven to be a possible alternative to the solutions offered today. The prototype displays a proof-of-concept of a decentralized platform that implements this protocol."]},{"key":"dc:title","label":"Title","values":["Decentralized Cryptocurrency Exchange A Proof-of-Concept based on Hashed Timelock Contracts"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.department":["Chalmers tekniska högskola / Institutionen för data- och informationsteknik (Chalmers)","Chalmers University of Technology / Department of Computer Science and Engineering (Chalmers)"],"dc:creator":["Andersson, Magnus","Chen Trieu, Kevin","Debesay, Petros","Persson, Jesper","Torrång, Jacob","Utbult, Simon"],"dc:date.accessioned":["2019-07-03T14:54:58Z"],"dc:date.available":["2019-07-03T14:54:58Z"],"dc:date.issued":["2018"],"dc:description.abstract":["In recent years, cryptocurrencies have grown rapidly to a market capitalization of 400 billion US dollars. As the value of cryptocurrencies has increased, several exchanges have emerged. Some of these exchanges have been targets of attacks leading to losses of cryptocurrency worth hundreds of millions of dollars. The attacks have been made possible as a result of exchanges keeping track of the cryptocurrency in circulation on the exchange by storing their users’ funds. A successful attack puts not only the exchange, but all its users at risk. This bachelor’s thesis explores an alternative to a centralized cryptocurrency exchange by trading directly on the blockchain using peer-to-peer technology. This decentralized approach eliminates the risk for attacks with far-reaching consequences as users’ funds are not stored in a central location. A protocol for exchange between cryptocurrencies is proposed and a prototype based on this protocol is implemented. An evaluation is done to ensure the quality of the prototype and protocol based on three parameters - delay, cost and trading pairs. The protocol is proven to be a possible alternative to the solutions offered today. The prototype displays a proof-of-concept of a decentralized platform that implements this protocol."],"dc:identifier.uri":["https://hdl.handle.net/20.500.12380/256117"],"dc:language.iso":["eng"],"dc:publisher.program":["Software Engineering (300 hp)"],"dc:subject":["Data- och informationsvetenskap","Computer and Information Science"],"dc:subject.uppsok":["Technology"],"dc:title":["Decentralized Cryptocurrency Exchange A Proof-of-Concept based on Hashed Timelock Contracts"],"dc:type.degree":["Examensarbete för kandidatexamen","Bachelor Thesis"],"others:access_status":["open.access"],"thesis:degree_level":["M2"]},"updated_at":"2026-11-19T03:01:01Z"}