Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Docker image for Blockstack

Notifications You must be signed in to change notification settings

tklx/blockstack

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tklx/blockstack - A New Internet for Decentralized Apps

CircleCI

Blockstack is a new decentralized internet where users own their data and apps run locally.

This is a developer preview.

Features

  • Based on the super slim tklx/base (Debian GNU/Linux).
  • Uses tini for zombie reaping and signal forwarding.
  • Includes blockstack core, virtualchain and the browser portal. We will most likely split the different components into different containers in the future, and provide documentation/wrapper scripts for container linking.

Usage

Pull the blockstack container and run it, dropping to a shell

docker pull tklx/blockstack
docker run --rm -it \
    -p 127.0.0.1:1337:1337 \
    -p 127.0.0.1:3000:3000 \
    -p 127.0.0.1:6270:6270 \
    tklx/blockstack /bin/bash

In the shell, setup blockstack core and start the api

source /blockstack/core/bin/activate
BITCOIN_WALLET_PASSWORD=$(mcookie)
blockstack setup -y --password "$BITCOIN_WALLET_PASSWORD"
sed -i "s/localhost/0.0.0.0/" ~/.blockstack/client.ini
blockstack api start -y --password "$BITCOIN_WALLET_PASSWORD" --debug

Take note of your wallet and api passwords

echo $BITCOIN_WALLET_PASSWORD
grep api_password ~/.blockstack/client.ini | sed 's/api_password = //g'

Start the cors proxy and browser portal

cd /blockstack/portal
CORSPROXY_HOST=0.0.0.0 npm run dev-proxy &
npm run dev

Browse to http://localhost:3000 (the portal). You'll need to enter the api password you took note of above.

Tip: setup a protocol-handler

Automated builds

The Docker image is built, and pushed by CircleCI from source hosted on GitHub.

  • Tag: x.y.z refers to a release (recommended).
  • Tag: latest refers to the master branch.

Issue Tracker

TKLX uses a central issue tracker on GitHub for reporting and tracking of bugs, issues and feature requests.

About

Docker image for Blockstack

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.