POS Æpp
Overview
This is a simple Web Application that demonstrates Aeternity Contracts.
How it works
- Select a node
- Add your private and public keys
- Write an Aeternity contract in Sophia
- Compile it by hitting "compile"
- Deploy it to the chain hitting "Deploy"
- Test other functionalities (call data, static function and function)
Installation
- Clone this repo and install required dependencies
git clone https://github.com/aeternity/aepp-contracts/
cd aepp-contracts
yarn install
- Add a keypair to
src/account.js
export WALLET_PUB='YOUR_WALLET_PUB'
export WALLET_PRIV=YOUR_WALLET_PRIV
Start the application
yarn run start:dev
The current form should be self explainatory.
Build Setup
# install dependencies
yarn install
# serve with hot reload at localhost:8080
yarn run start:dev
# build for production with minification
yarn run build
# TODO: runs tests
yarn run test
License
ISC License (ISC) Copyright © 2018 aeternity developers
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.