GithubHelp home page GithubHelp logo

bels / wse Goto Github PK

View Code? Open in Web Editor NEW
0.0 4.0 0.0 356 KB

Worldcoin Securities Exchange

License: BSD 3-Clause "New" or "Revised" License

Perl 93.06% JavaScript 5.20% CSS 1.74%

wse's Introduction

WSE

Worldcoin Securities Exchange is an open source exchange that allows someone to host several companies' security offerings (bond/stock). Worldcoin is a leading crypto currency that allows for fast transactions and is suited well for doing business. More proper documentation will follow shortly. Patches are welcome. This code is BSD licensed and I welcome anyone to use it within the boundaries of that license. Any bug reports or enhancement requests should be entered into the issue tracker here on github.

Prerequisites

  • Mojolicious
  • *BSD/Linux
  • Postgresql 9.2+

Perl Modules

  • DBI
  • DBD::Pg
  • Net::SMTP
  • JSON::RPC::Client

Install

Code

  1. Install Mojolicious
  2. Place code in a directory that has suitable permissions on it
  3. Delete the sql and t directories (after you import the SQL)
  4. Run hypnotoad on script/wse
  5. Go to IP_of_server:8080

SQL

  1. Import data_type.sql
  2. Import main.sql
  3. Import functions.sql
  4. Import initialization_data.sql

Testing

If you would like to run WSE in a test environment I recommend the following procedure

  1. Install the web app and SQL files
  2. Create a user through the web interface
  3. Import test_data.sql
  4. Tie the test user to a worldcoin address on your testnet (you may will have to sort out the WDC balances in the app and on testnet)

wse's People

Watchers

bels avatar James Cloos avatar  avatar  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.