This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { XrplClient } = require('xrpl-client') | |
const client = new XrplClient() | |
const myAccount = 'rwietsevLFg8XSmG3bEZzFein1g8RBqWDZ' | |
const objectFlags = { | |
lsfLowReserve: 0x00010000, | |
lsfHighReserve: 0x00020000, | |
lsfLowNoRipple: 0x00100000, | |
lsfHighNoRipple: 0x00200000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |