Commit Graph

1452 Commits (2670982d0076edd85a5a684a83300c5c54fd30f9)

Author SHA1 Message Date
jMyles 9c1e6c13cc cryptoKits is now its own project. 2018-04-05 17:23:17 -06:00
jMyles ef9b595147 Fixed mutable in method kwarg. 2018-04-05 17:23:17 -06:00
Kieran Prasch 485be636cd Builds upon KMSConfig classes, injecting subconfigurations, wallet, and keychain; adds make_powerup method skeleton. 2018-04-05 17:23:17 -06:00
Kieran Prasch a9038c5d9b Recompose config module classes, KMSConfig split into multiple objects. Override policy publish method and call via super. 2018-04-05 17:23:17 -06:00
Kieran Prasch 7f7dfe2337 Default config paths; Extrapolates config utils module; further outlines blockchain management 2018-04-05 17:23:17 -06:00
tuxxy 049153498f Use JSON and dicts for keyfiles via _parse_keyfile and _save_keyfile
Add get_signing_key and get_decrypting_key functions

Add comment for time on master key derivation
2018-04-05 17:22:44 -06:00
tuxxy c57f1349f0 Add cryptographic functions for key derivation and wrapping 2018-04-05 17:22:19 -06:00
tuxxy 8edcb24aff __default_key_path -> __default_key_dir 2018-04-05 17:22:19 -06:00
Kieran Prasch 1b7eb2ecfe Experimenting with web3 for blockchain config. 2018-04-05 17:22:19 -06:00
tuxxy 0026486959 Generate Umbral keys for config 2018-04-05 17:22:19 -06:00
tuxxy b6a061f129 Inherit PolicyAuthor on Alice 2018-04-05 17:22:19 -06:00
Kieran Prasch df9e32e44c Outlines composition for KMSConfig class, helper methods, and Curses based interface 2018-04-05 17:22:19 -06:00
tuxxy 448e2d7223 Begin integration of KMS-Ethereum codebase into KMS 2018-04-05 17:21:23 -06:00
jMyles 11263663f3 Special value constants changed to constantSorrow; lengths adjusted. Also, new test for Signature comparison. 2018-04-05 10:23:28 -07:00
jMyles 9203653b12 Better constants for various lengths. 2018-04-05 10:18:30 -07:00
jMyles 2a4d20c39f Better name for signature_to_use. 2018-04-05 10:14:40 -07:00
K Prasch 64a0558e0a [KMS-ETH]- Merge pull request #11 from KPrasch/python_api
Contract agent and deployer Interface
2018-04-04 20:44:01 -07:00
Justin Holmes b017c6ffff
Merge pull request #187 from jMyles/code-organization
Spins off two modules as projects: bytestringSplitter and constantSorrow.
2018-04-04 20:43:27 -07:00
jMyles 16c6062b4d Putting cryptoKits back into the main repo for now. 2018-04-03 23:34:49 -07:00
Kieran Prasch 3ff14b6446 [KMS-ETH]- Moves test utilities to nkms_eth, code reorg, cleanup, and documentation updates. 2018-04-02 10:23:16 -07:00
jMyles ff36cbd257 Added new spinoffs as dependencies. 2018-04-01 23:41:42 -07:00
jMyles d3884518f2 Cleaning up and sanding kit and verify_from() logic. 2018-04-01 22:44:00 -07:00
tuxxy 06539daedd 'Contract' -> 'Arrangement' 2018-04-01 22:16:51 -06:00
jMyles f789aaf7f7 New verify_from() logic. Fixes #174. 2018-04-01 20:17:47 -07:00
Kieran Prasch 3876a26248 [KMS-ETH]- Miner high-level staking method; API updates from code review, makes blockchain public, refactors some naming conventions and fixes datetime.utcnow. 2018-04-01 19:49:45 -07:00
jMyles fc99ef2e27 BytestringSplitter is now its own project. 2018-04-01 18:52:30 -07:00
jMyles eb4605d573 Using constantSorrow for constants. 2018-04-01 18:52:08 -07:00
jMyles 8d2bd2d77d cryptoKits is now its own project. 2018-04-01 18:50:53 -07:00
jMyles 22ab9b69bf Fixed mutable in method kwarg. 2018-04-01 18:48:43 -07:00
Kieran Prasch 1d8ed68ad3 [KMS-ETH]- Merge remote-tracking branch 'upstream/master' into python_api 2018-03-31 15:08:56 -07:00
szotov d6fe379518 [KMS-ETH]- Added methods to withdraw reward in UserEscrow contract 2018-03-30 14:45:58 +03:00
Justin Holmes e5eccaee4b
Merge pull request #181 from jMyles/master
Using new "to cryptography" methods.
2018-03-29 19:02:34 -07:00
Kieran Prasch 445cc2c06a [KMS-ETH]- API updates for test / utilities. Wraps wait for receipt to present a public waiting method. 2018-03-29 09:51:47 -07:00
Kieran Prasch 3cf142bfcf [KMS-ETH]- Post-merge cleanup with @szotov's contract changes and client update. 2018-03-29 09:49:41 -07:00
Kieran Prasch e8f44e611e [KMS-ETH]- Extracts policies module, API updates, further collapse contract wrapper logic up inheritance tree. Enhances docstrings. 2018-03-29 09:49:41 -07:00
Kieran Prasch 84f9454436 [KMS-ETH]- Fixed high gas consumption in PolicyManager; Deprecate token module. 2018-03-29 09:48:12 -07:00
Kieran Prasch 8eba164ed3 [KMS-ETH]- Test module reorg, and update to contract / deployers API 2018-03-28 10:49:05 -07:00
Kieran Prasch 816383e4e1 [KMS-ETH]- Refines naming for Miner and Token config classes, uses config classes as mixins. 2018-03-28 10:49:05 -07:00
Kieran Prasch 9a4c4ad135 [KMS-ETH]- Payment model and client methods updates; Additional shared base class methods for contract agents and deployers 2018-03-28 10:49:05 -07:00
Kieran Prasch d12572546c [KMS-ETH]- Actor, Contract, and Deployer subclasses for publishing and interfacing ethereum contracts. 2018-03-28 10:47:21 -07:00
Kieran Prasch f274b3cb4c [KMS-ETH]- Miner and Token config classes for contract deployers 2018-03-27 17:17:15 -07:00
Kieran Prasch 18feef64ec [KMS-ETH]- Introduce agent language internally. 2018-03-27 17:14:21 -07:00
Kieran Prasch 0fb07715c4 [KMS-ETH]- Agents hold reference to the deployers they represent; Condense contract base classes with shared methods beween agents. 2018-03-27 17:12:14 -07:00
Kieran Prasch 38f5da13fc [KMS-ETH]- Deployer subclass module for publishing smart contracts to a blockchain network; Cleanup names and imports post-reorg. 2018-03-27 17:09:22 -07:00
Kieran Prasch d538f5d745 [KMS-ETH]- Actor and Contract subclasses, for client interaction and KMS integration via Mixin. 2018-03-27 17:04:49 -07:00
Kieran Prasch 1e2d277d59 [KMS-ETH]- Rename Escrow to MinerEscrow. 2018-03-27 14:32:38 -07:00
Kieran Prasch 9bacbab86c [KMS-ETH]- Extend token lanuch/fetch test with newer api and a more narrative format. 2018-03-27 14:32:37 -07:00
Kieran Prasch ed1f99b011 [KMS-ETH]- Policy author can "make arrangement", and balance method. Privatize contract references. Updates tests to match newer Miner and Escrow API (with fewer requirements). 2018-03-27 14:32:22 -07:00
Kieran Prasch ea32e07282 [KMS-ETH]- Reduces number of injected objects to instantiate contract wrapper types, Fixes miner withdraw bug. 2018-03-27 14:31:13 -07:00
Kieran Prasch 5cce0407a1 [KMS-ETH]- Policy and PolicyManager classes for alice/ursula client. reward collection via policy. Better names for transaction hashes. 2018-03-27 14:28:39 -07:00