Implementation of SEP-0010
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
handlers
.eslintrc.js
.gitignore
README.md
client.js
config.js
index.js
package.json
yarn.lock

README.md

Stellar SEP-0010 implementation

JavaScript/Node.js implementation of the Stellar Web Authentication (SEP-0010) proposal.

Read more about it in Anonymous web authentication with Stellar blockchain article on Martian Chronicles.

Installation

git clone https://github.com/gzigzigzeo/stellar-sep-0010-implementation && yarn install

Starting the server

  SERVER_PRIVATE_KEY=SDR2Z3UYCLOD3IPACJXXSBWPPULDMZ3UUS3VUB7BB5MGQMC54F2MMWWS \
  ALLOWED_ACCOUNTS=GAZQFKRTG2LBDG5ARWL4MZ2QLNVZYQHRR7K7RPH2BQAPTSF7MXOMVWXO \
  JWT_SECRET=secret \
  node index.js

Configuring the client

  CLIENT_PRIVATE_KEY=SDY7TC3KMMNP25QMEKQJTQUNXJCDHYXUTWAELRN2HKXHF2BDD5JDOTBJ node client.js