| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
STATUS: this library is very early and incomplete. The examples provided do not work, yet
This library helps you to integrate your application into the Stellar network.
Add this line to your application's Gemfile:
gem 'stellar-sdk'And then execute:
$ bundle
Or install it yourself as:
$ gem install stellar-sdk
Also requires libsodium. Installable via brew install libsodium on OS X.
See examples.
A simple payment from the root account to some random accounts
require 'stellar-sdk'
account = Stellar::Account.master
client = Stellar::Client.default_testnet()
recipient = Stellar::Account.random
client.send_payment({
from: account,
to: recipient,
amount: Stellar::Amount.new(100_000000)
}) | Back | FazBrowse Home | New Git URL |