🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@arianee/arianeejs

Package Overview
Dependencies
Maintainers
0
Versions
168
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arianee/arianeejs

Develop: [![CircleCI](https://circleci.com/gh/Arianee/arianeeJS/tree/develop.svg)](https://circleci.com/gh/Arianee/arianeeJS/tree/develop.svg)

1.119.0
latest
Source
npm
Version published
Weekly downloads
24
-61.9%
Maintainers
0
Weekly downloads
 
Created
Source

Builds

Develop: CircleCI

Master: CircleCI

NPM: npm version

ArianeeJS

Getting Started

The full doc is avalaible here: https://docs.arianee.org/docs/arianee-js

Get ready : installation

Get the last version from NPM or your favorite registry:

npm i @arianee/arianeejs -D

Simple example

import { Arianee } from '@arianee/arianeejs'

(async function () {

  // By default Arianee will be initialized on testnet network
  const arianee = await new Arianee().init();

// Create a wallet
  const wallet = arianee.fromRandomKey();

// Request POA and Aria and approves store to make transaction on blockchain
  await wallet.requestPoa();
  await wallet.requestAria();

  await wallet.methods.approveStore();

  const balanceOfPoa = await wallet.methods.balanceOfPoa();
  console.log('balanceOfPoa: ', balanceOfPoa);

});

Issues

If you have an issue or you found a bug, please open an issue on our github repo: https://github.com/Arianee/arianeeJS/issues Try to give us piece of code and the most details you can so we can reproduce your issue easily, and the help you faster.

Contributing

Your contribution are welcome if they comply to the following requirements:

Test

  • Generate a github token
  • Set github token
export GITHUBTOKEN=YOUR_GIT_HUB_TOKEN
  • Declare domain blockchain and declare domain wallet
echo 127.0.0.1 blockchain | sudo tee -a /etc/hosts
echo 127.0.0.1 wallet | sudo tee -a /etc/hosts

4 Launch Docker compose

docker-compose up

FAQs

Package last updated on 20 Aug 2024

Did you know?

Socket

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