<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ruitao Su on Medium]]></title>
        <description><![CDATA[Stories by Ruitao Su on Medium]]></description>
        <link>https://medium.com/@ruitaosu?source=rss-16c79136e2c8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*rrLCU3SvlCpV3O8ADDMSNA.jpeg</url>
            <title>Stories by Ruitao Su on Medium</title>
            <link>https://medium.com/@ruitaosu?source=rss-16c79136e2c8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 19:32:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ruitaosu/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Acala Raises Additional Series A for Polkadot DeFi Hub Ahead of Upcoming Parachain Launch]]></title>
            <link>https://medium.com/acalanetwork/acala-raises-additional-series-a-for-polkadot-defi-hub-ahead-of-upcoming-parachain-launch-22fdee9c2be9?source=rss-16c79136e2c8------2</link>
            <guid isPermaLink="false">https://medium.com/p/22fdee9c2be9</guid>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[acala]]></category>
            <category><![CDATA[polkadot]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[defi]]></category>
            <dc:creator><![CDATA[Ruitao Su]]></dc:creator>
            <pubDate>Thu, 27 Aug 2020 15:01:01 GMT</pubDate>
            <atom:updated>2020-08-27T15:01:01.008Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uA0ZCvV875YUCWsrK2dAvA.jpeg" /></figure><p>Just under a year ago, Acala was founded to build a DeFi infrastructure for Polkadot’s multi-chain ecosystem. Acala has delivered a suite of financial primitives — a decentralized stablecoin, a staking derivative, and a decentralized exchange — poised to be the DeFi hub of Polkadot to power a new wave of financial innovation.</p><p>Now Acala is one of the most prominent and active platforms in Polkadot ecosystem, with approximately 14,500 new accounts, 142,000 meaningful transactions, and $52 million locked total value during a 3-week testnet campaign, and 30 ecosystem collaborators integrating and building with Acala. While this indicates product-market fit and community engagement, we’re more thrilled with what comes next after launching Acala mainnet on Kusama and Polkadot.</p><p>Today we are delighted to announce a new round of backers led by Pantera, with 1confirmation, Arrington XRP Capital, ParaFi Capital, CoinFund, DCG, Spartan Group, Zee Prime Capital and Divergence Ventures, new strategic partners Altonomy and CMS Holdings, and with Hypersphere, Polychain, KR1 and SNZ reinforcing their previous support.</p><p><em>“Pantera is really excited to be backing Acala and to support them through their next chapter of development and growth. We have been early and large investors in Polkadot and are confident that Acala will become the DeFi hub for the entire ecosystem. The company will bring financial stability, liquidity, and accessibility, enabling a mainstream audience for financial freedom.” — Paul Veradittakit, Partner at Pantera Capital</em></p><p><em>“At ParaFi, we envision a constellation of DeFi ecosystems spanning multiple chains and believe that would be a win-win for the broader crypto industry. Acala is our first DeFi investment in Polkadot, and one of our first outside Ethereum. We are encouraged by the pace of development and innovation by Acala and are excited to join the team in their journey to become the primary DeFi hub of the Polkadot ecosystem.” — Santiago Roel Santos, Partner at ParaFi Capital</em></p><p><em>“Acala’s team executes at a breakneck pace, innovating on the learnings of decentralized finance. Acala is built from the ground up for open finance, making core building blocks like exchange, derivatives and stable coins first-class citizens in their layer one blockchain. Hypersphere couldn’t be happier to follow-on in Acala’s Series A and continue to support the team as ACA prepares for their first initial parachain offering.” — Jack Platts, Partner, Hypersphere Ventures</em></p><p>This round of backers and strategic partners will help Acala’s next chapter of development and growth: launching the Acala parachain as a DeFi hub on Kusama and Polkadot, solidifying adoption of the core protocols, and empowering more DeFi Dapps to deploy on Acala. Together we can deliver financial stability, liquidity, and accessibility to more people around the world.</p><p>Acala will soon be launching a parachain campaign on Kusama and Polkadot! <a href="https://share.hsforms.com/1X9RxkXk-R62I0VNbATaDXw4h8qc"><strong>Subscribe here</strong></a><strong> to receive updates on Acala’s parachain launch.</strong></p><h3>About Acala</h3><p><a href="http://acala.network/">Acala</a> is a first-of-its-kind decentralized finance platform with a vision to bring financial stability, liquidity and accessibility to the mainstream. The Acala Network is a cross-chain finance hub for the Polkadot ecosystem and beyond. It offers a suite of financial primitives: a multi-collateralized stablecoin backed by cross-chain assets like Bitcoin, a trustless staking derivative and a decentralized exchange to unleash liquidity and power financial innovations. It is the go-to open platform for finance-oriented dApps to deploy to using smart contracts or built-in protocols with out-of-box cross-chain capabilities, security and financial optimizations.</p><p><strong>Join Us</strong></p><p><a href="https://twitter.com/AcalaNetwork">Twitter</a><strong> </strong>| <a href="https://t.me/acalaofficial">Telegram</a> | <a href="https://acala.network/">Website</a> | <a href="https://medium.com/acalanetwork">Medium</a> | <a href="https://github.com/AcalaNetwork/Acala">GitHub</a> | <a href="https://github.com/AcalaNetwork/Acala/wiki">Acala Wiki</a> | <a href="https://discord.gg/vdbFVCH">Discord</a> | <a href="https://riot.im/app/#/room/#acala:matrix.org">Riot Chat</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=22fdee9c2be9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/acalanetwork/acala-raises-additional-series-a-for-polkadot-defi-hub-ahead-of-upcoming-parachain-launch-22fdee9c2be9">Acala Raises Additional Series A for Polkadot DeFi Hub Ahead of Upcoming Parachain Launch</a> was originally published in <a href="https://medium.com/acalanetwork">Acala</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bringing BTC to Polkadot: Acala x Ren]]></title>
            <link>https://medium.com/acalanetwork/bringing-btc-to-polkadot-acala-x-ren-e7959855d5aa?source=rss-16c79136e2c8------2</link>
            <guid isPermaLink="false">https://medium.com/p/e7959855d5aa</guid>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[polkadot]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <dc:creator><![CDATA[Ruitao Su]]></dc:creator>
            <pubDate>Wed, 22 Jul 2020 13:40:25 GMT</pubDate>
            <atom:updated>2021-02-05T15:45:16.188Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*t3D78kECFlwX7T1L" /></figure><p>In collaboration with <a href="https://renproject.io/">Ren</a>, <strong>we are bringing Bitcoin </strong>— and in future other currently isolated asset classes — <strong>onto the Acala Network</strong> and into the wider Polkadot multi-chain universe!</p><p>This is a key step in the cross chain DeFi journey as it enables <strong>permissionless transfers of value between blockchains</strong>. Through its RenVM, the protocol has so far been enabling BTC, BCH and ZEC to fuel Ethereum DeFi use cases. Since Acala is a Polkadot finance hub offering a suite of DeFi primitives — multi-collateralized stablecoin, staking derivative and decentralized exchange to enable cross-chain DeFi — the collaboration with Ren was a natural fit. Providing a high performance, highly liquid, and easily accessible DeFi experience for the broader web3 community is a goal both teams share.</p><p>The Ren team have been working closely with Acala for the past couple of months and we are thrilled to release the integration on Acala’s Mandala testnet. We hope it will launch a new age of cross chain DeFi activity and will become <strong>a key step towards powerful web3 finance</strong>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F3qe4fKv4VIk%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D3qe4fKv4VIk&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F3qe4fKv4VIk%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/1c046a1293ff3b108199e78d3786737e/href">https://medium.com/media/1c046a1293ff3b108199e78d3786737e/href</a></iframe><p>Ren <a href="https://github.com/AcalaNetwork/Acala/wiki/U.-Build-with-Acala">built with Acala</a> by deploying its <a href="https://github.com/AcalaNetwork/Acala/tree/master/ecosystem-modules/ren/renvm-bridge">RenVM bridge module</a> on the Acala Network. The BTC gateway is provided by RenVM, while minting and burning of renBTC on Acala are provided by this gateway module. This collaboration will boost the asset classes available on Acala and bring brand new use cases for Bitcoin:</p><ul><li>renBTC can be used as collateral<strong> </strong>for aUSD credit facility</li><li>renBTC can be traded on Acala DeX for other assets like DOT, LDOT, ACA, aUSD, XBTC</li><li>Users can now take part in Polkadot Proof-of-Stake validation and earn staking returns by trading DOT and using the staking derivative protocol</li><li>Providing liquidity to DeX and earning additional yields is now a smooth flow</li><li>aUSD can be transferred to the Laminar Chain for margin trading synthetic forex pairs e.g. EURUSD, gold and stocks, and synthetic BTC &amp; ETH.</li></ul><h4><strong>The renBTC Opportunities</strong></h4><p>We have also integrated <strong>renBTC as a native transaction fee token. </strong>A new user account only holding renBTC can transact on Acala from the very start <strong>using renBTC to pay fees</strong>. Initially, the transaction fees for minting renBTC on Acala will be waived without compromising on security. This essentially makes renBTC on Acala a powerful cross-chain DeFi steroid propelling the space forward.</p><p>For projects like Ren, looking to gain access to Polkadot’s multi-chain ecosystem, building on Acala is a technically and economically superior alternative to building a separate blockchain (or so-called parachain). As RenVM was <a href="https://medium.com/renproject/renvm-mainnet-release-98cac4c6fa8e">released to Mainnet</a>, a new era of cross-chain interoperability could begin and we are delighted<strong> Acala is one of the first integrations the Ren team decided to complete.</strong></p><blockquote>“The Ren team is very excited to be working with Acala on this initiative. This is a key step in Ren’s larger vision of enabling permissionless transfers of value between any blockchain. Fluid interoperability for the crypto ecosystem is coming to fruition and we couldn’t be more thrilled to take the first step.” — <strong>Taiyang Zhang, Ren CEO</strong></blockquote><p>Your first opportunity to test drive the integration will be the <strong>Acala Mandala Festival Season #3, starting Monday, July 27th</strong>. We’ll run a cross-chain trading competition co-hosted with <a href="https://renproject.io/">Ren</a> and <a href="http://laminar.one/">Laminar</a> where you’ll get to mint renBTC, swap tokens and provide liquidity via DeX. There will be a lot of exciting things to get involved with for three full weeks so make sure you join our community channels and keep your eyes on <a href="https://twitter.com/AcalaNetwork">Twitter</a>.</p><h4><strong>About Ren</strong></h4><p>Ren is an open protocol that enables the permissionless and private transfer of value between any blockchain.</p><p><a href="https://renproject.io/">Website</a> | <a href="https://docs.renproject.io/ren">Docs</a> | <a href="https://t.me/renproject">Telegram</a> | <a href="https://t.me/renprojectann">Announcements</a> | <a href="https://twitter.com/renprotocol">Twitter</a> | <a href="https://www.reddit.com/r/renproject">Reddit</a> | <a href="https://github.com/renproject">Github</a></p><h4>About Acala</h4><p><a href="http://acala.network/">Acala</a> is a first-of-its-kind decentralized finance consortium with a vision to bring financial stability, liquidity and accessibility to the mainstream. <strong>The Acala Network is a cross-chain finance hub for the Polkadot ecosystem</strong> and beyond. It offers a suite of financial primitives: a multi-collateralized stablecoin backed by cross-chain assets like Bitcoin, a trustless staking derivative and a decentralized exchange to unleash liquidity and power financial innovations. It is the go-to open platform for finance-oriented dApps to deploy to using smart contracts or built-in protocols with out-of-box cross-chain capabilities, security and financial optimizations.</p><h4>Join Us</h4><p>Learn more about Acala on<a href="https://acala.network/"> acala.network</a>,<a href="https://medium.com/acalanetwork"> Medium</a>,<a href="https://twitter.com/AcalaNetwork"> Twitter</a>,<a href="https://github.com/AcalaNetwork/Acala"> GitHub</a> and <a href="https://github.com/AcalaNetwork/Acala/wiki">Acala Wiki</a>. You can join our community on<a href="https://discord.gg/vdbFVCH"> Discord</a>,<a href="https://t.me/acalaofficial"> Telegram</a> and<a href="https://riot.im/app/#/room/#acala:matrix.org"> Riot Chat</a>. Any inquiries, please <a href="http://hello@acala.network/">email</a> or DM us.</p><p>To keep up to date with progress on the Acala launch, subscribe to the<a href="https://share.hsforms.com/1X9RxkXk-R62I0VNbATaDXw4h8qc"> Acala Newsletter</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e7959855d5aa" width="1" height="1" alt=""><hr><p><a href="https://medium.com/acalanetwork/bringing-btc-to-polkadot-acala-x-ren-e7959855d5aa">Bringing BTC to Polkadot: Acala x Ren</a> was originally published in <a href="https://medium.com/acalanetwork">Acala</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Regaining Confidence in Decentralized Stablecoins]]></title>
            <link>https://medium.com/acalanetwork/regaining-confidence-in-decentralized-stablecoins-bd98ba8e3c83?source=rss-16c79136e2c8------2</link>
            <guid isPermaLink="false">https://medium.com/p/bd98ba8e3c83</guid>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[stable-coin]]></category>
            <category><![CDATA[finance]]></category>
            <dc:creator><![CDATA[Ruitao Su]]></dc:creator>
            <pubDate>Wed, 18 Mar 2020 22:58:35 GMT</pubDate>
            <atom:updated>2020-03-18T23:02:00.028Z</atom:updated>
            <content:encoded><![CDATA[<p>Three problems that caused MakerDAO’s multi-million dollar loss:</p><ol><li>Performance Bottleneck of Underlying Network</li><li>Effectiveness in Risky CDP Liquidation</li><li>Efficiency of Keepers &amp; Sufficiency of Liquidity</li></ol><p>More sophisticated design mechanisms on a high-performance network can greatly mitigate these problems, and elevate risk tolerance of DeFi platforms.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*veifkIn1-ndiMx5LSpJPXQ.jpeg" /></figure><p><strong>Introduction</strong></p><p>The first decentralized stablecoin platform <a href="https://medium.com/@whiterabbit_hq/black-thursday-for-makerdao-8-32-million-was-liquidated-for-0-dai-36b83cac56b6">MakerDao just suffered a multi-million dollar loss in three hours on 12 March 2020</a>. The DeFi community has learnt an expensive but valuable lesson, which will inspire more evolved decentralized stablecoin mechanism designs.</p><p><strong>Performance Bottleneck of Underlying Network</strong></p><p>Ethereum, the underlying ledger of MakerDAO, has a throughput of around 15 TPS. Network congestion and exceedingly high gas fees directly contributed to MakerDAO’s failure. When the price of ETH tanked, the number of transactions skyrocketed. CDP holders, arbitrageurs, DeX traders were all competing for limited computation resources. The congestion resulted in severely degraded system integrity, including oracle service, liquidation process, and DAI liquidity efficiency.</p><p>While MakerDAO’s governance body swiftly reacted to the incident by adjusting key parameters, however, the risk factors still exist, <strong>transaction throughput of an underlying ledger determines how much risk a DeFi protocol can handle</strong>.</p><p>A shard of the Polkadot network, a.k.a Parachain, can achieve a throughput of at least 200 TPS, while maintaining security under the shared security model. Acala network, aiming to become a parachain, will be able to handle much higher risks under volatile market conditions, since transactions can be confirmed almost instantaneously.</p><p>Transactions on Substrate networks (e.g. Acala Network) are classified as either Normal or Operational. Around 20% of space in each block is reserved for the Operational transactions as a priority lane for important system transactions (e.g. oracle price feeding, risk parameter adjustments, automatic liquidations). Similar to QoS on traditional networks, transaction classification plays a crucial role in ensuring system integrity when a blockchain network is under pressure.</p><p><strong>Effectiveness of Risky CDP Liquidation</strong></p><p>Under volatile market conditions, MakerDAO’s liquidation &amp; auction process, purely relying on incentive, failed to function as designed. Several factors contributed to this failure, including volatile collateral price, gas price, and more. There was simply not enough incentive to maintain the liquidation process organically. One keeper ended up pocketing over 30,000 ETH collateral at a cost of almost zero, since there was no competitor.</p><p>An <a href="https://blog.makerdao.com/recent-market-activity-and-next-steps/">executive vote</a> was approved after the incident, the vote approved changes to risk parameters around the liquidation process, including increased lot size and auction duration. While these adjustments provided some remedies to the lack of incentive issues, they are not solutions.</p><p>In Acala’s design, liquidating risky positions employs <strong>a hybrid mechanism of collateral auctions and built-in DeX</strong>. When liquidation is triggered, the protocol will first try to source liquidity from DeX to cover outstanding debt, before starting an auction. If an auction is advertised for collateral and won, the winning bid will be compared against DeX pricing upon ending, to ensure optimal liquidation price for collateral.</p><p>This design allows risky positions to be liquidated in a more efficient way, small positions can be directly liquidated on DeX, while large positions can be either split into smaller lots or liquidated via auctions.</p><p><strong>Efficiency of Keepers &amp; Sufficiency of Liquidity</strong></p><p>It is believed that some keepers stopped operating due to running out of DAI to bid, during the crisis, DAI was in high demand and trading at a premium, keepers were competing with traders for DAI.</p><p>One of the MakerDAO community proposals is to operate a <a href="https://www.reddit.com/r/ethereum/comments/fht3kn/collapse_of_makerdao_keepers_45m_lost_how_to/">Keeper Pool</a> to:</p><ul><li>Act as a reserve pool of liquidity for liquidation</li><li>Act as a more reliable Keeper to participate in the liquidation process</li></ul><p>While operating a Keeper Pool may sound like a good idea, there are a number of trade-offs in this design:</p><ul><li>The pool is non-custodial but centralized service</li><li>The pool is competing for DAI with saving protocol, such as compound</li></ul><p>Since Ethereum does not have an automatic scheduler built-in, relying on external transactions to trigger actions is inevitable.</p><p>In Acala’s design which is based on Substrate, it takes full advantage of the framework’s <a href="https://substrate.dev/docs/en/overview/off-chain-workers">off-chain worker</a> mechanism, where liquidation of all risky positions can be triggered automatically.</p><p>With the built-in DeX, anyone can simply provide liquidity to act as a passive Keeper, this drastically lowered the barrier to become a Keeper. All DeX providers earn straightforward &amp; transparent profit, without needing to bid in an auction.</p><p><strong>Regaining Confidence</strong></p><p>The DeFi space is in its early days, the MakerDAO experiment has been remarkable, and the knowledge gained through these incidents is undoubtedly invaluable. DeFi has brought promises to revolutionize traditional finance — from censorship-resistant stable-currency, to permissionless banking, transparency, fairness and more. Trust and hope in DeFi will be rebuilt through improvements of underlying blockchain networks, enhancement of mechanism design and continuously monitor and combat of system vulnerabilities. The best of DeFi is yet to come.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bd98ba8e3c83" width="1" height="1" alt=""><hr><p><a href="https://medium.com/acalanetwork/regaining-confidence-in-decentralized-stablecoins-bd98ba8e3c83">Regaining Confidence in Decentralized Stablecoins</a> was originally published in <a href="https://medium.com/acalanetwork">Acala</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Laminar Receiving Grant from the Web3 Foundation]]></title>
            <link>https://medium.com/laminar/laminar-receiving-grant-from-the-web3-foundation-d26dc6be9b82?source=rss-16c79136e2c8------2</link>
            <guid isPermaLink="false">https://medium.com/p/d26dc6be9b82</guid>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[margin-trading]]></category>
            <category><![CDATA[polkadot]]></category>
            <category><![CDATA[synthetic-asset]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Ruitao Su]]></dc:creator>
            <pubDate>Tue, 19 Nov 2019 21:58:46 GMT</pubDate>
            <atom:updated>2019-11-19T21:58:46.880Z</atom:updated>
            <content:encoded><![CDATA[<p>Laminar is excited to be receiving a development grant from the <a href="https://web3.foundation/">Web3 Foundation (W3F)</a>. This award is a recognition to the Laminar team and our solution as part of the DeFi ecosystem. As we march on towards <a href="https://medium.com/laminar/laminar-introduces-flow-protocols-bridging-on-and-off-chain-asset-trading-1dabca273a63"><strong><em>our vision</em></strong></a><strong><em> for bridging on-and-off-chain liquidity and asset trading</em></strong>, we look forward to constructively collaborating more closely with W3F and continuously contributing to the <a href="https://polkadot.network/">Polkadot</a> ecosystem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*eKqgGQNpuU3pyWa1.jpg" /></figure><p>The significance of cross-chain communication to the blockchain is like that of the internet to the intranet. Polkadot is the next-gen technology empowering <strong><em>a network of blockchains</em></strong> for <strong><em>true interoperability</em></strong>, <strong><em>economic and transactional scalability</em></strong>. We are thrilled to be part of this revolution, and cannot wait to <strong><em>bring mainstream finance world</em></strong> — the users, the financial service providers, the liquidity, the risk exposures, the product varieties and more to this brave new world.</p><h3>What We Are Building</h3><p>We are building <strong>a high-performance, low-cost specialized financial service chain</strong> — <strong>the Flowchain</strong>, which could later operate as a parachain on Polkadot using Laminar’s Flow Protocols.</p><p><a href="https://medium.com/laminar/testing-laminar-flow-synthetic-assets-margin-trading-protocols-130c5826cf4d">Our Ethereum implementation</a> of the Flow Protocols will serve as the value gateway and leverage the existing DeFi ecosystem there. It will integrate with <strong>the Flowchain</strong> built using <a href="https://www.parity.io/substrate/">Substrate</a> to provide high speed, large throughput and convenient trading experience required by the mainstream financial traders and liquidity providers.</p><p>The Flowchain would consist of the following components:</p><ul><li>A Substrate-based chain with various runtime modules to enable synthetic assets and margin trading. Token module with multi-currency support and oracle module from the <a href="https://github.com/laminar-protocol/open-runtime-module-library">Open Runtime Library (ORML)</a>, which we have created and open-sourced for the community to use and build upon</li><li>A decentralized application (DApp) as a portal for trading and various services provided by Laminar</li><li>Supporting tools and documentation for users and developers</li></ul><p>We expect to launch Flowchain testnet Feb 2020: Stay tuned for updates. Meanwhile, we look forward to collaborating with teams and projects within the W3F and Polkadot ecosystem.</p><h3>Get Updates from Laminar</h3><p>Follow us and build DeFi together:</p><p><strong>Official Website:</strong> <a href="https://laminar.one/">https://laminar.one</a><br><strong>Twitter:</strong> <a href="https://twitter.com/LaminarProtocol">https://twitter.com/LaminarProtocol</a><br><strong>LinkedIn:</strong> <a href="https://www.linkedin.com/company/laminar-protocols">https://www.linkedin.com/company/laminar-protocols</a><br><strong>Github:</strong> <a href="https://github.com/laminar-protocol">https://github.com/laminar-protocol</a></p><h3>About Web3 Foundation</h3><p>Established in Zug, Switzerland by Ethereum co-founder and Chief Technology Officer Dr. Gavin Wood, Web3 Foundation funds research and development teams building the stack of technologies behind the decentralized web.</p><p>For more information on Web3 Foundation, visit <a href="https://web3.foundation/">web3.foundation</a>.</p><h3>About Polkadot</h3><p>Polkadot is the first interoperability protocol that enables blockchain networks to work together under the protection of shared security.</p><p>By parallelizing transactions, Polkadot solves major scalability issues that have thus far hampered blockchain development. Polkadot also introduces a highly advanced, open governance system that will allow the network to innovate and grow at a much more rapid pace than legacy networks. Applications from decentralized finance and energy to gaming and communications will thrive on Polkadot, forming the basis of digital jurisdictions in Web 3.0. Polkadot is the first project spearheaded by Web3 Foundation.</p><p>For more information on Polkadot, visit <a href="https://polkadot.network/">polkadot.network</a>.</p><h3>About Laminar</h3><p>Laminar is a financial institute backed decentralized finance protocol company. It aims to create an open finance platform that will provide better access to trading instruments, and enable developers to build more open financial services. Laminar’s Flow Protocols bring both synthetic assets and margin trading on the blockchain. It helps to solve the challenges of opaque pricing and price manipulation in the current financial markets, bridges on- and off-chain parties, and ultimately boosts on-chain trading liquidity, exposure, and variety.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d26dc6be9b82" width="1" height="1" alt=""><hr><p><a href="https://medium.com/laminar/laminar-receiving-grant-from-the-web3-foundation-d26dc6be9b82">Laminar Receiving Grant from the Web3 Foundation</a> was originally published in <a href="https://medium.com/laminar">Laminar</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Testing Laminar Flow Synthetic Assets & Margin Trading Protocols]]></title>
            <link>https://medium.com/laminar/testing-laminar-flow-synthetic-assets-margin-trading-protocols-130c5826cf4d?source=rss-16c79136e2c8------2</link>
            <guid isPermaLink="false">https://medium.com/p/130c5826cf4d</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[margin-trading]]></category>
            <category><![CDATA[polkadot]]></category>
            <dc:creator><![CDATA[Ruitao Su]]></dc:creator>
            <pubDate>Mon, 11 Nov 2019 07:45:04 GMT</pubDate>
            <atom:updated>2019-11-11T07:45:04.770Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vb7N39pQQBD_wUoWR6Y42w.jpeg" /></figure><p><a href="https://medium.com/laminar/laminar-introduces-flow-protocols-bridging-on-and-off-chain-asset-trading-1dabca273a63">The Laminar Flow synthetic asset, margin trading, and money market protocols</a> are now deployed on Ethereum testnet and ready for you to experiment with. Launch of the Laminar Flow protocols on Ethereum will mark our first step of bridging on-and-off chain liquidity and users.</p><p>The road ahead will include building a <strong>Flowchain</strong> based on <a href="https://www.parity.io/substrate/">Substrate</a> to enable high-performance <strong>trading for the masses</strong> and connecting with the <a href="https://polkadot.network/">Polkadot network</a> to enable <strong>cross-chain communications</strong>. Our Ethereum implementation will primarily serve as a value gateway, allowing us to leverage the functionality and contribute liquidity to the DeFi ecosystem there. The two will be integrated to leverage the best of both worlds, providing a better trading experience, bringing more liquidity on-chain, and empowering more open finance applications.</p><p>We will be showcasing our protocols and trading platform at <a href="https://medium.com/compound-finance/the-beginners-guide-to-using-an-ethereum-test-network-95bbbc85fc1d">the 2019 Singapore Fintech Festival</a> next week. Come visit us at <strong>booth 1K14</strong> Nov 11–15 at Singapore Expo.</p><p>You are welcome to review our code, ask questions and provide feedback.</p><h3>Key Features</h3><p>The Laminar Flow Protocols on testnet is focused on delivering the following features:</p><ol><li>You can trade long and short EURUSD, USDJPY, XAUUSD, and APPLUSD pairs</li><li>You can mint synthetic assets including Euro (fEUR), JPY (fJPY), Gold (fXAU), and Apple Stock (fAAPL) with DAI</li><li>You can deposit these assets to earn interests</li><li>You can become a liquidity provider and set up your spread and rules trustlessly</li></ol><p>Each asset has its live price feed from selected sources, and each liquidity pool (set up by a liquidity provider) would have its own spread, supported margin pairs and leverages.</p><p>On Kovan initial deployment, the following margin pairs are available to trade:</p><ul><li>Long and short 10x EURUSD</li><li>Long and short 20x USDJPY</li><li>Long and short 20x XAUUSD</li><li>Long and short 5x APPLUSD</li></ul><h3>The Flow Exchange Web App</h3><p>We have built a web application so that you can test the functionalities of the protocols. This is a work in progress that will improve significantly as we progress. Please kindly excuse bugs, and provide feedback to help us improve.</p><p>Check out the <a href="https://flow.laminar.one/">Flow Exchange DApp</a></p><p><strong>Synthetic Asset exchange sneak peek</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*hE-JROzIdusCFY0WdyFeYA.gif" /></figure><p><strong>Margin Trading sneak peek</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*0YILiNTqimUuxDmSFiJWbw.gif" /></figure><h3>GraphQL</h3><p>Developers can build applications on top of the Laminar Flow Protocols. Participants like Liquidity Providers and Liquidators can also build queries and bots to optimize their performances. We have built <a href="https://medium.com/laminar/querying-laminar-flow-protocols-using-graphql-6c0a4b0e3f0f">the Laminar Flow Protocol Subgraph</a> for you to query the synthetic assets, margin positions, liquidity pools, and other useful information.</p><h3>The Source Code</h3><p>Here is a collection of Solidity source code that includes:</p><ul><li>The Synthetic Asset contracts</li><li>The Flow Token contract</li><li>The Margin Trading contracts</li><li>The Money Market contract</li><li>The Liquidity Pool contracts</li><li>The Price Oracle contracts</li></ul><p>Find the source code report and documentation below to learn the specifics and start building on top of it</p><ul><li><a href="https://github.com/laminar-protocol/flow-protocol-ethereum">https://github.com/laminar-protocol/flow-protocol-ethereum</a></li><li><a href="https://github.com/laminar-protocol/flow-protocol-ethereum/wiki">https://github.com/laminar-protocol/flow-protocol-ethereum/wiki</a></li></ul><h3>The Contracts on Kovan</h3><p>Here is a list of addresses of deployed contracts outlined above. We will continue to develop and improve the protocols, and new contracts would be deployed as we progress. You can find the <a href="https://github.com/laminar-protocol/flow-protocol-ethereum/blob/master/artifacts/deployment.json">latest deployment here</a>.</p><h4>Synthetic Asset Protocol contract</h4><ul><li><strong>Synthetic Asset Protocol contract:</strong> in charge of minting and redeeming fToken, as well as depositing/withdrawing fToken to and from the money market <a href="https://kovan.etherscan.io/address/0x117A85ebadBd933b576c6c2cfc6B160E380BC13d">0x117A85ebadBd933b576c6c2cfc6B160E380BC13d</a></li></ul><h4>Flow Token contracts</h4><ul><li><strong>fEUR contract:</strong> the Euro synthetic asset token contract <a href="https://kovan.etherscan.io/address/0x99D46D56b4f17BeFbE95673161aBDa45a0c29bf8">0x99D46D56b4f17BeFbE95673161aBDa45a0c29bf8</a></li><li><strong>fJPY contract:</strong> the JPY synthetic asset token contract <a href="https://kovan.etherscan.io/address/0xEAc94CCD74EFa1ED1578fF8276A96066b788c3A7">0xEAc94CCD74EFa1ED1578fF8276A96066b788c3A7</a></li><li><strong>fXAU contract:</strong> the Gold synthetic asset token contract <a href="https://kovan.etherscan.io/address/0xeD476b30f8296626051A3b5d5fA2A83CdC2B36eD">0xeD476b30f8296626051A3b5d5fA2A83CdC2B36eD</a></li><li><strong>fAPPL contract:</strong> the Apple Stock synthetic asset token contract <a href="https://kovan.etherscan.io/address/0x9A442a19b2168CdBED51BD3dbDECe1e9FA5E6d7E">0x9A442a19b2168CdBED51BD3dbDECe1e9FA5E6d7E</a></li></ul><h4>Margin Trading contract</h4><ul><li><strong>Margin Trading Protocol contract:</strong> in charge of opening and closing margin positions <a href="https://kovan.etherscan.io/address/0x813fE903Ff23481F078fe9784d41a54E2F689f9B">0x813fE903Ff23481F078fe9784d41a54E2F689f9B</a></li></ul><h4>Margin Trading Pair/Position contracts</h4><ul><li><strong>l10USDEUR contract:</strong> as 10x leveraged long EUR <a href="https://kovan.etherscan.io/address/0xf2E9Cdf8E75870bf8D804d0DF03f1D524aa9978E">0xf2E9Cdf8E75870bf8D804d0DF03f1D524aa9978E</a></li><li><strong>s10USDEUR contract:</strong> as 10x leveraged short EUR pair <a href="https://kovan.etherscan.io/address/0x3934dc02b0AB5F1fcEe6d0a4C64D3a50EC8e6B3F">0x3934dc02b0AB5F1fcEe6d0a4C64D3a50EC8e6B3F</a></li><li><strong>l20JPYUSD contract:</strong> as 20x leveraged long JPY <a href="https://kovan.etherscan.io/address/0x125b050ba02790181B6424CF7B65c80E1ec8D1f1">0x125b050ba02790181B6424CF7B65c80E1ec8D1f1</a></li><li><strong>s20JPYUSD contract:</strong> as 20x leveraged short JPY <a href="https://kovan.etherscan.io/address/0xbC6195AdA20Db07CeB55d7E853AbB876B4D0AFe2">0xbC6195AdA20Db07CeB55d7E853AbB876B4D0AFe2</a></li><li><strong>l20XAUUSD contract:</strong> as 20x leveraged short Gold <a href="https://kovan.etherscan.io/address/0x9e7223dC81D532FbA103b9D62c4f0946592B408B">0x9e7223dC81D532FbA103b9D62c4f0946592B408B</a></li><li><strong>s20XAUUSD contract:</strong> as 20x leveraged short Gold <a href="https://kovan.etherscan.io/address/0x2C3F4d7bdB4b14b4840F65fFAc5aaDb9cff51628">0x2C3F4d7bdB4b14b4840F65fFAc5aaDb9cff51628</a></li><li><strong>l5APPLUSD contract:</strong> as 20x leveraged short Apple Stock <a href="https://kovan.etherscan.io/address/0x67891828e4406b84e81e9B0af35Ea2A1a411D7bF">0x67891828e4406b84e81e9B0af35Ea2A1a411D7bF</a></li><li><strong>s5APPLUSD contract:</strong> as 20x leveraged short Apple Stock <a href="https://kovan.etherscan.io/address/0xb390CD29EA45066E06623480D1b235f50E6618c8">0xb390CD29EA45066E06623480D1b235f50E6618c8</a></li></ul><h4>Money Market contracts</h4><ul><li><strong>Money Market contract:</strong> in charge of liquidity, lending and withdrawing funds to and from <a href="https://compound.finance/">Compound</a> to earn interest while trading <a href="https://kovan.etherscan.io/address/0xd14C27C500f10038821bDf5cEE32314bFc41F60B">0xd14C27C500f10038821bDf5cEE32314bFc41F60B</a></li><li><strong>iUSD contract:</strong> a subcontract of the money market contract to track internal USD <a href="https://kovan.etherscan.io/address/0xC33826CB3E21a4916B5Aa8cD3bB1e7cEc3588e1C">0xC33826CB3E21a4916B5Aa8cD3bB1e7cEc3588e1C</a></li></ul><h4>Price Oracle contract</h4><ul><li><strong>Simple Price Oracle contract:</strong> taking price feeds from multiple sources and implementing basic safety mechanisms <a href="https://kovan.etherscan.io/address/0x0629674131B06d9e6ea39E7B548E471081702EdF">0x0629674131B06d9e6ea39E7B548E471081702EdF</a></li></ul><h4>Liquidity Pool contracts</h4><ul><li><strong>Liquidity pool_1 contract:</strong> has bid/ask spread of 0.3% <a href="https://kovan.etherscan.io/address/0x8b205c597602ebf442857D4714d996B343fFa20c">0x8b205c597602ebf442857D4714d996B343fFa20c</a></li><li><strong>Liquidity pool_2 contract:</strong> has bid/ask spread of 0.31% <a href="https://kovan.etherscan.io/address/0x6582204488d330ffAf464592179936EA1E8A3c1f">0x6582204488d330ffAf464592179936EA1E8A3c1f</a></li></ul><h4>External contracts</h4><ul><li><strong>DAI contract:</strong> provided by Compound <a href="https://kovan.etherscan.io/address/0xbF7A7169562078c96f0eC1A8aFD6aE50f12e5A99">0xbF7A7169562078c96f0eC1A8aFD6aE50f12e5A99</a></li><li><strong>cDAI contact:</strong> as Compound DAI <a href="https://kovan.etherscan.io/address/0x0a1e4d0b5c71b955c0a5993023fc48ba6e380496">0x0a1e4d0b5c71b955c0a5993023fc48ba6e380496</a></li></ul><h3>Get Started with Laminar Flow</h3><p>To start using and interacting with the above app and contracts, you will need to get Kovan test ETH and DAI tokens. Follow this <a href="https://medium.com/laminar/get-started-with-ethereum-testnet-for-laminar-flow-protocols-9883741d6754">guide to use Ethereum testnet for Laminar Flow Protocols</a> before proceeding.</p><h3>Contract Walkthrough Guide</h3><p>The following examples will guide you through using the Laminar Flow contracts to mint and redeem Euro synthetic asset — fEUR, deposit fEUR to earn interest and conduct margin trades for EUR with 10x leverage. We will use Etherscan and Remix together with your Metamask extension to interact with the contracts.</p><h3>Set up to use the Synthetic Asset contract</h3><p>The synthetic asset contract is the management contract for minting fTokens, redeeming DAI, depositing fTokens to earn interest, etc.</p><p><strong>1. Approve Synthetic Asset Protocol contract to move DAI</strong></p><ul><li>Set up <a href="https://remix.ethereum.org/">Remix</a> to approve, refer to the <strong>Set up Remix</strong> section in the <a href="https://medium.com/laminar/get-started-with-ethereum-testnet-for-laminar-flow-protocols-9883741d6754">testnet setup guide</a>.</li><li>Expand the approve function</li><li>spender as Synthetic Asset contract address 0x117A85ebadBd933b576c6c2cfc6B160E380BC13d</li><li>amount = 2000000000000000000000000 as 2,000,000 DAI. You can approve a large amount that you don’t have to approve for every interaction.</li><li>Click the <strong>Transact</strong> button, and confirm the transaction on your Metamask. <strong>See example </strong><a href="https://kovan.etherscan.io/tx/0xb5cf8f7fd62112b3d82d2baca710980b380ade4b2fbdd33ef1102d4de90b23d6"><strong>transaction here</strong></a></li></ul><p>2. Go to the <a href="https://kovan.etherscan.io/address/0x117A85ebadBd933b576c6c2cfc6B160E380BC13d#writeContract"><strong>Contract — Write Contract</strong> section of the Synthetic Asset contract on Etherscan</a>.</p><p>3. Click the <strong>Connect to web3</strong> button, essentially connecting to your Metamask. Ensure your Metamask is connected to Kovan testnet.</p><h3>Mint Synthetic EUR — fEUR with DAI</h3><p>The process of minting $100 worth of fEUR requires 10% additional collateral by default to counter price fluctuation and ensure stability. Each liquidity pool can set a higher ratio for additional security.</p><p>When a user deposits $100, the additional $10 will be put up by the liquidity pool, which is managed by the contracts automatically. If the price of EUR goes up, the liquidity pool may lose a portion of the $10 collateral, <a href="https://github.com/laminar-protocol/flow-protocol-ethereum/wiki/Synthetic-Asset">see more details here</a>. The pools are willing to take the risks for the spread they will earn at each trade, and for their hedging strategies to make the business case.</p><ol><li>Assume that you have followed the above instruction and is on the <a href="https://kovan.etherscan.io/address/0x117A85ebadBd933b576c6c2cfc6B160E380BC13d#writeContract">write contract tab of the Synthetic asset contract</a>.</li><li>Use the <strong>mint</strong> function</li></ol><ul><li>token as fEUR address = 0x99D46D56b4f17BeFbE95673161aBDa45a0c29bf8</li><li>pool as chosen liquidity pool 1 = 0x8b205c597602ebf442857D4714d996B343fFa20c</li><li>baseTokenAmount as how much DAI would like to deposit to generate fEUR = 200000000000000000000 as 200 DAI</li></ul><p>3. Click the <strong>Write</strong> button, and confirm the transaction on your Metamask. <strong>See example </strong><a href="https://kovan.etherscan.io/tx/0x9cc88ec967103b70ca319a843742dc3a50dcffd157999c436d2a7489eeaed342"><strong>transaction here</strong></a></p><p>4. Result: In the Event Logs, you can see the price at the time of minting from the first event PriceUpdated, with the exchange rate at 1.1049 and the last event Minted showing 180.47 fEUR minted.</p><p>Note: the actual price for buying/selling fTokens needs to add/substrate the spread from the chosen liquidity pool.</p><h3>Return fEUR to redeem DAI</h3><p>Regardless of how you obtain the fEUR (either you’ve minted it, or bought it from an exchange), you can redeem its DAI collateral via the synthetic asset protocol contract. This essentially reduces the supply of fEUR.</p><ol><li>Assume that you have followed the above instruction and is on the <a href="https://kovan.etherscan.io/address/0x117A85ebadBd933b576c6c2cfc6B160E380BC13d#writeContract">write contract tab of the Synthetic asset contract</a></li><li>Use the <strong>redeem</strong> function</li></ol><ul><li>token as fEUR address = 0x99D46D56b4f17BeFbE95673161aBDa45a0c29bf8</li><li>pool as chosen liquidity pool 1 = 0x8b205c597602ebf442857D4714d996B343fFa20c</li><li>flowTokenAmount as how much fEUR you would like to return to redeem DAI = 20000000000000000000 as 20 fEUR</li></ul><p>3. Click the <strong>Write</strong> button, and confirm the transaction on your Metamask. <strong>See example </strong><a href="https://kovan.etherscan.io/tx/0x985e1d9a350add3e74e9440110aed775ea9fe938d5102cf8c0067c832c0d8285"><strong>transaction here</strong></a></p><p>4. Result: In the Event Logs, you can see the first event PriceUpdated with the exchange rate at 1.105, and the last event Redeemed with 22.0337 DAI returned to your account</p><h3>Deposit fEUR to earn interest</h3><p>The Synthetic Asset contract is connected to a Money Market contract behind the scenes, to manage the funds in the liquidity pool and in collateral. The money market would deposit a portion of the funds into the selected money market (with <a href="https://compound.finance/">Compound</a> being the default one for this version) to earn interest, which further improves liquidity. This facility is also open to individual fToken holders to make a deposit and earn interests.</p><ol><li>Assume that you have followed the above instruction and is on the <a href="https://kovan.etherscan.io/address/0x117A85ebadBd933b576c6c2cfc6B160E380BC13d#writeContract">write contract tab of the Synthetic asset contract</a>.</li><li>Use the <strong>deposit</strong> function</li></ol><ul><li>token as fEUR address = 0x99D46D56b4f17BeFbE95673161aBDa45a0c29bf8</li><li>flowTokenAmount as how much fEUR you would like to deposit = 50000000000000000000 as 50 fEUR</li></ul><p>3. Click the <strong>Write</strong> button, and confirm the transaction on your Metamask. <strong>See example </strong><a href="https://kovan.etherscan.io/tx/0xaf2710ff6ca8e9c9c46dbebad5cd0c8ea2e023b6f1db50943783a56653e18bb4"><strong>transaction here</strong></a></p><p>4. Result: the DAI collateral for your 50 fEUR is now earning interest in money market</p><h4>Withdraw fEUR and pocket earnings</h4><p>If you withdraw immediately after deposit, you may not earn any interest.</p><ol><li>Assume that you have followed the above instruction and is on the <a href="https://kovan.etherscan.io/address/0x117A85ebadBd933b576c6c2cfc6B160E380BC13d#writeContract">write contract tab of the Synthetic asset contract</a>.</li><li>Use the <strong>withdraw</strong> function</li></ol><ul><li>token as fEUR address = 0x99D46D56b4f17BeFbE95673161aBDa45a0c29bf8</li><li>flowTokenAmount as how much fEUR you would like to withdraw = 50000000000000000000 as 50 fEUR</li></ul><p>4. Click the <strong>Write</strong> button, and confirm the transaction on your Metamask. <strong>See example </strong><a href="https://kovan.etherscan.io/tx/https://kovan.etherscan.io/tx/0xbfda8097f3314087819ca7d982a1ef73b70da368dd94e8c74d3e9367eeadeff0"><strong>transaction here</strong></a></p><p>5. Result: 50 fEUR is returned to your address, plus tiny bit of interest in 0.0003089 DAI.</p><h3>Set up to use the Margin Trading Protocol contract</h3><p>The margin trading contract is the management contact for open and closing margin positions, etc.</p><p><strong>1. Approve Margin Trading Protocol contract to move DAI</strong></p><ul><li>Set up Remix to approve, refer to the <strong>Set up Remix</strong> section in the <a href="https://medium.com/laminar/get-started-with-ethereum-testnet-for-laminar-flow-protocols-9883741d6754">testnet setup guide</a>.</li><li>Expand the approve function</li><li>spender as Margin Trading contract address 0x813fE903Ff23481F078fe9784d41a54E2F689f9B</li><li>amount = 20000000000000000000000000 as 20,000,000 DAI. You can approve a large amount so that you don’t have to approve for every interaction.</li><li>Click the <strong>Transact</strong> button, and <strong>Confirm</strong> the transaction on your Metamask. <strong>See example </strong><a href="https://kovan.etherscan.io/tx/0xc1ab1c7aec5d44871c2e2741dc1d112ff2d47836c1bd7fda0e6f9adb71b4d676"><strong>transaction here</strong></a></li></ul><p>2. Go to the <a href="https://kovan.etherscan.io/address/0x813fE903Ff23481F078fe9784d41a54E2F689f9B#writeContract"><strong>Contract — Write Contract</strong> section of the Margin Trading contract on Etherscan</a>.</p><p>3. Click the <strong>Connect to web3</strong> button, essentially connecting to your Metamask. Ensure your Metamask is connected to Kovan testnet.</p><h3>Trade 10x Long EURUSD</h3><p>To open a $100 10x long EURUSD position, the user put in $100, and the liquidity pool put in the equivalent amount of $100. This essentially gives the cover for price fluctuation of 10% (1/leverage). Either side could win or lose that margin amount, <a href="https://github.com/laminar-protocol/flow-protocol-ethereum/wiki/Margin-Trading">see more details here</a>.</p><ol><li>Assume that you have followed the above instruction and is on the <a href="https://kovan.etherscan.io/address/0x17DC5c9C445f5B90F968E80197BCDF57AA15669c#writeContract">write contract tab of the Margin Trading contract</a>.</li><li>Use the <strong>openPosition</strong> function</li></ol><ul><li>pair as l10USDEUR address = 0xf2E9Cdf8E75870bf8D804d0DF03f1D524aa9978E</li><li>pool as chosen liquidity pool 1 = 0x8b205c597602ebf442857D4714d996B343fFa20c</li><li>baseTokenAmount as the amount to put into the trade = 100000000000000000000 as 100 DAI (1 DAI as reserved liquidation fee + 99 DAI for the trade).</li></ul><p>3. Click the <strong>Write</strong> button, and confirm the transaction on your Metamask. <strong>See example </strong><a href="https://kovan.etherscan.io/tx/0xa192016bfd9540fd9d0dd8e7543216034294e476bb082fa956179051017ae4af"><strong>transaction here</strong></a></p><p>4. Result: see the Event Logs on Etherscan, in the last event OpenPosition, see data in Num forms</p><ul><li>positionId = 0, baseTokenAmount, openPrice = 1.1085156, and closeSpread = 0.3%. The opening price, close spread coupled with the current price can be used for calculating potential profit/loss.</li></ul><h3>Close a Margin Position</h3><ol><li>Assume that you have followed the above instruction and is on the <a href="https://kovan.etherscan.io/address/0x813fE903Ff23481F078fe9784d41a54E2F689f9B#writeContract">write contract tab of the Margin Trading contract</a>.</li><li>Use the <strong>closePosition</strong> function</li></ol><ul><li>pair as l10USDEUR address = 0xf2E9Cdf8E75870bf8D804d0DF03f1D524aa9978E</li><li>positionId = 0</li></ul><p>3. Click the <strong>Write</strong> button, and confirm the transaction on your Metamask.<br><strong>See example </strong><a href="https://kovan.etherscan.io/tx/0xde50fc343882ab34b3e45649ed0d928d015921ee05229a1c28a5fb0d0e147b38"><strong>transaction here</strong></a></p><p>4. Result: see the last event ClosePosition in the Event Logs on Etherscan, the data fields in Num are</p><ul><li>positionId, price = 1.1014856 (lower than the open price, hence I lost a few bucks), ownerAmount = 93.7164 as the amount returned to the user, liquidityPoolAmount = 106.27 as the amount returned to the pool. The loss of the user is the gain of the liquidity pool and vice versa.</li></ul><p>This concludes the walkthrough of synthetic asset and margin trading interactions with the protocols. We will introduce how to deploy your own liquidity pool and other features of the protocols in the following posts. Stay tuned.</p><h3>What’s Next</h3><p>We will be undergoing both financial and security audits, that more details and reports will be released as we progress. Ethereum mainnet Alpha is planned for Q1 2020.</p><p>Meanwhile, we have already started designing and developing the <strong>Flowchain</strong> as a specialized high-performance trading chain using <a href="https://www.parity.io/substrate/">Substrate</a> within the <a href="https://polkadot.network/">Polkadot</a> ecosystem. More updates will be available in a couple of weeks.</p><h3>Get Updates from Laminar</h3><p>Official Website: <a href="https://laminar.one/">https://laminar.one</a><br>Twitter: <a href="https://twitter.com/LaminarProtocol">https://twitter.com/LaminarProtocol</a><br>LinkedIn:<a href="https://www.linkedin.com/company/laminar-protocols">https://www.linkedin.com/company/laminar-protocols</a></p><h3>About Laminar</h3><p>Laminar is a financial institute backed decentralized finance protocol company. It aims to create an open finance platform that will provide better access to trading instruments, and enable developers to build more open financial services. Laminar’s Flow Protocols bring both synthetic assets and margin trading on the blockchain. It helps to solve the challenges of opaque pricing and price manipulation in the current financial markets, bridges on- and off-chain parties, and ultimately boosts on-chain trading liquidity, exposure, and variety.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=130c5826cf4d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/laminar/testing-laminar-flow-synthetic-assets-margin-trading-protocols-130c5826cf4d">Testing Laminar Flow Synthetic Assets &amp; Margin Trading Protocols</a> was originally published in <a href="https://medium.com/laminar">Laminar</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Laminar Introduces Flow Protocols: Bridging On- and Off-Chain Asset Trading]]></title>
            <link>https://medium.com/laminar/laminar-introduces-flow-protocols-bridging-on-and-off-chain-asset-trading-1dabca273a63?source=rss-16c79136e2c8------2</link>
            <guid isPermaLink="false">https://medium.com/p/1dabca273a63</guid>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Ruitao Su]]></dc:creator>
            <pubDate>Sun, 22 Sep 2019 04:43:09 GMT</pubDate>
            <atom:updated>2019-09-22T04:45:37.292Z</atom:updated>
            <content:encoded><![CDATA[<p>Decentralized Finance (DeFi) has become one of the most active areas in the blockchain world, and is quickly capturing the financial sector’s attention. On Ethereum alone, from stablecoins to decentralized exchanges to lending and insurance platforms, there are currently over $500 million of funds locked in smart contracts.</p><p>This sum is only a drop in the ocean compared to mature financial markets. For instance, on average, more than $5 trillion are traded daily in forex markets, even though in mature markets, traders face challenges such as opaque pricing and market manipulation. The current DeFi applications provide financial services with open pricing, yet they are restricted to crypto users and capped with limited on-chain liquidity. There also exist technical limitations restraining growth of these tools, such as scaling and workload issues. Next-gen networks, like <a href="https://polkadot.network/">Polkadot</a>, are emerging to solve these problems.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-Q6BV5V5BC_1IR49e6qbiQ.png" /></figure><h3>Laminar Flow Protocols</h3><p>Laminar is a decentralized finance protocol company that creates an open, transparent, and trustless trading platform along with financial assets to serve traders from both the crypto and mainstream finance worlds. Laminar’s goal is to introduce new, competitive business models to mainstream financial service providers. These new protocols are also empowering developers to build more open finance services to strengthen the DeFi ecosystem. In contrast to the existing approaches, Flow Protocols — Laminar’s flagship product — offers the following features:</p><ul><li><strong>Instant Liquidity:</strong> Traders trade against smart contracts, instead of order books, so that there is always instant and infinite liquidity, provided that the collateral ratio does not fall below the preset liquidation threshold. For example, users can instantly open 1:1 EURUSD position, as well as long and short leveraged positions.</li><li><strong>Asset Efficiency:</strong> While all positions are over-collateralized, <strong><em>traders only need to put up collateral for the value of the positions.</em></strong> Liquidity providers shoulder the rest of the risks. In return, liquidity providers earn transaction fees, e.g. in the form of a bid and ask spread in a Forex case. Savvy liquidity providers would have initiatives to hedge their risks on- or off-chain, depending on the asset type and their risk management strategies. Margin traders will also be able to trade against the liquidity pools, that <strong><em>traders’ risks and liabilities are capped by the margin locked</em></strong>, while their potential profits are also locked in the protocol.</li><li><strong>Better Trading Experience:</strong> Flow Protocols enable <strong><em>transparent pricing and counter-party actions</em></strong> governed by the protocol and the community while providing an excellent trading experience comparable to the off-chain services. When collateralized positions are at risk, they will be open to the public for liquidation with rewards, which ensure the soundness of the liquidity pools.</li><li><strong>Integrated Money Market:</strong> Assets deposited into the protocols by both the traders and liquidity providers generate interests that further increase the on-chain liquidity.</li><li><strong>Tokenized Positions:</strong> Users can deposit USD stablecoins in exchange for synthetic stable fiat assets in the form of fTokens (Flow Tokens) e.g. fEUR.</li></ul><p>The fTokens serve the following purposes:</p><ul><li>form the basis for the margin trading protocol</li><li>serve as a general-purpose stablecoin/currency for payments</li><li>offer a store of value that holders can deposit into the money market to earn interest</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7ibp9i2waoEyYMYam11Cgw.png" /><figcaption>High-level overview of Flow Synthetic Asset Protocol</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uINF5BePO7l1qu_g1xeRdw.png" /><figcaption>High-level overiview of Flow Margin Trading Protocol</figcaption></figure><p>Traders can also tokenize margin positions connected to their short or long leveraged positions. These tokenized positions enable fluidity across asset classes, e.g. through easily tradable fTokens and margin tokens in open markets, or as building blocks of other financial services. We can’t wait for programmers and the community to explore further use cases!</p><blockquote><em>“</em>Laminar aims to bridge on- and off-chain parties, and our goal is to bring meaningful financial transactions on-chain via better liquidity, more exposure, and more trading variety,” <strong>said Ruitao Su, Co-Founder &amp; CEO of Laminar.</strong></blockquote><h3>Roadmap</h3><p>The Flow Protocols aim to be blockchain agnostic, comprising the Flow Synthetic Asset Protocol, the Flow Margin Trading Protocol, and the Flow Money Market Protocol.</p><h3>Phase 0: Proof of Concept on Ethereum | End 2019</h3><p>The Flow Protocols have been R&amp;Ded on Ethereum, where the network is highly secure with valuable assets as the basis for trading. There are also active DeFi community and existing DeFi building blocks such as stablecoins that the Flow Protocols will build upon. The Flow Protocols and dApps will undergo thorough security audits and launch on the Ethereum mainnet in late 2019.</p><h3>Phase 1: Flowchain as Specialised Trading Blockchain | Q1 2020</h3><p>Our target protocol participants — mainstream traders and liquidity providers — require a low cost but high speed blockchain for trading. For instance, the blockchain needs to be capable of handling large trading volume and frequent price fluctuations.</p><p>Hence, we are developing the Flowchain based on <a href="https://www.parity.io/substrate/">Substrate</a>, <strong><em>a next-gen upgradeable, customizable, high-performance blockchain framework </em></strong>to serve the needs of the intended use cases. The Flowchain is also an ecosystem partner in the <a href="https://polkadot.network/">Polkadot</a> community where it will contribute to and leverage this <strong><em>interoperable and scalable network of blockchains ecosystem</em></strong>.</p><p>Laminar believes in directly addressing the pain points of all parties in the blockchain space and the financial markets with an open-source community approach. Flow Protocols will bring meaningful financial transactions on-chain, creating a critical building block in the DeFi space.</p><h3>Laminar Core Team</h3><p><strong>Ruitao Su<br></strong><em>CEO</em><br>Serial entrepreneur, investor and advisor of start up and expansion stage technology companies, award-winning software engineer.</p><p><strong>Bryan Chen</strong><br><em>CTO</em><br>Blockchain architect, Polkadot and Substrate contributor and community Ambassador, Substrate online course lecturer.</p><p><strong>Antonia Chen</strong><br><em>Chief Economist</em><br>PhD in Economics, experienced in tech startups, Microeconomics and Mathematics research, and token economy design.</p><p><strong>Ermal Kaleci</strong><br><em>Senior Software Engineer</em><br>Award-winning mobile developer, previously KYC and mobile wallet App developer.</p><h3>Build DeFi with us</h3><p>We are building Laminar Flow Protocols for the DeFi community and ecosystem, and we’d love for you to be part of our research and development. If you have ideas or questions, please join the Laminar community and get in touch:</p><p><strong>Official Website:</strong> <a href="https://laminar.one/">https://laminar.one</a><br><strong>Twitter</strong>: <a href="https://twitter.com/LaminarProtocol">https://twitter.com/LaminarProtocol</a><br><strong>LinkedIn</strong>:<a href="https://www.linkedin.com/company/laminar-protocols">https://www.linkedin.com/company/laminar-protocols</a><br><strong>Wechat Official Account</strong>: laminar_protocol</p><h3>About Laminar</h3><p>Laminar is a VC backed decentralized finance protocol company. It aims to create an open finance platform that will provide better access to trading instruments, and enable developers to build more open financial services. Laminar’s Flow Protocols bring both synthetic assets and margin trading on the blockchain. It helps to solve the challenges of opaque pricing and price manipulation in the current financial markets, bridges on- and off-chain parties, and ultimately boosts on-chain trading liquidity, exposure, and variety.</p><h3>About Polkadot</h3><p>By enabling a completely decentralized web, Polkadot envisions a Web where users’ identity and data is their own. Polkadot’s relay chain allows independent blockchains ‒ including private and consortium chains, public and permissionless networks, oracles, and future technologies that are yet to be created ‒ to exchange information and execute transactions in a trustless way. By empowering innovators to build better solutions, Polkadot seeks to free society from its reliance on a broken web where its large institutions can’t violate our trust.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1dabca273a63" width="1" height="1" alt=""><hr><p><a href="https://medium.com/laminar/laminar-introduces-flow-protocols-bridging-on-and-off-chain-asset-trading-1dabca273a63">Laminar Introduces Flow Protocols: Bridging On- and Off-Chain Asset Trading</a> was originally published in <a href="https://medium.com/laminar">Laminar</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>