Giter VIP home page Giter VIP logo

dappnodepackage-raiden's Introduction

DAppnodePackage-raiden

DAppNodeStore Available

This is a package to deploy a Raiden node in a DAppNode.

The Raiden Network is an off-chain scaling solution, enabling near-instant, low-fee and scalable payments. It’s complementary to the Ethereum blockchain and works with any ERC20 compatible token.

See the documentation for more information.

Build prerequisites

  • git

    Install git commandline tool.

  • docker

    Install docker. The community edition (docker-ce) will work. In Linux make sure you grant permissions to the current user to use docker by adding current user to docker group, sudo usermod -aG docker $USER. Once you update the users group, exit from the current terminal and open a new one to make effect.

  • docker-compose

    Install docker-compose

Note: Make sure you can run git, docker ps, docker-compose without any issue and without sudo command.

Building

docker-compose build

Running

License

This project is licensed under the MIT License - see the LICENSE file for details

Note

This is early stage software

Raiden mainet keystore uploading doc

Raiden is available in DAppNode in mainet and the different testnets, but in mainet you have to upload your own keystore.

Running Raiden in mainet

In mainet you will have to install the mainet package and take into account that your Ethereum node should be running with this flags.

--jsonrpc-apis=eth,net,web3,parity and the flag --no-ancient-blocks should not be activated.

If you do not have a keystore file, you can create a new wallet in My Ether Wallet or MyCrypto, and then fund it with a bit of ETH / WETH (only token supported in mainet at the moment).

Please be aware that the online creation of wallets via a keystore file is not such a good security practice. This can be mitigated if you download the MyCrypto local app and create the wallet offline.

Do not leave significant value in wallets created through this method.

Keystore uploading

Go to packages and enter the Raiden package

  • In the "File manager" tab upload your keystore file (please note that in the current version, WETH is the only token supported)

No need to select any path in this case, you can leave this field as it is, and the keystore file will be uploaded in the correct path once you hit the "Upload" button.

  • In "Environment Variables", fill the options with:

    • The password of the uploaded keystore
    • Its address

Here you have an example screenshot!

If all the steps have been performed correctly you will see these logs within the Raiden package (at the bottom of the screen)

Now you can access the Raiden UI and start doing instant payments.

Backup of your account

When you install the Raiden mainet package the keystore is stored in your DAppNNode.

If you want to have a backup of that account follow these steps.

  • Enter the Raiden Package in the packages tab and scroll down to File Manager
  • Write "keystore" in the "Download from DNP" field
  • Hit download

A compressed file called "keystore" will be dowloaded containing both the keystore file and the password (the latter as a hidden file)

Using Raiden with different accounts

If you have different keystores with WETH and you want to switch the account, you can do so by uploading your keystore file to the Raiden DAppNode Package (DNP) and by writing the address and password of your keystore in the environment variables field.

  • Go to File manager
  • Hit browse and select your keystore file
  • Click upload without need to write anything in the path field

Your keystore is now uploaded. Now we need to tell the package that you want to use that keystore

  • Go to Environment Variables
  • Type the password of your newly uploaded keystore (address is not necessary, it will be automatically detected)
  • Hit update environment variables

You are done!

When you go to the Raiden ADMIN UI you will see your custom account.

As long as you have the keystore uploaded to the package you can use any account just by typing its password in the Environment variables field of the package and hitting Update, just the password, you do not need to write the address, the account will be recognized and you will be using that account when accessing the UI.

Now you are ready to enjoy fast, cheap, and scalable token transfers for Ethereum.

dappnodepackage-raiden's People

Contributors

dapplion avatar pablomendezroyo avatar shelpin avatar vdo avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

dappnodepackage-raiden's Issues

Perfect candidate for a setup wizard

Since the Raiden package requires

  1. uploading a keystore,
  2. providing the address
  3. and the password for the keystore

These steps could be added in a setup wizard and facilitate its use.

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.