nduchak / aepp-sdk-js

Javascript SDK for the æternity blockchain

Home Page:https://dev.aepps.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aepp-sdk

Build Status npm npm

JavaScript SDK for the revolutionary æternity blockchain, targeting the Epoch implementation.

aepp-sdk is hosted on GitHub.

Concept Drawing of aepp-sdk

Disclaimer

This SDK is at an alpha stage where things easily can break. We aim to make our alpha releases as stable as possible. Neverless it should not be taken as production-ready. To catch up with the more edgy state of development please check out the develop branch.

  1. Add the latest @aeternity/aepp-sdk release from npmjs.com to your project
pnpm i @aeternity/aepp-sdk
npm i @aeternity/aepp-sdk
yarn add @aeternity/aepp-sdk

Hint: You can also add a development version from GitHub by dropping the @ and adding # and a branch name at the end, for example pnpm i aeternity/aepp-sdk#develop.

  1. Import the right flavor
import Aepp from '@aeternity/aepp-sdk/es/ae/aepp'
  1. Create an instance
const ae = Aepp()
  1. Start interacting with the blockchain
ae.then(ae => ae.height()).then(h => console.log(h))
  1. Go check out the Usage documentation!

For advanced use, development versions and to get a deeper understanding of the SDK, it is advised to read the Hacking documentation.

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.

About

Javascript SDK for the æternity blockchain

https://dev.aepps.com/

License:ISC License


Languages

Language:JavaScript 96.0%Language:Shell 3.2%Language:HTML 0.7%Language:Emacs Lisp 0.1%