Skip to content

Commit

Permalink
Add links to more use cases
Browse files Browse the repository at this point in the history
  • Loading branch information
platfowner committed Nov 27, 2024
1 parent 90b14e0 commit 258dd56
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ yarn add @ainblockchain/ain-js
```

## Examples
### A Simple Example
```
const Ain = require('./lib/ain').default;
const ain = new Ain('http://localhost:8081/', 'ws://localhost:5100/');
Expand All @@ -33,6 +34,13 @@ const accounts = ain.db.ref('/accounts').getValue().then(result => {
});
```

### More Use Cases
#### [ainize-js](https://github.com/ainize-team/ainize-js)
- [AinModule](https://github.com/ainize-team/ainize-js/blob/main/src/ain.ts)

#### [ainft-js](https://github.com/ainize-team/ainize-js)
- [AinftJs](https://github.com/ainft-team/ainft-js/blob/main/src/ainft.ts)

## Test How-To
For testing, you need a blockchain node cluster running locally.
1. Clone AIN Blockchain and install
Expand Down

0 comments on commit 258dd56

Please sign in to comment.