CatCat ChatBot hot wallets
# Stellar
brew install python@2
brew install pyenv
pyenv install 2.7.14
pyenv local 2.7.14
- Server on DigitalOcean.
- It should say greeting.
- It should provide term and condition.
- It should check user state (
NEW
,LINKED
,ACTIVATED
). - It should ask user to create
XLM
wallet forNEW
user.BOT : Hi, Let's link Stellar wallet to your account : [Link]
- It should
create
blankXLM
wallet on local side via web view. - It should return wallet public key/secret after generated.
- It should let user enter
PIN
for encryption. - It should encrypt with
PIN
when do form submit. - It should encrypt with master key and save to database.
- It should describe how to get wallet information.
BOT : Your Messenger has been link with Stellar, wanna see your wallet? : [wallet (=)]
- It should check current state of wallet (not activate/activated).
BOT : It seem like you didn't activate Stellar's account yet : Please send at least 1 lumen (XLM) to this account. : [show me how (?)]
- It should describe how to activate the wallet when need.
- It should show wallet information.
BOT : You've : 1 XLM = $0.34
{
psid: {
xlm: encrypted(G123, master_key)
}
}
- It should describe to
Alice
how to send and requestXLM
- It should ask
Alice
tosend
XLM
toBob
- It should generated
send
link forAlice
andshare
toBob
. - It should able to handle
send
link fromBob
. - It should describe
Bob
how to acceptXLM
- It should notify when wallet amount change (interval 1 minute).
- Correct failed case.
- TBD
- It should able to ICO without KYC
- It should able to ICO with KYC
- It should able to connect with
keybase.io
somehow
- 2 Factor DNS, Server
- SSH only, Strict permissions, UFW
- A Grade SSL, Header
- Use Docker secret
- CORS, Helmet
- Encrypted server with master key
- Encrypted local with user pin
- Authen MongoDB
- Integrity check with other DB
- Use oauth for multi-factor authen
- HA MongoDB : https://github.com/smartsdk/mongo-rs-controller-swarm
- Move to Google Cloud if get funding.