Sha256: 85f31a1fee3e4281dddc6870948ab1a77ea4935e75a0deb5566f54373ea6bf90
Contents?: true
Size: 1.37 KB
Versions: 2
Compression:
Stored size: 1.37 KB
Contents
# BridgeClient Ruby wrapper for Stellar's Bridge Server API ## Installation Add this line to your application's Gemfile: ```ruby gem 'bridge_client' ``` And then execute: $ bundle Or install it yourself as: $ gem install bridge_client ## Usage Configure in an initializer: ```ruby BridgeClient.configure do |c| c.host = ENV["BRIDGE_HOST"] end ``` See `spec/acceptance` for detailed examples. ## Development - Copy `spec/config.yml.sample` to `spec/config.yml` - Replace `destination` with the account the tests will be sending to - Copy `spec/fixtures/bridge/config_bridge.toml.sample` to `spec/fixtures/bridge/config_bridge.toml` - Replace `authorizing_seed` with the seed of the account you're sending from - Replace `receiving_account_id` with the account id you're sending from - Replace `base_seed` with what you placed in `authorizing_seed` - `docker-compose build` - `docker-compose up bridge` - Make your changes - `rspec spec` ## Contributing Bug reports and pull requests are welcome on GitHub at https://github.com/imacchiato/bridge_client-ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct. ## License The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bridge_client-0.2.0 | README.md |
bridge_client-0.1.0 | README.md |