{"id":"kaspa","title":"KASPA","content":"**Kaspa** is a [Layer 1](https://iq.wiki/wiki/layer-1) [blockchain](https://iq.wiki/wiki/blockchain) that operates on a [proof-of-work](https://iq.wiki/wiki/proof-of-work-pow) system and incorporates the PHANTOM/GHOSTDAG protocol. Using a [Directed Acyclic Graph (DAG)](https://iq.wiki/wiki/directed-acyclic-graph-dag), the community-run network aims to ensure secure and efficient transactions and foster decentralization and accessibility. [\\[7\\]](#cite-id-6am6n6wlx0u)\n$$widget0 [YOUTUBE@VID](https://youtube.com/watch?v=cnej8q5SGwM)$$\n\n## Overview\n\nKaspa (KAS) is a digital currency network created by [Yonatan Sompolinsky](https://iq.wiki/wiki/yonatan-sompolonsky), one of the researchers involved in the development of [Ethereum's](https://iq.wiki/wiki/ethereum) GHOSTDAG protocol. Launched in 2021, Kaspa aims to address scalability challenges faced by traditional [blockchains](https://iq.wiki/wiki/blockchain) while prioritizing security, efficiency, and user experience. The project was founded by DAGLabs with support from [PolyChain's](https://iq.wiki/wiki/polychain-capital) investment driven by its community, embracing open-source principles and decentralized governance. [\\[5\\]](#cite-id-hunjjvtxqsh)[\\[8\\]](#cite-id-ww912bp2xpp)\n\n> First and foremost I wanted to thank you all for joining and forming this community, for the interest, excitement, and involvement around the project. Seeing my PhD obsession — POW DAG consensus — realize itself into a live network and a spontaneous community is thrilling yet humbling. Thank you, Todah! - Yonatan Sompolinsky\n\nThe protocol aims to provide high speed and scalability, employing a [proof-of-work](https://iq.wiki/wiki/proof-of-work-pow) consensus mechanism. It is built upon the GHOSTDAG/PHANTOM protocol, an advanced and scalable version of the consensus utilized by [Bitcoin](https://iq.wiki/wiki/bitcoin). This design allows Kaspa to attain a level of security equivalent to Bitcoin's, without the need for additional assumptions. [\\[3\\]](#cite-id-bv47s9c4ilw)[\\[4\\]](#cite-id-b3gzrjnkq99)\n\nDiverging from traditional [blockchains](https://iq.wiki/wiki/blockchain) that discard parallel blocks, the PHANTOM protocol enables these blocks to coexist by arranging them through consensus. In essence, Kaspa aims to simplify the [Bitcoin](https://iq.wiki/wiki/bitcoin) consensus by adopting a straightforward approach. The project emphasizes decentralization and operates as an open-source initiative, driven by a community-based effort. [\\[7\\]](#cite-id-6am6n6wlx0u)\n\n$$widget0 [YOUTUBE@VID](ZZwYP9VuiBI)$$\n\n### Approach and Challenges\n\nKaspa tackles a significant challenge posed by an inherent flaw in the [Bitcoin](https://iq.wiki/wiki/bitcoin) consensus. This flaw allows an attacker to execute a 51% attack with less than 51% computational power by generating slightly fewer blocks than the honest network. Adjusting block rate or size to enhance network throughput increases the isolation rate and compromises security. [\\[9\\]](#cite-id-8l77th9ieke)[\\[10\\]](#cite-id-vs1xpep3qml)[\\[12\\]](#cite-id-ne716zfkt)\n\nUnlike many other cryptocurrencies that utilize a single chain, Kaspa employs a [Directed Acyclic Graph](https://iq.wiki/wiki/directed-acyclic-graph-dag) (DAG) where blocks can point to multiple other blocks. Double spending is prevented through the ordering of blocks, with the DAG forming a chain that includes transactions consistent with previous ones. This ordering mechanism is the foundation of GHOSTDAG. [\\[10\\]](#cite-id-vs1xpep3qml)[\\[12\\]](#cite-id-ne716zfkt)\n\n$$widget0 [YOUTUBE@VID](8jOacOeGNSE)$$\n\n## Infrastructure\n\n### BlockDAG\n\nKaspa employs a block-directed Acyclic Graph (blockDAG) as its foundational data structure, departing from the traditional linear arrangement of conventional [blockchains](https://iq.wiki/wiki/blockchain). This approach enables transactions and blocks to be represented as interconnected [nodes](https://iq.wiki/wiki/node) within the blockDAG, interconnected by directed edges. One notable advantage of this architecture is the ability to achieve parallel processing and concurrent confirmation of transactions, resulting in improved transactional throughput and scalability. Unlike traditional blockchains that require fixed intervals for block additions, Kaspa's blockDAG allows for swift confirmation of transactions once they receive sufficient approvals or references from other blocks.\n\n![KASPA DAG STRUCTURE 2.jpg](https://ipfs.everipedia.org/ipfs/QmRAU5WCN7BwKEdjfe6nf9pZmCSFYf9eykWJZGpzKXRmDv)\n\nGhostDAG is the consensus mechanism employed by Kaspa, building upon the PHANTOM consensus approach. While PHANTOM is not practical due to its NP-hard problem-solving requirements, GhostDAG utilizes the underlying principles of PHANTOM to develop a more efficient and secure algorithm. Extensive formal proofs demonstrate that GhostDAG's block ordering becomes exponentially difficult to reverse over time, even with a high block creation rate, assuming the majority of computational power is held by honest nodes. [\\[13\\]](#cite-id-c34deoa02zo)\n\nSimilar to PHANTOM, GhostDAG selects a k-cluster, coloring blocks as Blues (within the selected cluster) and Reds (outside the cluster). However, instead of seeking the largest k-cluster, GhostDAG employs a greedy algorithm to identify a k-cluster. This algorithm constructs the Blue set of the blockDAG by inheriting the Blue set of the best tip, Bmax, and adding blocks outside Bmax's past while maintaining the k-cluster property. [\\[13\\]](#cite-id-c34deoa02zo)\n\n![image](https://ipfs.everipedia.org/ipfs/QmZ1DhJXFq5ttL3EWTSR8jdpEh6YffPvkCWXyqqLUPibMB)\n\n### Open-source Framework\n\nKaspa implements an open-source framework with the aim of fostering transparency, collaboration, and community-driven development. By adopting an open-source approach, Kaspa strives to ensure the integrity and security of the system through public scrutiny of its source code. The goal is to promote trust and confidence among stakeholders by allowing them to access and examine the underlying technology.[\\[11\\]](#cite-id-63vszpwa7ix)[\\[12\\]](#cite-id-ne716zfkt)\n\nFurthermore, Kaspa seeks to leverage the power of collaboration and knowledge sharing within its open-source community. By encouraging developers from around the world to contribute to the project, Kaspa aims to foster innovation and drive the evolution of decentralized technologies. The open nature of the platform enables developers to explore and experiment with the codebase, facilitating the creation of diverse [decentralized applications (DApps)](https://iq.wiki/wiki/decentralized-application) and solutions.[\\[11\\]](#cite-id-63vszpwa7ix)[\\[12\\]](#cite-id-ne716zfkt)\n\n## Tokens\n\n### KAS\n\nThe KAS token serves as the native [cryptocurrency](https://iq.wiki/wiki/cryptocurrency) of the Kaspa network, playing a role as the primary medium of exchange. KAS tokens are used for transactions and payments within the network, as well as serving as incentives for miners and [validators](https://iq.wiki/wiki/validator) who contribute their computational power to secure the [blockchain](https://iq.wiki/wiki/blockchain) through [Proof-of-Work (PoW)](https://iq.wiki/wiki/proof-of-work-pow). Moreover, KAS tokens are involved in network governance, enabling token holders to participate in decision-making processes and vote on protocol upgrades and changes. [\\[14\\]](#cite-id-pxmf11my9js)\n\n### wKAS\n\nThe wrapped KAS token, also known as wKAS, is an [Ethereum](https://iq.wiki/wiki/ethereum)-based representation of the KAS token. It was created to enable seamless interoperability between the Kaspa and Ethereum networks. wKAS tokens are pegged 1:1 to KAS tokens, meaning that each wKAS token represents an equivalent amount of KAS tokens on the Kaspa network. Through wKAS, Kaspa users gain access to various [Dapps](https://iq.wiki/wiki/decentralized-application) and services available on Ethereum while maintaining the ability to redeem their KAS tokens on the Kaspa [blockchain](https://iq.wiki/wiki/blockchain). [\\[15\\]](#cite-id-9vwpd5sw2y)\n\n## History\n\n### Kaspa Crash\n\nShortly after its launch, on November 24, 2021, the Kaspa network experienced a crash that caused disruptions and raised concerns within the community. The incident lasted for 48 hours and prompted discussions and adjustments to improve the project's development and resilience. [\\[6\\]](#cite-id-o7n9oaiz14)\n\nDuring this time, the project's team made modifications such as replacing the random block reward with a deterministic block reward of 500 Kaspa to enhance operational stability. The community also engaged in discussions regarding an upcoming rebase, ensuring ownership percentages remained unchanged. [\\[6\\]](#cite-id-o7n9oaiz14)\n\nThe crash led to discussions on implementing a deflationary monetary policy [hard fork](https://iq.wiki/wiki/hard-fork), with details expected to be specified once syncing and mining activities resumed. Throughout the incident, the Kaspa community demonstrated solidarity and seriousness in addressing the situation, maintaining a positive atmosphere, and supporting one another. [\\[6\\]](#cite-id-o7n9oaiz14)\n\n### The RUST update\n\nIn May 2023, Kaspa implemented a significant update by migrating its codebase from Golang to Rust, a modern and efficient programming language. This transition brings improved reliability, enhanced security, and increased performance to the Kaspa decentralized ledger system. The use of Rust's memory safety mechanisms reduces potential bugs and vulnerabilities, while its concurrency capabilities optimize resource utilization for improved transactional throughput and scalability. The Rust update establishes a streamlined and optimized codebase, facilitating easier maintenance and future development, positioning Kaspa for continued growth and innovation in the decentralized ledger landscape. [\\[2\\]](#cite-id-22qd0k1fjzi)\n\n![KASPA RUST.png](https://ipfs.everipedia.org/ipfs/QmYubCvPdYyEB9tJvcLGymBSTmKibAk2brgUBd1Pujz216)","summary":"Kaspa is a community-run, layer 1 blockchain, utilizing a proof-of-work system and PHANTOM/GHOSTDAG protocol, aiming for security, scalability, and efficient, d...","images":[{"id":"Qmb46Vbk3w5j4Pb4mopPQpTKeDY7vJaby3zngLrhvni4Pu","type":"image/jpeg, image/png"}],"categories":[{"id":"defi","title":"Decentralized Finance"}],"tags":[{"id":"Protocols"},{"id":"Blockchains"},{"id":"Organizations"}],"media":[{"id":"QmTV2u4ZGd4aDG97muHJGnebLFWivzaN418S1VFWtmkhQX","size":"0.01","name":"kaspa LOGO 3.png","type":null,"source":"IPFS_IMG"},{"id":"QmYubCvPdYyEB9tJvcLGymBSTmKibAk2brgUBd1Pujz216","size":"0.79","name":"KASPA RUST.png","type":null,"source":"IPFS_IMG"},{"id":"QmRAU5WCN7BwKEdjfe6nf9pZmCSFYf9eykWJZGpzKXRmDv","size":"0.04","name":"KASPA DAG STRUCTURE 2.jpg","type":null,"source":"IPFS_IMG"},{"id":"QmcQrd8SQ39EReS5nCjrwhhgYaJnzTkhDwE8dAHx4ioEGr","size":"0.01","name":"open source logo.png","type":null,"source":"IPFS_IMG"},{"id":"https://www.youtube.com/watch?v=ZZwYP9VuiBI","size":"0","name":"ZZwYP9VuiBI","type":null,"source":"YOUTUBE"},{"id":"https://www.youtube.com/watch?v=8jOacOeGNSE","size":"0","name":"8jOacOeGNSE","type":null,"source":"YOUTUBE"},{"id":"QmZ1DhJXFq5ttL3EWTSR8jdpEh6YffPvkCWXyqqLUPibMB","size":"0.30","name":"image","type":null,"source":"IPFS_IMG"},{"id":"QmatNkWLMzaBCa5cU5uCC1yxKx1oFR3cQPcfcbv3AoV7Ck","name":"Cópia de Design sem nome (2).png","caption":"","thumbnail":"QmatNkWLMzaBCa5cU5uCC1yxKx1oFR3cQPcfcbv3AoV7Ck","source":"IPFS_IMG"},{"id":"QmQ5y7WajjGtxU4MVwqLFQuHeVPXWLgR2Skry2PcDK9GRQ","name":"1ee19aec-bd37-6420-b2b8-c2ccb5a1af5e.png","caption":"","thumbnail":"QmQ5y7WajjGtxU4MVwqLFQuHeVPXWLgR2Skry2PcDK9GRQ","source":"IPFS_IMG"},{"id":"QmbxAkjzQfZw34P2USCPY4wiF7VaziF1JYEv4P7RXhKk4G","name":"KAS-Feature-Image.png","caption":"","thumbnail":"QmbxAkjzQfZw34P2USCPY4wiF7VaziF1JYEv4P7RXhKk4G","source":"IPFS_IMG"},{"id":"https://www.youtube.com/watch?v=cnej8q5SGwM","name":"cnej8q5SGwM","caption":"","thumbnail":"https://www.youtube.com/watch?v=cnej8q5SGwM","source":"YOUTUBE"}],"metadata":[{"id":"references","value":"[{\"id\":\"1g2crokzm4c\",\"url\":\"https://youtu.be/wtLpfAKFHzs\",\"description\":\"KASPA AMA session\",\"timestamp\":1684368542229},{\"id\":\"22qd0k1fjzi\",\"url\":\"https://medium.com/kaspa-currency/kaspa-on-rust-update-60c46c7c5dae\",\"description\":\"on Kaspa rust upgrade\",\"timestamp\":1684368580644},{\"id\":\"bv47s9c4ilw\",\"url\":\"https://tangem.com/en/blog/post/what-is-kaspa/\",\"description\":\"blog post on kaspa\",\"timestamp\":1684368652343},{\"id\":\"b3gzrjnkq99\",\"url\":\"https://ancapalex.medium.com/an-introduction-to-the-blockdag-paradigm-50027f44facb\",\"description\":\"blockdag\",\"timestamp\":1684368718408},{\"id\":\"hunjjvtxqsh\",\"url\":\"https://hashdag.medium.com/kaspa-launch-plan-responding-to-reality-6b4bec449037\",\"description\":\"kaspa launch\",\"timestamp\":1684368766989},{\"id\":\"o7n9oaiz14\",\"url\":\"https://hashdag.medium.com/kaspa-black-tuesday-8c7f4fa35834\",\"description\":\"an article on Kaspas' crash\",\"timestamp\":1684368822718},{\"id\":\"6am6n6wlx0u\",\"url\":\"https://kaspa.org/\",\"description\":\"Kaspa website\",\"timestamp\":1688563663610},{\"id\":\"ww912bp2xpp\",\"url\":\"https://hashdag.medium.com/kaspa-launch-plan-responding-to-reality-6b4bec449037\",\"description\":\"Yonatan Medium post\",\"timestamp\":1688735342285},{\"id\":\"8l77th9ieke\",\"url\":\"https://www.investopedia.com/terms/1/51-attack.asp\",\"description\":\"Investopedia on 51% attack\",\"timestamp\":1688735531504},{\"id\":\"vs1xpep3qml\",\"url\":\"https://learn.bybit.com/altcoins/what-is-kaspa-kas-coin/\",\"description\":\"Bybit on Kaspa\\n\",\"timestamp\":1688735635458},{\"id\":\"63vszpwa7ix\",\"url\":\"https://hackernoon.com/the-power-of-kaspa-blockdags-go-beyond-the-blockchain\",\"description\":\"Hackernoon on Kaspa's technology\",\"timestamp\":1688736859794},{\"id\":\"ne716zfkt\",\"url\":\"https://medium.com/@shai.wyborski/kaspa-what-are-we-actually-doing-here-fd7b2e420ad1\",\"description\":\"Medium post on what Kaspa is aiming to achieve\",\"timestamp\":1688736924124},{\"id\":\"c34deoa02zo\",\"url\":\"https://kaspa.org/features/\",\"description\":\"GhostDAG\",\"timestamp\":1688739089311},{\"id\":\"pxmf11my9js\",\"url\":\"https://wiki.kaspa.org/en/faq\",\"description\":\"FAQ\",\"timestamp\":1690873877923},{\"id\":\"9vwpd5sw2y\",\"url\":\"https://medium.com/kaspa-currency/wrapped-kaspa-a-bridge-from-kaspa-to-ethereum-bea45965d57a\",\"description\":\"Medium on wKAS\",\"timestamp\":1690874052618}]"},{"id":"facebook_profile","value":"https://www.facebook.com/KaspaCurrency"},{"id":"instagram_profile","value":"https://www.instagram.com/kaspa_currency/"},{"id":"twitter_profile","value":"https://twitter.com/KaspaCurrency"},{"id":"linkedin_profile","value":"https://www.linkedin.com/company/kaspa-currency/"},{"id":"youtube_profile","value":"https://www.youtube.com/channel/UCsnbLKm_lpCUj63_HPW17og"},{"id":"discord_profile","value":"https://discord.gg/kS3SK5F36R"},{"id":"reddit_profile","value":"https://www.reddit.com/r/Kaspa/"},{"id":"telegram_profile","value":"https://t.me/Kaspaenglish"},{"id":"github_profile","value":"https://github.com/kaspanet"},{"id":"medium_profile","value":"https://medium.com/kaspa-currency"},{"id":"coinmarketcap_url","value":"https://coinmarketcap.com/currencies/kaspa/"},{"id":"coingecko_profile","value":"https://www.coingecko.com/en/coins/kaspa"},{"id":"previous_cid","value":"\"https://ipfs.everipedia.org/ipfs/QmTYFqZWJroJWVHHGEXKjJ5Vrd811Pdq4CQAoP6KSCjTZ6\""},{"id":"commit-message","value":"\"Republishing wiki\""},{"id":"previous_cid","value":"QmTYFqZWJroJWVHHGEXKjJ5Vrd811Pdq4CQAoP6KSCjTZ6"}],"events":[{"id":"qpp1RCxPjC","date":"2021-11","title":"Kaspa Launch","type":"CREATED","description":"Kaspa was openly launched in November 2021 with no private allocations, pre-sales or pre-mine.","link":"https://kaspa.network/#:~:text=Research%20%26%20development%20for%20Kaspa's%20pioneering,%2Dsales%20or%20pre%2Dmine."}],"user":{"id":"0x8af7a19a26d8fbc48defb35aefb15ec8c407f889"},"author":{"id":"0xE118eF1959bcbf7C2083f61E30124be3e01e1975"},"language":"en","version":1,"linkedWikis":{"blockchains":["kaspa"],"founders":["yonatan-sompolonsky"],"speakers":[]}}