Skip to content

This project lets you send KIN to a given wallet address over Stellar TestNet

Notifications You must be signed in to change notification settings

OrenZak/StellarKinDistributor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KIN Distributor

This project sets up a webserver that sends KIN assets to addresses over the Stellar TestNet. It will create a KIN asset, associated with the seed in config.json file. The webserver then exposes a GET endpoint (on port 9000) that takes an address as its parameter and sends KIN assets to it.

curl 'localhost:9000/send?addr=<Stellar address to send kin too>'

Note that the receiving address will have to establish a trustline to the KIN asset issuer before it could receive any KINs.

You can create issuer seed on Stellar Laboratory.

How to Install

  • Install golang
  • Clone the repo to GOPATH/src
  • Install glide v0.13.1 for dependency management.
  • Execute the following bash code for downloading glide and dependencies.
glide install

How to Run

Run the command below

go build && ./StellarKinDistributor

Once the account is funded by testnet's friendbot, the webserver waits for incoming requests on port 9000.

About

This project lets you send KIN to a given wallet address over Stellar TestNet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages