Skip to content

Instantly share code, notes, and snippets.

View gnurag's full-sized avatar

Anurag gnurag

  • Red Hat, Inc.
  • Far far away land
View GitHub Profile
@gnurag
gnurag / index.js
Created December 14, 2021 19:48 — forked from WietseWind/index.js
account_objects (type: state) to account_lines responses: get lines based on reserve claim
const { XrplClient } = require('xrpl-client')
const client = new XrplClient()
const myAccount = 'rwietsevLFg8XSmG3bEZzFein1g8RBqWDZ'
const objectFlags = {
lsfLowReserve: 0x00010000,
lsfHighReserve: 0x00020000,
lsfLowNoRipple: 0x00100000,
lsfHighNoRipple: 0x00200000
class ActionDispatch::Routing::Mapper
def draw(routes_name)
instance_eval(File.read(Rails.root.join("config/routes/#{routes_name}.rb")))
end
end
BCX::Application.routes.draw do
draw :api
draw :account
draw :session