archethic-foundation / aeweb-cli

AEWeb CLI to deploy files on Archethic
GNU Affero General Public License v3.0
5 stars 11 forks source link

Automation to determine index in transaction chain #21

Closed manujuniris closed 2 years ago

manujuniris commented 2 years ago

Problem - For better user experience, the parameter --index can be automated and avoided while deploying files on top of Archethic Blockchain. Currently, to deploy files we use - aeweb deploy-file --seed=myseedphrase --index=0 --endpoint=https://testnet.archethic.net --path=./index.html Solution - Provide a self discovery of index while generating a transaction, the syntax to deploy files should look like - aeweb deploy-file --seed=myseedphrase --endpoint=https://testnet.archethic.net --path=./index.html