Giter VIP home page Giter VIP logo

burst-account-activator's Introduction

Burst Account Activator

This is a web application (and service) to activate new Burst accounts.

A Burst account is considered active only, if it owns a public key. Usually, the public key is only generated once the account has executed at least one transaction on the blockchain. To execute a transaction one needs
a sufficient balance to pay the transaction fee. To do this, an user who just created an account must ask someone to transfer some BURST to that account (or using a faucet). In that first step, the account will be registered in the blockchain (as receiver) and though exists publicly. To turn from an passive into an active account the user has to create any kind of transaction.

This service sends the user a welcome message and by passing the user accounts public key the account gets activated. Doing so, the user does not need to create a transaction and the sending step can be omitted.

Running the app locally

However you get the code, you can install dependencies and run the project in development mode with:

npm install # or yarn
npm run dev

Open up localhost:3000 and start clicking around.

Building app

To build the application (build that static files) run

npm run build

The static files are stored under __sapper__/build

Deployment

Once built, the application can be deployed on any static file server

Deploying on Now

Now is a "serverless" deployment service from zeit.co. This project is configured to be hosted on Now

Prerequisites

  1. Create an account on zeit.co
  2. Install now.cli globally on your machine
  3. Having a Burst account, which will serve as activator account (the one that sends the welcome messages)
  4. Register the secret passphrase for the activator account using
    • testnet: now secrets add activator-account-testnet "<passphrase>"
    • mainnet: now secrets add activator-account-mainnet "<passphrase>"

Deploy

  • Deploy a testnet (staging) version: npm run deploy:staging
  • Deploy a mainnet (production) version: npm run deploy:production

burst-account-activator's People

Contributors

ohager avatar

Stargazers

 avatar

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.