You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Locutus' ability to support a wide variety of tools and languages for developing decentralized apps is both a blessing and a curse. The blessing is flexibility but the curse is developer convenience.
To address this, I've been working on a command line tool called abel that's designed to make it easy to create decentralized apps while mixing and matching various development tools and languages.
Current workflow is:
$ cargo install freenet-able
$ able create flood_tokens
$ cd flood_tokens
$ ls
able.toml
The able.toml file is used to set up the project, an example would be:
The apply command is similar to the apply command in terraform, it synchronizes directory state with what's been decoratively specified in the able.toml file.
$ able apply
Create flatbuffer-schemas directory? [Y/N/A] Y
Create contracts.allocations rust-contract? [Y/N/A] Y
Create components.token-generator rust-component? [Y/N/A] Y
Create interface.typescript typescript-library? [Y/N/A] Y
$
Each subdirectory will be generated from a template based on the type, creating something like this directory structure:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Locutus' ability to support a wide variety of tools and languages for developing decentralized apps is both a blessing and a curse. The blessing is flexibility but the curse is developer convenience.
To address this, I've been working on a command line tool called
abel
that's designed to make it easy to create decentralized apps while mixing and matching various development tools and languages.Current workflow is:
The able.toml file is used to set up the project, an example would be:
The
apply
command is similar to the apply command in terraform, it synchronizes directory state with what's been decoratively specified in theable.toml
file.Each subdirectory will be generated from a template based on the type, creating something like this directory structure:
Beta Was this translation helpful? Give feedback.
All reactions