Overview
Calls Mobius Friendbot for given account.
FriendBot Object
Attribute | Type | Description |
---|---|---|
seed | String | Account private seed |
amount | Integer | Amount to send, defaults to 1000 |
Methods
.call(seed, amount: 1000) ⇒ Object
Constructor shortcut to call instance method.
#call ⇒ Object
Sends MOBI amount to account.
# Account private seed
seed = "SCRBVUQF4N7JNXSEVQKZ4OEOEORC54BURPI3RCKN4FP3CO6AA7EZTJOA"
friendbot = Mobius::Client::FriendBot.call(seed)
# =>
true
friendbot = Mobius::Client::FriendBot.call(seed, 5000)
# =>
true