Skip to content

Latest commit

 

History

History
63 lines (50 loc) · 2.17 KB

File metadata and controls

63 lines (50 loc) · 2.17 KB

ÆWeb

Welcome to the ÆWeb Cli repository ! This command line interface enables you to deploy files on top of ARCHEthic Public Blockchain.

Using this cli you can deploy a single page website

Instructions

To get the ÆWeb CLI, you need NodeJS (latest version) installed. Then you need to install the CLI, using:

npm install aeweb -g

To check if ÆWeb CLI is installed successfully, try :

aeweb about

To generate address you need -

  • seed is a string representing the transaction chain entropy to be able to derive and generate the keys for the transactions
  • index is the number of transactions in the chain, to generate the current and the next public key
aeweb generate-address --seed=myseedphrase --index=0

To deploy files you need -

  • seed is a string representing the transaction chain entropy to be able to derive and generate the keys
  • endpoint is the URL of a welcome node to receive the transaction
  • file is the file path
aeweb deploy-file --seed=myseedphrase --endpoint=https://testnet.archethic.net --file=./index.html

To deploy folder you need -

  • seed is a string representing the transaction chain entropy to be able to derive and generate the keys
  • endpoint is the URL of a welcome node to receive the transaction
  • folder is the folder name
aeweb deploy-folder --seed=myseedphrase --endpoint=https://testnet.archethic.net --folder=Aeweb

To deploy website you need -

  • seed is a string representing the transaction chain entropy to be able to derive and generate the keys
  • endpoint is the URL of a welcome node to receive the transaction
  • folder is the folder name
aeweb deploy-website --seed=myseedphrase --endpoint=https://testnet.archethic.net --folder=Aeweb

Contribution

Thank you for considering to help out with the source code. We welcome contributions from anyone and are grateful for even the smallest of improvement.

Please to follow this workflow:

  1. Fork it!
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Licence

AGPL