File tree 2 files changed +9
-1
lines changed
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ yarn add @ainblockchain/ain-js
10
10
```
11
11
12
12
## Examples
13
+ ### A Simple Example
13
14
```
14
15
const Ain = require('./lib/ain').default;
15
16
const ain = new Ain('http://localhost:8081/', 'ws://localhost:5100/');
@@ -33,6 +34,13 @@ const accounts = ain.db.ref('/accounts').getValue().then(result => {
33
34
});
34
35
```
35
36
37
+ ### More Use Cases
38
+ #### [ ainize-js] ( https://github.com/ainize-team/ainize-js )
39
+ - [ AinModule] ( https://github.com/ainize-team/ainize-js/blob/main/src/ain.ts )
40
+
41
+ #### [ ainft-js] ( https://github.com/ainize-team/ainize-js )
42
+ - [ AinftJs] ( https://github.com/ainft-team/ainft-js/blob/main/src/ainft.ts )
43
+
36
44
## Test How-To
37
45
For testing, you need a blockchain node cluster running locally.
38
46
1 . Clone AIN Blockchain and install
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @ainblockchain/ain-js" ,
3
- "version" : " 1.13.1 " ,
3
+ "version" : " 1.13.2 " ,
4
4
"description" : " " ,
5
5
"main" : " lib/ain.js" ,
6
6
"scripts" : {
You can’t perform that action at this time.
0 commit comments