{"id":"railgun","version":1,"language":"en","title":"Railgun","hidden":false,"content":"**Railgun** is a[ smart contract](https://iq.wiki/wiki/smart-contract) system that brings Zero-Knowledge Privacy to on-chain [decentralized applications (dApps)](https://iq.wiki/wiki/decentralized-application) within the [Ethereum](https://iq.wiki/wiki/ethereum), [BSC](https://iq.wiki/wiki/binance-smart-chain), [Polygon](https://iq.wiki/wiki/polygon), and [Arbitrum ](https://iq.wiki/wiki/arbitrum)ecosystems. [\\[1\\]](#cite-id-ko5nmp88y9a)[\\[2\\]](#cite-id-wsa0eaclky8)  \n$$widget0 [YOUTUBE@VID](4AOgJi1IeT8)$$  \n  \n# Overview  \n  \nRailgun is an interoperable [ZK](https://iq.wiki/wiki/zero-knowledge-proofs-zkps) privacy framework and [DeFi ](https://iq.wiki/wiki/defi)toolkit for transacting and using DeFi on public [blockchains ](https://iq.wiki/wiki/blockchain)privately empowering a rich on-chain Zero-Knowledge privacy ecosystem. Railgun is compatible with existing EVM [dApps](https://iq.wiki/wiki/decentralized-application), chains, and liquidity and live on [Ethereum](https://iq.wiki/wiki/ethereum), [BSC](https://iq.wiki/wiki/binance-smart-chain), [Polygon](https://iq.wiki/wiki/polygon), and [Arbitrum](https://iq.wiki/wiki/arbitrum)[\\[2\\]](#cite-id-wsa0eaclky8).  \n  \nRailgun was founded in January 2021. It aims to secure [DeFi](https://iq.wiki/wiki/defi) trading and lending activities on the [Ethereum](https://iq.wiki/wiki/ethereum) network. The smart contract-based system offers privacy without the need for any token bridges or [layer-2](https://iq.wiki/wiki/layer-2) scaling solutions to perform any transaction or [smart contract](https://iq.wiki/wiki/smart-contract) interaction.[\\[8\\]](#cite-id-xsjofryvpp)  \n  \n## Privacy System  \n  \nIn [blockchain](https://iq.wiki/wiki/blockchain) transactions and transfers that are publicly visible, there are typically four key elements: sender, receiver, the name of the asset being sent, and the quantity of the asset. To achieve privacy, it is necessary to anonymize these four pieces of information. Railgun accomplishes this by using private balances to protect transaction information within the system. These private balances consist of anonymous funds and users, which remain anonymous to outside observers.[\\[10\\]](#cite-id-g3oricacjsw)  \n![8bab38fd841bd247bbcd7ffefd135c80ca0de10f.png](https://ipfs.everipedia.org/ipfs/Qmd6cMKRm9GcHmDUyvBujjaAGKiy56yS3uZwBX3mHR9EWm)  \n  \n## Tech  \n  \nRailgun leverages [zk-SNARKs](https://iq.wiki/wiki/zk-snark) technology to encrypt wallet balances, transaction history, and other details to ensure that users can use a public [blockchain](https://iq.wiki/wiki/blockchain) like [Ethereum](https://iq.wiki/wiki/ethereum) with all its benefits while remaining completely private or hidden. With zk-SNARKs, the user can prove to the blockchain that they have the right to spend the tokens in their wallet privately. [\\[1\\]](#cite-id-ko5nmp88y9a)  \n  \n![Railgun how it works.png](https://ipfs.everipedia.org/ipfs/QmaUbM6PPdiMw1G7p8aMbn26uhzGyNxPErkKDSvr9xZdHQ)  \nRailgun takes advantage of a new kind of [zero-knowledge proof](https://iq.wiki/wiki/zero-knowledge-proofs-zkps) wallet technology called 0zk address, which secures your wallet information in such a way that it can only be spent and viewed with your private key. [\\[1\\]](#cite-id-ko5nmp88y9a)  \n  \nRailgun can be used by sending any [ERC-20](https://iq.wiki/wiki/erc-20) standard token to your private balance and then moving these tokens out to any [DeFi](https://iq.wiki/wiki/defi) platform for swaps, yields, or trade. User's privacy is underpinned by Railgun’s[ zk-SNARK](https://iq.wiki/wiki/zk-snark) technology, giving user's complete control over the privacy of his/her funds. [\\[8\\]](#cite-id-xsjofryvpp)  \n  \n## Components  \n  \n### Railgun Integrated Wallets  \n  \nThe Railgun [smart contracts](https://iq.wiki/wiki/smart-contract) can be integrated into any new or existing Ethereum/EVM wallet quickly and easily with the Railgun Wallet SDK. An integration featuring 0zk addresses, shielding, and private [DeFi](https://iq.wiki/wiki/defi) requires minimal development overhead.  \n$$widget0 [YOUTUBE@VID](E64vlLsUxKg)$$  \nFollowing are some of the frontend wallets and EVM wallets built by separate independent community developers through which users can also use the Railgun protocol.  \n  \n* **Railway Wallet:** Railgun integrated wallet available on web, desktop, iOS, and Android. Features include an easy-to-use UI and mobile versions as well as a full suite of private DeFi apps including swaps and yield.[\\[4\\]](#cite-id-0tfkomc6l1h)  \n* **Terminal Wallet:** An open-source command line interface (CLI) wallet with primarily keyboard-based controls. Available on Linux, Windows, and macOS with Railgun-powered privacy features like shielding, private swaps, and private transfers.[\\[5\\]](#cite-id-63bu1zkset2)  \n* **TokenShielder:** Frontend for shielding assets from any [Ethereum](https://iq.wiki/wiki/ethereum)/EVM wallet. Simply connect the user's browser wallet like [MetaMask](https://iq.wiki/wiki/metamask), enter any 0zk address, and shield away. Useful for receiving payments directly to the user's Railgun private balance from the wide world of Ethereum/EVM.[\\[6\\]](#cite-id-6vrvnp4t0bg)  \n  \n### Developer Tools  \n  \nTypeScript SDKs for building Railgun privacy into existing/new wallets or a privacy-enabled [dApp](https://iq.wiki/wiki/decentralized-application).  \nUsers create a non-custodial Railgun Wallet with a private zero-knowledge address(0zk). Any [ERC-20](https://iq.wiki/wiki/erc-20) token or [NFT](https://iq.wiki/wiki/non-fungible-token-nft) can be shielded into a 0zk address of the user's choice. Once shielded, tokens, balances, and transactions are encrypted. Users can transfer assets between 0zk addresses and engage in DeFi activities amorously.[\\[7\\]](#cite-id-8mbta78mnud)  \n  \n# Vitalik Buterin on Railgun  \n  \nButerin has underscored the critical role of privacy in [cryptocurrency](https://iq.wiki/wiki/cryptocurrency) transactions, particularly following revelations that he has utilized the privacy-focused tool RailGun to conceal his transaction details. Vitalik has actively engaged with RailGun, evidenced by a 100 ETH transfer, and his endorsement and active use of RailGun led to a significant increase in RAIL's value.  \n  \n[Vitalik Buterin](https://iq.wiki/wiki/vitalik-buterin) expressed his support for the project’s use of the [Privacy Pools](https://iq.wiki/wiki/privacy-pools) protocol in one of his tweets:  \n  \n> Privacy is normal. Railgun uses the privacy pools protocol which makes it much harder for bad actors to join the pool without compromising users' privacy.[\\[3\\]](#cite-id-no68butj7js)[\\[9\\]](#cite-id-3qaahxzj18z)  \n  \nButerin’s endorsement came at a time when privacy tools were under increased scrutiny from regulators globally. In April 2024, the US Treasury Deputy Secretary highlighted malign actors’ potential misuse of privacy-enhancing technologies. In response, major exchanges like [Binance](https://iq.wiki/wiki/binance) and [OKX](https://iq.wiki/wiki/okx) have begun delisting such assets, aligning with tighter regulatory frameworks.[\\[9\\]](#cite-id-3qaahxzj18z)  \n  \n# Issues and Controversies  \n  \n## Railgun Defends From Crypto Laundering Allegations  \n  \nOn April 16, 2024, the crypto news platform [Wu Blockchain](https://iq.wiki/wiki/colin-wu-wu-blockchain) highlighted the alleged links between the privacy protocol and the North Korean hacker group Lazarus Group. The post affirmed that Lazarus Group “is also a user of the coin mixer Railgun”. Moreover, the news platform pointed out that in January 2023, the US FBI claimed over $60 million worth of stolen ETH was laundered through Railgun. Additionally, the post stated that the privacy protocol became the “main alternative” after the [Tornado Cash](https://iq.wiki/wiki/tornado-cash) sanctions. Railgun shut down Wu Blockchain’s claims, deeming them “not true and false reporting.”  \n  \nThe post stated the news was “a mistaken, false allegation in the first place”. However, they clarified that the Lazarus Group is blocked from using the protocol’s system due to the “Private Proofs of Innocence” (Private POI). The Private POI tool was implemented a year ago and gives “cryptographic assurance that funds entering the Railgun [smart contract](https://iq.wiki/wiki/smart-contract) are not from a known list of transactions or actors considered undesirable by respective wallet providers.”[\\[3\\]](#cite-id-no68butj7js)","summary":"Railgun is a smart contract system providing Zero-Knowledge Privacy to decentralized applications on Ethereum, BSC, Polygon and Arbitrum, aimed at securing DeFi activities.","categories":[{"id":"dapps","title":"Dapps"}],"promoted":0,"tags":[{"id":"DEXes"},{"id":"Blockchains"},{"id":"Organizations"}],"metadata":[{"id":"references","value":"[{\"id\":\"ko5nmp88y9a\",\"url\":\"https://www.railgun.org/\",\"description\":\"Railgun.org\",\"timestamp\":1713661036947},{\"id\":\"wsa0eaclky8\",\"url\":\"https://docs.railgun.org/wiki\",\"description\":\"Docs.Railgun.org - What is RAILGUN?\",\"timestamp\":1713661117077},{\"id\":\"no68butj7js\",\"url\":\"https://coinmarketcap.com/community/articles/6622c03bcc54800f0976f8c2/\",\"description\":\"Coinmarketcap - Railgun Among Crypto Market Top Gainers: Why Is RAIL 53% Up?\",\"timestamp\":1713662620255},{\"id\":\"0tfkomc6l1h\",\"url\":\"https://www.railway.xyz/\",\"description\":\"Railway.xyz - Railway Private DeFi Wallet\",\"timestamp\":1713665129398},{\"id\":\"63bu1zkset2\",\"url\":\"https://terminal-wallet.com/\",\"description\":\"Terminal Wallet\",\"timestamp\":1713665352398},{\"id\":\"6vrvnp4t0bg\",\"url\":\"https://tokenshielder.com/\",\"description\":\"Tokenshielder\",\"timestamp\":1713665536171},{\"id\":\"8mbta78mnud\",\"url\":\"https://docs.railgun.org/developer-guide\",\"description\":\"Railgun - Wallet overview\",\"timestamp\":1713666530989},{\"id\":\"xsjofryvpp\",\"url\":\"https://www.biztechafrica.com/article/railgun-rail/64681/#:~:text=How%20Does%20Railgun%20Work%3F,remaining%20completely%20private%20or%20hidden.\",\"description\":\"Biztech international - Railgun (RAIL) Price Prediction 2024-2030, Where To Buy, Is It A Good Cryptocurrency Investment?\",\"timestamp\":1713666854594},{\"id\":\"3qaahxzj18z\",\"url\":\"https://beincrypto.com/vitalik-buterin-privacy-centric-defi-railgun/\",\"description\":\"Beinceypto - Vitalik Buterin Endorses Privacy-Centric DeFi Protocol RailGun\",\"timestamp\":1715392980416},{\"id\":\"g3oricacjsw\",\"url\":\"https://www.gate.io/learn/articles/why-has-the-privacy-protocol-railgun-gained-favor-with-vitalik/2764\",\"description\":\"Gate.IO - Why Has the Privacy Protocol Railgun Gained Favor with Vitalik?\",\"timestamp\":1715394392227}]"},{"id":"website","value":"https://www.railgun.org/"},{"id":"contract_url","value":"https://etherscan.io/token/0xe76C6c83af64e4C60245D8C7dE953DF673a7A33D"},{"id":"twitter_profile","value":"https://twitter.com/RAILGUN_Project?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor"},{"id":"linkedin_profile","value":"https://www.linkedin.com/company/railgun-project/"},{"id":"telegram_profile","value":"https://t.me/s/railgunproject?before=389"},{"id":"github_profile","value":"https://github.com/Railgun-Privacy"},{"id":"coinmarketcap_url","value":"https://coinmarketcap.com/currencies/railgun/"},{"id":"coingecko_profile","value":"https://www.coingecko.com/en/coins/railgun"},{"id":"medium_profile","value":"https://medium.com/@Railgun_Project"},{"id":"etherscan_profile","value":"https://etherscan.io/token/0xe76C6c83af64e4C60245D8C7dE953DF673a7A33D"},{"id":"previous_cid","value":"QmPcCbMcZXfqqsoZkwrsJB3Bd2C1tXVDLL31i3BDbCePU1"}],"user":{"id":"0x6753061a4cffbc0A617e57E956A298D88702a94B"},"author":{"id":"0xF8bD29570D276c593125205A714D2623B311D2ce","profile":{"username":"Jaewon","avatar":""}},"media":[{"name":"4AOgJi1IeT8","id":"https://www.youtube.com/watch?v=4AOgJi1IeT8","size":"0","type":null,"source":"YOUTUBE"},{"name":"E64vlLsUxKg","id":"https://www.youtube.com/watch?v=E64vlLsUxKg","size":"0","type":null,"source":"YOUTUBE"},{"name":"railway.png","id":"QmY4hdd6Bc8SfCWAPSBKrgjT7JaXKwSrqEEXD6EK7S2DJz","size":"0.01","type":"GALLERY","source":"IPFS_IMG"},{"name":"Railgun how it works.png","id":"QmaUbM6PPdiMw1G7p8aMbn26uhzGyNxPErkKDSvr9xZdHQ","size":"0.10","type":"GALLERY","source":"IPFS_IMG"},{"name":"8bab38fd841bd247bbcd7ffefd135c80ca0de10f.png","id":"Qmd6cMKRm9GcHmDUyvBujjaAGKiy56yS3uZwBX3mHR9EWm","size":"0.39","type":"GALLERY","source":"IPFS_IMG"}],"views":62,"events":[],"linkedWikis":{"founders":[],"blockchains":[]},"ipfs":"QmPcCbMcZXfqqsoZkwrsJB3Bd2C1tXVDLL31i3BDbCePU1","transactionHash":"0xe31ccf381c255799b1e04196cab59f11f9bc837266f43a5580be872015105f1c","created":"2024-04-21T02:24:44.841Z","updated":"2024-05-11T02:29:44.643Z","images":[{"id":"QmbSZ2nzEXyeRKepf3P61TxYaK5okRU6zR21P1kotymdYe","type":"image/jpeg, image/png"}]}