Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shimondoodkin/altcoins-exchange
just some planning
https://github.com/shimondoodkin/altcoins-exchange
Last synced: 28 days ago
JSON representation
just some planning
- Host: GitHub
- URL: https://github.com/shimondoodkin/altcoins-exchange
- Owner: shimondoodkin
- Created: 2014-01-05T00:12:37.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-05T02:28:43.000Z (almost 11 years ago)
- Last Synced: 2024-10-26T19:58:27.895Z (about 2 months ago)
- Homepage:
- Size: 133 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
altcoins-exchange
=================**basic architecture**:(based on message queue servers idea like zero mq + nodejs)
**matching engine** (with pair names as categories ) - take 1st select matching, 1st version implemented as select from database and two loops in javascript then can be reimplementd in c++.
can have a database with atable of order book and api front end**transaction makers** ( move money from one wallet to other wallet in a transaction )
in memory transactional database + front end : make deal:**live wallets for each currency** ( addresses names are of user wallet addresses or of usernames ) - coind + its front end (list wallets, list) function: move coins to address
https://github.com/bitfloor/node-bitcoin**deals archive server** with both parities wallet states as serialize before and after
log last 24 hours only in memory databasetext files of last deals per user underscore curency pair downloadable freely or by http used by ajax
**web front end**
login with google.
list of currencies as links
ask bid page(s)
wallet page list of funds in every currency + withdraw
make deal api
withdraw apideal execution
```text
0 log deal settings.
- is any wallet locked? if locked wait (skip)
1 lock both wallet
- log wallets states
2 execute: enought confirmed fundes + transaction fees? log1, do move 1, log1, log2, do move 2 log2,.
- check expected wallet states.
- log wallets states
3 unlock
- archive deal price for chart view later
```server recovery method:
look in locked unfinished deals, ask wallet states, guess deal state by it. complete the deals transactions.the best would be to write all transaction deatails in the address name
and load the transactions list into memory searchable database and on server load reload itsend money back function.
on sign up for each currency the user is asked to type a return wallet address with sending address as default.if we want to add money this looks good:
https://github.com/iamtheschmitzer?tab=repositories
http://nashx.com/HowItWorks
https://gitorious.org/intersango/bitcoind/source/00c0126dd92cec4ad8428d4317467a1588d8763e: