RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Submit a post

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

Programming DeFi: Uniswap V2. Part 2 - Ruby / Rubysol Ed.

hello, another little update from the rubidity & rubysol universe. this might be the world’s 1st article on rubysol (contract) programming: Programming DeFi: Uniswap V2. Part 2 written by Ivan Kuznetsov - and edited and the code changed to ruby / rubysol by my humble self. enjoy. PS: for reference the UniswapPairV2 contract, part ii in ruby / rubysol. From the article: Today we’ll add the core functionality to our clone of Uniswap V2–swapping. Decentralized tokens exchanging is what Uniswap was created for, and today we’ll see how it’s done. We’re still working on the core pair contract…

programming (decentralized finance) uniswap v2 - ruby / rubysol edition started

hello, another little update from the rubidity & rubysol universe. i started to rewrite the uniswap v2 contracts and tests in Ivan Kuznetsov’s definite (free) in-depth (let’s rebuild the contracts from scratch) articles on Uniswap from solidity into ruby / rubysol. see Programming (Decentralized Finance - DeFi) - Uniswap V2 Contracts - Ruby / Rubysol Edition for more. happy blockchaining with ruby / rubysol. PS: for part i - see UniswapV2Pair.rb an the tests in test_UniswapV2Pair.rb.

Should I add typing to my Ruby project?

I’ve spent a lot of time recently investigating if I should adopt gradual typing in my Ruby projects and I’ve summarised my research in this post where I’ve picked 5 key criteria which I’ve seen mentioned most often by people that are using gradual typing successfully: Should I add typing to my Ruby project?

Detect Spam with AI

We can create a small python service that uses a Large Language Model (LLM) to detect if a message is spam or not. Using this service, we can tie it into our Rails application so that any comment created will be evaluated for being spam or not. We explore a few different routes on handling any messages flagged as spam. https://www.driftingruby.com/episodes/detect-spam-with-ai

uniswap gem v0.0.1 - core uniswap v2 (dumb) contracts for ruby (rubysol)

hello, another little update from the rubidity & rubysol universe. i started a new experiment to package up the uniswap (facetswap) contracts into a gem (and convert to “more ruby-ish” rubysol syntax for easier documentation / testing / etc.). for the auto-generated contract docu. see rubydoc.info/gems/uniswap and for a contract sample, see the (work-in-progress) UniswapV2Pair. as always questions and comments welcome. yes, you are invited to join the rubidity & rubysol coding (programming) club. let’s study and learn together how the (dex - decentralized exchange and amm - automated market making) magic works.

Loading older posts