Giter Site home page Giter Site logo

crypto-club's Introduction

crypto-club

Get a VPS instance

LeafCloud

Create an account on LeafCloud.

Under > Compute > Instances: launch a new instance:

  • Details: Give your instance a name and state the amount of instances you want to launch in 'Count'
  • Source: 'Select Boot Source' should be 'Image' and keep 'Volume Size' at 1. Move 'Ubuntu-20.04' from 'Available' to 'Allocated'
  • Flavor: Move 'ec1.xsmall' to 'Available'
  • Network: An external network should be listed under 'Allocated'
  • Key Pair: Add your public ssh key.
  • Click on 'Launch Instance'

Under > Network > Security Groups: Click on 'Manage Rules' for the default security group:

  • Click 'Add Rule'
  • Rule: Select 'All TCP'
  • Direction: 'Ingress'
  • Remote: 'CIDR'
  • CIDR: '0.0.0.0/0'
  • Click 'Add'

Go back to Compute > Instances and check your the IP Address of your instance. Use it to login using: ssh ubuntu@<IP Address>

DigitalOcean

Create an account on DigitalOcean. Select your project and create a Droplet:

  • Choose 'Ubuntu 20.04' as your image
  • Select the 'Basic' shared CPU plan
  • Select 'Regular Intel' option with 1 GB / 1 CPU, 25 GB SSD Disk and 1000 GB transfer
  • Select a datacenter region
  • Select 'Monitoring' under additional options
  • Select 'SSH keys' under Authentication and add your SSH key.
  • Select the amount of Droplets you want and name them
  • Click 'Create Droplet'

Wait for your Droplet to initialize and use the IP Address to login using: ssh root@IP Address>

WASP node setup

Clone this repository in the home folder of your instance:

git clone https://github.com/nanderstabel/crypto-club.git

Move server-setup.sh script to home folder and run it:

mv crypto-club/server-setup.sh .
source ./server-setup.sh

After compiling your WASP-node automatically starts running. Let it run and continue working in a new terminal. You can check if the node is indeed running by opening the dashboard by visiting <IP address>:7000 in your browser. You can find your IP address using this command: hostname -I. Make sure it is a public IP if you want to connect with nodes outside your network.

It will ask for a username and password; both of them are wasp by default.

If you want to start a committee of multiple nodes you will need the PubKey and NetID from all the nodes you want to peer with. Your peers can acquire this information using the following command in their wasp folder:

./wasp-cli peering info

To help you add your peers to your committee move the node_peering.sh script to your wasp folder:

mv ../crypto-club/node_peering.sh .

For each node you want to add to your committee run the command below. Beware that for each new node you add you need to increment the first argument (starting at 1):

./node_peering.sh 1 <PubKey> <NetID>

Don't forget to add your own PubKey and NetID to your peer nodes as well.

Check if all nodes are added succesfully:

./wasp-cli peering list-trusted

You might need to restart all nodes in the committee before continuing:

./wasp --logger.level="warn"

For deploying a chain and add smart contracts follow this guide.

When you're done with your node for the day, I recommend to do the following: Check in your config.json file if under logger.outputPaths there is an array with stdout and wasp.log . Delete wasp.log, the array should look like this: ["stdout"] . This will prevent you from running out of disk space. Also make sure to run your wasp node like this:

nohup ./wasp >/dev/null 2>&1 &

Nohup will allow you to keep wasp running when not logged into your instance. The second part of the command makes sure no log-file is created

crypto-club's People

Contributors

nanderstabel avatar

Watchers

Rutger Cappendijk avatar  avatar Dominique avatar Joris Boer avatar  avatar

Forkers

joorsb

crypto-club's Issues

UTXO

Prepare mini presentation about the concept of UTXO.

Organize IOTA meetup

  • Communication with Jelle Millenaar
  • Create Meetup.com page
  • Ask Xander for (technical) help
  • Make meetup announcement

make README

  • How to work with the kanban board?
  • How to create issues (labels, etc)
  • Introduction for new people

Define club goals and pitch

Think about how we want to define our club. What are our goals/ambitions? What people do we want to involve and how? How do we want other people/groups to see us? What would be a simple and concise 'pitch' that summaries our club?

Create example presentation of WASP node/Smart contract

To give people an idea of the workings of WASP nodes and smart contracts on IOTA, we should make a small presentation of an example of a smart contract, perhaps connected to a front end application.

Ideas:

  • Send/view simple messages
  • Simple voting system
  • Display 'Hello World'
  • A combination of these

First version whitepaper

I'll be focusing on making the first version of the whitepaper of the blockchain based research paper distribution network.

Conflicting Transactions

Prepare mini presentation about the concept of Conflicting Transactions.

How does the IOTA tangle deal with conflicting transactions?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.