mirror of https://github.com/status-im/S-Pesa.git
update README.md
This commit is contained in:
parent
fd2a9fb49e
commit
ccfedbcd76
|
@ -20,7 +20,7 @@ Smart Pesa is a USSD/SMS Interface to Smart Contracts, #defi & Decentralised App
|
|||
- [Principles](#principles)
|
||||
- [Vision](#vision)
|
||||
- [Goals](#goals)
|
||||
- [Todo](#todo)
|
||||
- [TODO](#todo)
|
||||
- [License](#license)
|
||||
|
||||
## Introduction
|
||||
|
@ -29,7 +29,7 @@ TODO
|
|||
|
||||
### Purpose
|
||||
|
||||
To allow coordination of source code and binary releases among a group of actors you don't know.
|
||||
To connect & enable anyone connected to a mobile network accesss to Smart Contracts, #defi & Decentralised Applications.
|
||||
|
||||
### Features
|
||||
|
||||
|
@ -109,7 +109,7 @@ S-Pesa's vision is to provide people access to decentralised technologies as far
|
|||
|
||||
- TODO
|
||||
|
||||
### Todo
|
||||
### TODO
|
||||
- handle USSD HTTP POST
|
||||
- menu system
|
||||
- pin-based registration system (key gen and encrypt with truncated hash of phone number and pin?)
|
||||
|
|
|
@ -46,6 +46,8 @@ proc onRequest(req: Request): Future[void] =
|
|||
let
|
||||
uri = parseUri(req.body.get())
|
||||
params = uri.query.split('&').mapIt($(it.split('=')))
|
||||
echo(req.body.get().split('&').mapIt($(it.split('='))))
|
||||
echo(params)
|
||||
req.send("Hello")
|
||||
else:
|
||||
req.send(Http404)
|
||||
|
|
Loading…
Reference in New Issue