entropyxyz / programs

Source, toolchain, and examples for using programs on Entropy
https://docs.entropy.xyz/concepts/programs/
GNU Affero General Public License v3.0
19 stars 3 forks source link

ACL JSON Configuration #55

Closed jakehemmerle closed 5 months ago

jakehemmerle commented 7 months ago

Users should be able to update the list of addresses in an ACL program from the browser (ie without recompiling the program or using the Rust toolchain).

One way to solve this is by creating a JSON-serializable configuration for the ACL crate. The base case for this would include a new AclConfig (in entropy-programs-acl) with an address field of type Vec<String>, where the transaction address type is for all architectures for TryFrom<String>.

ATM this scope just includes ACL, but this issue applies to all custody/constraints related crates.

jakehemmerle commented 5 months ago

done