Skip to content

Digital Ronin

  • Home
  • Blog
  • Contact

Month: May 2021

May 6, 2021May 6, 2021 digitalronin Uncategorized

Rewarding Liquidity Providers

Using a commission in our automated market maker to reward liquidity providers

May 4, 2021May 6, 2021 digitalronin Uncategorized

Tracking Liquidity in the Automated Market Maker

Using Liquidity Provider Tokens (LP tokens) to keep track of who provided liquidity to the Automated Market Maker (AMM)

May 3, 2021May 6, 2021 digitalronin Uncategorized

Adding Liquidity to the AMM

Adding/removing liquidity from the Automated Market Maker

May 2, 2021May 2, 2021 digitalronin Uncategorized

Trading the Automated Market Maker

This post is part of a series on DeFi. Here is the previous post, and this is the first post in the series. We've seen how buying and selling from the Automated Market Maker (AMM) alters the token price. Now let's see what it looks like when we have multiple people (counterparties) buying from and … Continue reading Trading the Automated Market Maker

May 1, 2021May 3, 2021 digitalronin Uncategorized

Refactoring the Ruby Automated Market Maker

This is the second in a series of blog posts about DeFi. The first post is here. In the last post, we implemented the buy method of our Automated Market Maker (AMM) like this: # Counterparty pays `amount` eth for some tokens def buy(amount) ether = amount.to_f @ether_reserve += ether new_token_reserve = @konst / @ether_reserve … Continue reading Refactoring the Ruby Automated Market Maker

Archives

  • July 2022 (1)
  • May 2021 (5)
  • April 2021 (3)
  • January 2021 (2)
  • December 2020 (1)
  • November 2020 (1)
  • October 2020 (1)
  • September 2020 (1)
  • August 2020 (1)
  • May 2020 (1)
  • April 2020 (3)
  • March 2019 (1)
  • February 2019 (3)
  • January 2019 (2)
  • July 2017 (1)
  • June 2017 (2)
  • February 2017 (1)
  • January 2017 (4)
  • December 2016 (1)
  • September 2016 (1)
  • July 2016 (2)
  • June 2016 (1)
  • May 2016 (1)
  • March 2016 (1)
  • February 2016 (1)
  • January 2016 (6)
  • December 2015 (3)
  • November 2015 (1)
  • August 2015 (1)
  • July 2015 (1)
  • December 2014 (1)
  • October 2014 (1)
  • July 2014 (2)
  • April 2014 (5)
  • March 2014 (6)
  • October 2011 (2)
  • September 2011 (2)
Blog at WordPress.com.
  • Follow Following
    • Digital Ronin
    • Already have a WordPress.com account? Log in now.
    • Digital Ronin
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar