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.
- Mojolicious
- *BSD/Linux
- Postgresql 9.2+
Perl Modules
- DBI
- DBD::Pg
- Net::SMTP
- JSON::RPC::Client
Code
- Install Mojolicious
- Place code in a directory that has suitable permissions on it
- Delete the sql and t directories (after you import the SQL)
- Run hypnotoad on script/wse
- Go to IP_of_server:8080
SQL
- Import data_type.sql
- Import main.sql
- Import functions.sql
- Import initialization_data.sql
If you would like to run WSE in a test environment I recommend the following procedure
- Install the web app and SQL files
- Create a user through the web interface
- Import test_data.sql
- 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)