Skip to main content

Lamden Blockchain

Get a computer with Ubuntu 18.04.

  • DigitalOcean droplets are our favorites if you are new.

Install Pip3

sudo apt-get update
sudo apt-get install python3-pip -y

Install MongoDB

As copied from here: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/

wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | sudo apt-key add -
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.2.list
sudo apt-get install -y mongodb-org
echo "mongodb-org hold" | sudo dpkg --set-selections
echo "mongodb-org-server hold" | sudo dpkg --set-selections
echo "mongodb-org-shell hold" | sudo dpkg --set-selections
echo "mongodb-org-mongos hold" | sudo dpkg --set-selections
echo "mongodb-org-tools hold" | sudo dpkg --set-selections
sudo systemctl start mongod

For some reason, DigitalOcean droplets, and perhaps other cloud providers, have /dev/random blocking problems. This probably is because they are running many small computers on a single Linux instance and the entropy pool dries up pretty quickly. If this doesn't make sense, install Haveged and don't worry about it.

If it does, libsodium, which is the public-private key cryptography library we use, uses /dev/random with no option to use /dev/urandom. Haveged solves this problem.

sudo apt-get install haveged -y
systemctl start haveged
systemctl enable haveged

Install Lamden

pip3 install lamden

Make a Constitution

nano ~/constitution.json

{
  "masternodes": [<list of vks here>],
  "masternode_min_quorum": <int>,
  "delegates": [<list of vks here>],
  "delegate_min_quorum": <int>
}

Ctrl+X, save the file.

Start your node

lamden <masternode | delegate> -k <sk in hex format> -bn <list of ip addresses that are currently online>

Autoinstall

You can install a script to install the entire software.

wget https://raw.githubusercontent.com/Lamden/lamden/dev/INSTALL.sh

Always practice good saftey and examine the bash file before executing it.

Metadata

Release files for lamden 1.0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lamden 1.0.4.1
File Size Uploaded
lamden-1.0.4.1.tar.gz 42.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lamden 1.0.4.1
File Interpreter ABI Platform
lamden-1.0.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 106.1 kB

Release files / lamden-1.0.4.1.tar.gz

Download URL lamden-1.0.4.1.tar.gz
Size 42.6 kB
Tags Source
SHA-256 checksum
How to use checksums
cc368c5fb4d9335d709d7ca61e02dddd2ed17dc401dcbb33a0f61e23069c7c8c
BLAKE2b-256 checksum
How to use checksums
753ba23d50c1a389759128f791b3ceed6d76a3c5bd6a3c4e6f48688d00822b65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.5

Release files / lamden-1.0.4.1-py3-none-any.whl

Download URL lamden-1.0.4.1-py3-none-any.whl
Size 63.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eb7517b41c649fd4fd8f4b3e4a4caa7c840c2fafccc882bb74ce1eb9153de822
BLAKE2b-256 checksum
How to use checksums
68837f5b5f6608cde8a3a4c11db3fb9c8c9a6fd92f3ab44d6b557547f613d0fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.5

Release history Release notifications | RSS feed

This release

1.0.4.1 This release

2 release files

1.0.4

2 release files

1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page