Skip to content

proplatformers/chips-in-a-box

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

  • Ubuntu 64 bit 18.04 AMD/Intel
  • 4GB RAM
  • 20GB HDD

Software

  • (?)Fail2ban
  • CHIPS
  • Lightning
  • Pangea Poker Frontend
  • More to come including marketmaker-in-a-box

Install

git clone https://github.com/proplatformers/chips-in-a-box
cd chips-in-a-box
setup/start.sh

Follow the INSTALL menu. If any stage breaks during git clone then rm the directory to start that part again. This will be handled better in the future.

  • CHIPS (if clone problem, rm -Rf $HOME/chips3)
  • LIGHTNING (if git clone problem, rm -Rf $HOME/lightning)
  • PANGEA
  • BET (if git clone problem, rm -Rf $HOME/nng & rm -Rf $HOME/bet)
  • STARTSERVING Browse to the box on port 7777 e.g. http://xxx.xxx.xxx.xxx:7777

No TLS or proxying for security yet.

Work in progress.

Helpful command line bits and pieces (no menu driven setup yet)

lightningd --alias=friendlyalias --ipaddr=62.210.81.14  --rgb=555555 --log-level=debug
ifconifg
lightningd --alias=friendlyalias --ipaddr=62.210.81.14  --rgb=555555 --log-level=debug &
lightning-cli getinfo | jq
lightning-cli getnewaddress
lightning-cli newaddr | jq
lightning-cli listfunds
lightning-cli connect 0256124bcee83d67d0a0e781509ec5b8b58eb374d46dd93f811575b6c8268e4616  185.62.57.207
lightning-cli connect 025612
lightning-cli connect 02851a6b619adb7f9c4876a3d90b68b0dc0caf7140b9fd3cf9bb8eb7060e03958f 185.62.57.25
lightning-cli fundchannel  02851a6b619adb7f9c4876a3d90b68b0dc0caf7140b9fd3cf9bb8eb7060e03958f 200000
lightning-cli connect 0256124bcee83d67d0a0e781509ec5b8b58eb374d46dd93f811575b6c8268e4616  185.62.57.207
lightning-cli fundchannel 0256124bcee83d67d0a0e781509ec5b8b58eb374d46dd93f811575b6c8268e4616  50000
lightning-cli connect 0256124bcee83d67d0a0e781509ec5b8b58eb374d46dd93f811575b6c8268e4616  185.62.57.207

Forked from Komodo-in-a-Box

By @imylomylo and contributors.

Komodo-in-a-Box helps individuals and group take back control of their economy by defining a one-click, easy-to-deploy blockchain+services server. This is a continuation of the original cakeshop in a box project.

Please see https://cakeshop.dev/komodo-in-a-box for the project's website and setup guide!

Below is the original content from cakeshopinabox & from mailinabox, where this project got it's inspiration

Cakeshop - Welcome


Project goals are to:

  • Make deploying a good blockchain server easy.
  • Promote innovation, and self-determination on the web.
  • Build community projects and proof of concepts for people to learn
  • Not make a totally unhackable, NSA-proof server.
  • Not make something customizable by power users.

The Box

Cakeshop-in-a-Box turns a fresh Ubuntu 18.04 LTS 64-bit machine into a working blockchain server by installing and configuring various components.

It is a turnkey blockchain appliance. There are no user-configurable setup options. It "just works".

Setup

Cakeshop - Setup

The components installed are:

  • Custom blockchain platform by (Komodo) for building ecosystems.

    Install Cakeshop - Install

It also includes:

  • to do...

  • to do...

    Sync & Run Cakeshop - Sync Cakeshop - Run

Installation

See the setup guide for detailed, user-friendly instructions.

For experts, start with a completely fresh (really, I mean it) Ubuntu 18.04 LTS 64-bit machine. On the machine...

Clone this repository:

$ git clone https://github.com/Komodo-Cakeshop/cakeshopinabox
$ cd cakeshopinabox
$ sudo setup/start.sh

Original Mail-In-a-Box Information

The following is info from Mail-In-a-Box where I got the inspiration to create Cakeshop-In-a-Box.

Optional: Download Josh's PGP key and then verify that the sources were signed by him:

$ curl -s https://keybase.io/joshdata/key.asc | gpg --import
gpg: key C10BDD81: public key "Joshua Tauberer <jt@occams.info>" imported

$ git verify-tag v0.41
gpg: Signature made ..... using RSA key ID C10BDD81
gpg: Good signature from "Joshua Tauberer <jt@occams.info>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 5F4C 0E73 13CC D744 693B  2AEA B920 41F4 C10B DD81

You'll get a lot of warnings, but that's OK. Check that the primary key fingerprint matches the fingerprint in the key details at https://keybase.io/joshdata and on his personal homepage. (Of course, if this repository has been compromised you can't trust these instructions.)

Checkout the tag corresponding to the most recent release:

$ git checkout v0.41

Begin the installation.

$ sudo setup/start.sh

For help, DO NOT contact Josh directly --- I don't do tech support by email or tweet (no exceptions).

Post your question on the discussion forum instead, where maintainers and Mail-in-a-Box users may be able to help you.

Contributing and Development

Mail-in-a-Box is an open source project. Your contributions and pull requests are welcome. See CONTRIBUTING to get started.

The Acknowledgements

This project was inspired in part by the "NSA-proof your email in 2 hours" blog post by Drew Crawford, Sovereign by Alex Payne, and conversations with @shevski, @konklone, and @GregElin.

Mail-in-a-Box is similar to iRedMail and Modoboa.

The History

  • In 2007 I wrote a relatively popular Mozilla Thunderbird extension that added client-side SPF and DKIM checks to mail to warn users about possible phishing: add-on page, source.
  • In August 2013 I began Mail-in-a-Box by combining my own mail server configuration with the setup in "NSA-proof your email in 2 hours" and making the setup steps reproducible with bash scripts.
  • Mail-in-a-Box was a semifinalist in the 2014 Knight News Challenge, but it was not selected as a winner.
  • Mail-in-a-Box hit the front page of Hacker News in April 2014, September 2014, May 2015, and November 2016.
  • FastCompany mentioned Mail-in-a-Box a roundup of privacy projects on June 26, 2015.

About

CHIPS-In-a-Box, Turnkey Blockchain Poker.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Shell 94.2%
  • Python 5.8%