~Building Open Secure Apps ~
Product-Crowd-Sale, PCS is a secure protocol providing authorizations and liquidty. Participants can have full control of functions below
- authorization to login to systems
- transfering the authorization to other nodes
- buying / selling that authorization in the exchange on a decentralized protocol
just type
$ python3 wakannai.py
A NFT is attached Sub-Publickey generated by a password. For users of secure apps, only a password is needed to login.
Developers can build authorization systems for token holders by PCS_Client.check_sig() function. Login system does not need other functions, then building secure apps on this library needs few lines codes in many cases.
In the process of generating keys, BlackBox is set for anti Brute Force attacks and traceability against attackers.(“Security and Safety” in detail )
In joining phase, users have only password or sub privatekey (without_account_without_wallet mode), only DEX uses are forbidden. After having an account of the chain. they can move tokens to accounts and have full safety and full control. (with_account mode)
A client can transfer tokens and refresh subkeys with password or sub privatekey (transferid2, refreshkey2), and can login each services for the token as well (check_sig).
A client can transfer tokens and refresh subkeys with the accoun keys. And any contract function including DEX operation is available.
with_account mode provides users safety of Service Logins excepting the case of losing both of account key and sub privatekey.
When sub-privatekeys are exposed by hacking or by free riders, any honest node can lock the NFT and stop its functions with the sub-privatekey. (client.py : PSC_Client.lock() )
The owner can recover its functions of locked NFT with refreshkey()
with_account mode users can use DEX to sell / buy NFTs. (dexclient.py)
requirements: keosd installation. https://developers.eos.io/eosio-home/docs/introduction Please install cleos & keosd as the link above guides. Installing CDT is not necessaly (3~5 hours are needed). Making sure of
$ keosd
running is necessaly at least. The codes work when
$ keosd --http-server-address 127.0.0.1:8888
is runnig. If no account, pcseveryone2@test is available as a rental account.
$ cleos wallet import --private-key 5KhcoSuV9vCyDY5efv7giGdpEmbyuscWfT9R3tY2dmGy9E7ZotM
$ pip install -r requirements.txt
https://link-airdrop.s3.amazonaws.com/index.html
just type
$ python3 wakannai.py