# ripple-trust-line

> A simple tool for creating Trust in Ripple

Latest version **0.0.1** (published 2014-03-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install ripple-trust-line
pnpm add ripple-trust-line
yarn add ripple-trust-line
bun add ripple-trust-line
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2014-03-17 |
| First published | 2014-03-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | stevenzeiler |
| Maintainers | stevenzeiler |
| Keywords | ripple, api, http, client |

## Links

- npm: https://www.npmjs.com/package/ripple-trust-line
- Repository: https://github.com/stevenzeiler/ripple-trust-line-js
- Issues: https://github.com/stevenzeiler/bitpay-node/issues
- npm.io page: https://npm.io/package/ripple-trust-line

## Dependencies (1)

- [ripple-lib](https://npm.io/package/ripple-lib.md) 0.7.34

## Alternatives

- [launchdarkly-js-client-sdk](https://npm.io/package/launchdarkly-js-client-sdk.md) — 2.5M weekly downloads
- [@elastic/elasticsearch](https://npm.io/package/@elastic/elasticsearch.md) — 2.1M weekly downloads
- [@c8y/client](https://npm.io/package/@c8y/client.md) — 15.3K weekly downloads
- [@signaldb/maverickjs](https://npm.io/package/@signaldb/maverickjs.md) — 1.7K weekly downloads
- [@bbc/http-transport-cache](https://npm.io/package/@bbc/http-transport-cache.md) — 1.2K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2014-03-17

## README

The purpose of this abstraction is to make it simple to
create a line of trust by providing a more straightforward
interface for users to consume. Currently one would have to
 understand the trust line system as well as how to 
deal with connecting to a remote server and also how to build
a transaction that sets trust lines for an account.

Instead my goal was to abstract the trust line interface
for the 90% use case. Here is an initial result of the effort:

		var TrustLine = require('./trust_line.js');

		var trustLine = new TrustLine({
			account: 'rHKueQebtVU9cEamhBbMV8AEViqKjXcBcB'
			counterparty: 'r4EwBWxrx5HxYRyisfGzMto3AT8FZiYdWk',
			currency: 'XAG',
			amount: 10,
			noRipple: false,
		});

		trustLine.sign(process.env.RIPPLE_SECRET_KEY).submit({
			success: console.log,
			error: console.log
		});

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