/waves8ball

Primary LanguageJavaScript

Waves Magic 8 Ball dApp Example

This is a simple app that generates a pseudorandom answer to your question and writes the answer to the dApp data storage on Waves Testnet.

The example illustrates the dApp development tutorial. It uses the following functions:

  • invoke from Signer library to create an invoke script transaction and thereby call the dApp function;
  • accountDataByKey from waves-transactions library to retrieve the data entry from dApp data storage.

How to Launch

npm i 
npm run build
npm run start