Giter Club home page Giter Club logo

hackathonbsv's Introduction

hackathonBSV

https://twitter.com/Bsvespanol/status/1167788560126267392

August 31st - September 1st 2019

This hackathon se realizó el pasado 31 de Agosto de 2019

Castellví de Rosanes - Barcelona

En qué consiste

Proyecto de integración de pagos con BSV, hacia dispositivos IoT para #Automatización Industrial y Domótica.

Usamos MoneyButton.com para integrar un botón de pago con el que podremos activar hardware con una sencilla y asequible transacción en la blockchain.

Configuración de la parte web

El componente web es muy sencillo y se usa principalmente para mostrar el botón de MoneyButton con la configuración adecuada.

Es configurable la dirección de destino, la cantidad a pagar y el Client Identifier. Puedes editar test.js para cambiarle la configuración.

El Client Identifier será importante porque debe coincidir con el usado en la parte de servidor que leerá las transacciones realizadas.

Configuración de la parte servidor

Puedes ejecutar el script servidor con python2 y python3. Para instalar las dependencias: python -m pip install -r server/requirements.txt

Ejecutar el script: python server/reader.py

La primera vez creará el archivo mínimo de configuración config.json que habrá que completar al menos con client_identifier y client_secret que facilita la web de MoneyButton al crear una app dentro de su web.

August 31st - September 1st 2019

This hackathon was held on August 31st, 2019

Castellví de Rosanes - Barcelona

What does it consist of

Project of integration of payments with BSV, towards IoT devices for Industrial #Automation and Home Automation.

We use MoneyButton.com to integrate a payment button with which we can activate hardware with a simple and affordable transaction in the blockchain.

Web part configuration

The web component is very simple and is mainly used to display the MoneyButton part with the appropriate settings.

The destination address, the amount to be paid and the Client Identifier are configurable. You can edit test.js to change the settings.

The Client Identifier will be important because it must match the one used in the server part that will read the transactions made.

Server part configuration

You can run the server script with python2 and python3. To install the dependencies: python -m pip install -r server/requirements.txt

Run the script: python server/reader.py

The first time you will create the minimum configuration file config.json that must be completed at least with client_identifier and client_secret provided by the MoneyButton website when creating an app within its website.

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.