Socket
Socket
Sign inDemoInstall

apla-blockchain-tools

Package Overview
Dependencies
22
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    apla-blockchain-tools

Module contains a number of tools to work with Apla Blockchain


Version published
Maintainers
1
Install size
3.41 MB
Created

Readme

Source

Apla blockchain tools

This module contains number of tools to work with Apla Blockchain Platform

Available tools:

  • Session - work with Apla API
  • TransactionFilter - search transactions by some parameters

Installation

Execute the following code in terminal for installation

npm install apla-blockchain-tools

Testing

On Apla Testnet (https://testapla0.apla.io) using predefined credentials

npm test

On your network

  1. Deploy a network using quick-start
  2. Create an ecosystem. Refer to this guide
  3. Go to that ecosystem and import test application
  4. Add variables to the environment
NameValueDescriptionDefault
API_URLhttp://127.0.0.1:17301/api/v2URL of one of the nodeshttps://testapla0.apla.io:7079/api/v2
NETWORK_ID1Id of the network1
TEST_ECOSYSTEM_NUMBER*Number of the ecosystem created during step 241
PRIVATE_KEY*private key of the user4e304ae2492d633217eb2f161d94ba023d7f07a10b73370dd669a225bc08ba80
  1. Run tests
npm test

Test results

Test result

License

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Keywords

FAQs

Last updated on 23 Jun 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc