move stellar config from JS to Ruby