# sasttestweb

> This is sasttestweb package

Latest version **2.0.5** (published 2023-08-28) · ISC license · 0 weekly downloads

## Install

```sh
npm install sasttestweb
pnpm add sasttestweb
yarn add sasttestweb
bun add sasttestweb
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.5 |
| Published | 2023-08-28 |
| First published | 2023-08-28 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 12 |
| Unpacked size | 3.2 MB |
| Known vulnerabilities | 0 (+32 in 4 direct dependencies) |
| Install scripts | no |
| Author | lgcy |
| Maintainers | researchdv |
| Keywords | sasttestweb |

## Links

- npm: https://www.npmjs.com/package/sasttestweb
- npm.io page: https://npm.io/package/sasttestweb

## Dependencies (12)

- [axios](https://npm.io/package/axios.md) ^0.18.0
- [jssha](https://npm.io/package/jssha.md) ^2.3.1
- [ethers](https://npm.io/package/ethers.md) ^4.0.7
- [semver](https://npm.io/package/semver.md) ^5.6.0
- [express](https://npm.io/package/express.md) ^4.17.1
- [elliptic](https://npm.io/package/elliptic.md) ^6.4.1
- [validator](https://npm.io/package/validator.md) ^10.7.1
- [bignumber.js](https://npm.io/package/bignumber.js.md) ^7.2.1
- [babel-runtime](https://npm.io/package/babel-runtime.md) ^6.26.0
- [eventemitter3](https://npm.io/package/eventemitter3.md) ^3.1.0
- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.0.0
- [http-proxy-middleware](https://npm.io/package/http-proxy-middleware.md) ^1.0.6

## Recent versions

- 2.0.5 (latest) — 2023-08-28

## README

## What is SastWeb?

SastWeb aims to deliver a unified, seamless development experience influenced by Ethereum's [Web3](https://github.com/ethereum/web3.js/) implementation.

## Compatibility
- Version built for Node.js v6 and above

You can access either version specifically from the [dist](dist) folder.

SastWeb is also compatible with frontend frameworks such as:
- Angular 
- React
- Vue.

## Installation

### Node.js
```bash
npm install sastweb
```

### Browser
First, don't use the release section of this repo, it has not updated in a long time.

Then easiest way to use SastWeb in a browser is to install it as above and copy the dist file to your working folder. For example:
```
cp node_modules/SastanaWeb/dist/SastanaWeb.js ./js/SastanaWeb.js
```
so that you can call it in your HTML page as
```
<script src="./js/SastanaWeb.js"><script>
```

## Creating an Instance

First off, in your javascript file, define SastanaWeb:

```js
const SastWeb = require('sastweb')
```
FullHost defines fullNode and solidityNode while the eventServer is specified, and the privateKey is passed separately.

```js
const sastWeb = new SastWeb({
    fullNode: 'http://<ip>:<portnumber>',
    solidityNode: 'http://<ip>:<portnumber>'
    eventServer: 'http://<ip>:<portnumber>',
    privateKey: '...'
  }
)
```

## Contributions

In order to contribute you can

* fork this repo and clone it locally
* install the dependencies — `npm i`
* do your changes to the code
* build the SastanaWeb dist files — `npm run build`

---
_Source: https://npm.io/package/sasttestweb · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
