Defines functions friendbot

Documented in friendbot

#' Creates and fund a new account on the test network.
#' @description Make a call to the Friendbot service on the test network and fund an account.
#'     Returns a JSON response.
#' @param account character - the public key of the account you wish to fund.
#' @return list
#' @export
#' @note https://www.stellar.org/developers/guides/get-started/create-account.html
#' @examples

friendbot <- function(account){
  query_list = list(addr=account)
  return(.getRequest("https://friendbot.stellar.org/", query_list))

Try the xlm package in your browser

Any scripts or data that you put into this service are public.

xlm documentation built on Oct. 23, 2018, 1:04 a.m.