Commit Graph

270 Commits (941b21f34f9af32e21bd73b63806a310f6a45a32)

Author SHA1 Message Date
derekpierre 941b21f34f More renames of instances of eth_provider_uri to either blockchain_endpoint or eth_endpoint. 2023-10-04 13:30:18 -04:00
derekpierre 55c6e6a971 Update PRE examples to no longer require specifying an L2_NETWORK since it is implied based on the TACo Network being used. 2023-10-04 13:30:18 -04:00
derekpierre 4ab26188e9 Update TACo example scripts to no longer use redundant parameters with respect to polygon network. 2023-10-04 13:30:18 -04:00
derekpierre 4166c7dae9 Rename eth_provider_uri to eth_endpoint as it pertains to Characters/nodes/CLI options. 2023-10-04 13:30:18 -04:00
Kieran Prasch 1858f49a99 tests use the refactored ContractRegistry and RegistrySource interfaces 2023-10-04 19:24:43 +02:00
Kieran Prasch e1f81d9a5e nucypher packages Base|InMemory|ContractRegistry -> ContractRegistry 2023-10-04 19:24:43 +02:00
derekpierre 2d000bad26 Reconfigure examples folder structure; default is taco, and pre is the subfolder. 2023-09-28 11:53:20 -04:00
derekpierre 8ac2af0272 Move PRE examples to their own subfolder.
Update .gitignore appropriately.
2023-09-28 11:53:20 -04:00
derekpierre 99d2bd86ae Update README/comments to no longer reference the legacy NuCypher Network. 2023-09-28 11:53:20 -04:00
derekpierre 52341f2e3d Update finnegan's wake demo to work properly, and update README. 2023-09-28 11:53:20 -04:00
derekpierre 036c9bda22 Update hearbeat PRE demo to work appropriately. 2023-09-28 11:53:20 -04:00
derekpierre 05e34f6620 Rename tdec folder/files to use taco. 2023-09-28 09:46:23 -04:00
derekpierre 2bf6c3d187 Update example with compound condition to use the default test Enrico signer. 2023-09-28 09:43:33 -04:00
derekpierre 2ba062da79 Update example local script to use a random signer with Enrico. 2023-09-28 09:38:04 -04:00
derekpierre 32a5ba187e Update testnet example to use known Enrico signer.
Minor clean up based on api updates.
2023-09-28 09:36:02 -04:00
Kieran Prasch 499f903976 Adapt tests and exmaples to merged Operator, without Ritualist. 2023-09-14 16:26:05 -04:00
derekpierre 243448d015 Bob no longer needs ritual id as a parameter for decrypting the threshold message kit since the Coordinator contract can be used for obtaining the ritual id from the dkg public key which is already stored in the threshold message kit. 2023-09-11 11:50:54 -04:00
LunarBytes cecdee5fde
Merge pull request #3210 from KPrasch/multichain
Multichain Compound Condition Example (Lynx)
2023-08-28 11:24:08 +02:00
LunarBytes b616bc780c
Merge pull request #3209 from KPrasch/bugfixes
Assorted Bugfixes (migrations, multichain, condition schema)
2023-08-28 10:51:08 +02:00
derekpierre ce3d399483 Remove fake python core shim, and use actual nucypher_core objects now that they are available via associated nucypher-core PR. 2023-08-27 03:19:28 +02:00
derekpierre f93f1b1019 Rename DkgMessageKit to ThresholdMessageKit. 2023-08-27 03:18:08 +02:00
derekpierre a84680e6ca Update threshold_decrypt to take a DkgMessageKit instead of ciphertext and conditions. 2023-08-27 03:18:08 +02:00
derekpierre 13fe740c9a Update Enrico.encrypt_for_dkg to return DkgMessageKit shim. 2023-08-27 03:18:08 +02:00
Kieran Prasch 8fcc54cfd1 multichain compound tdec example 2023-08-27 03:13:30 +02:00
Kieran Prasch fc5ae1b1b1 add missing 'conditionType' field in examples. 2023-08-27 00:49:22 +02:00
derekpierre 6fb61bacec Remove use of threshold decryption request when encrypting data - should not be returned when encrypting - it's use is for decrypting (variant and context).. 2023-07-09 10:41:02 -04:00
Justin Holmes 89f0108528 For the connoisseur of outdated and inaccurate metaphors
Co-authored-by: LunarBytes <kieranprasch@gmail.com>
2023-07-07 18:58:31 +02:00
jMyles 52f5dde8a3 Making black happy. 2023-07-07 18:56:48 +02:00
jMyles 48a6eaacfa Better showing of drop-in replacement Enrico. 2023-07-07 18:56:48 +02:00
jMyles 8b302cfaf7 Better names for higher-order cleartext objects. 2023-07-07 18:56:43 +02:00
Justin Holmes 0eaf4f293d Ritual ID, not just arbitrary ritual data
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
2023-07-06 14:11:10 +02:00
jMyles cb1cfe5da8 Updated a couple imports. 2023-07-06 13:19:33 +02:00
jMyles f31391164c Impossible condition passes with ThisBobAlwaysDecrypts. 2023-07-06 13:19:33 +02:00
jMyles f8f7f75b21 Local demo now uses 'always successful' Bob variant. 2023-07-06 13:19:33 +02:00
jMyles 3bf02094a0 Adding classes for tools the Bobs who always decrypt and always fail. 2023-07-06 13:19:33 +02:00
jMyles d279527af1 Not doing params anymore. 2023-07-06 13:19:33 +02:00
jMyles 32adb5cb72 Updating example to use prefix notation. 2023-07-06 13:19:33 +02:00
jMyles 8d90eb0d71 Bob needs a provider URI, but can be fake here. 2023-07-06 13:19:33 +02:00
jMyles 6608f75597 No longer None - must actually pass (fraudulently discerned) public params. 2023-07-06 13:19:33 +02:00
jMyles 4d5fec8889 No need to override threshold_decrypt at all anymore. 2023-07-06 13:19:33 +02:00
jMyles cb4847401a Confirmatory conculsion. 2023-07-06 13:19:33 +02:00
jMyles c0991e0b62 Casting to bytes for comparison. 2023-07-06 13:19:33 +02:00
jMyles 860c86b881 Toward full compatibility (in fact, no override) of threshold_decrypt 2023-07-06 13:19:32 +02:00
jMyles 8e40988fa2 Moving most boilerplate logic out of demo and into demo tooling. 2023-07-02 21:24:04 +02:00
jMyles 5282e8ddaf Beginnings of local tdec demo, with parts borrowed from ferveo demo. 2023-07-02 21:24:04 +02:00
jMyles 8775d69e87 Beginning separation of simple tdec demos into 'using testnet' and local. 2023-07-02 21:24:04 +02:00
Kieran Prasch 1032a2b556 bump ritual ID in simple tdec example 2023-06-26 20:42:51 +02:00
Kieran Prasch b9d36dc13f touch ups for the simple tdec example 2023-06-26 20:42:51 +02:00
Kieran Prasch 70e4e8429d use ritual 0 by default in simple tdec example. 2023-06-26 20:42:51 +02:00
Kieran Prasch 1c6d299837 updates simple tdec example for use with alpha 5 2023-06-26 20:42:51 +02:00