You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Solana blockchain client, written in pure Java. SolanaJ is an API for integrating with Solana blockchain using the [Solana RPC API](https://docs.solana.com/apps/jsonrpc-api).
5
13
6
14
This fork includes functionality for multiple Solana programs, including the Serum DEX.
7
15
8
-
# SolanaJ-Programs
9
-
For SolanaJ implementations of popular Solana programs such as Serum, please visit: https://github.com/skynetcap/solanaj-programs
-[Send a Transaction with Memo Program](#send-a-transaction-with-memo-program)
28
+
-[Contributing](#-contributing)
29
+
-[License](#-license)
30
+
31
+
## SolanaJ-Programs
32
+
33
+
For SolanaJ implementations of popular Solana programs such as Serum, please visit: [https://github.com/skynetcap/solanaj-programs](https://github.com/skynetcap/solanaj-programs)
34
+
35
+
## 🛠️ Requirements
10
36
11
-
## Requirements
12
37
- Java 17+
13
38
14
-
## Dependencies
39
+
## 📚 Dependencies
40
+
15
41
- bitcoinj
16
42
- OkHttp
17
43
- Moshi
18
44
19
-
## Installation
20
-
1. Add Maven dependency:
45
+
## 📦 Installation
46
+
47
+
Add the following Maven dependency to your project's `pom.xml`:
21
48
22
49
```xml
23
50
<dependency>
24
-
<groupId>com.mmorrell</groupId>
25
-
<artifactId>solanaj</artifactId>
26
-
<version>1.17.6</version>
51
+
<groupId>com.mmorrell</groupId>
52
+
<artifactId>solanaj</artifactId>
53
+
<version>1.19.2</version>
27
54
</dependency>
28
55
```
29
56
30
-
## Build
31
-
In pom.xml update the plugin maven-gpg-plugin configuration with your homedir and keyname.
32
-
To see if you have a gpg key run `gpg --list-secret-keys`
33
-
If nothing is returned create one with `gpg --full-generate-key`
34
-
Then run `mvn install` and the build should complete successfully.
57
+
## 🏗️ Build
58
+
59
+
1. In `pom.xml`, update the `maven-gpg-plugin` configuration with your homedir and keyname:
Copy file name to clipboardExpand all lines: src/main/java/org/p2p/solanaj/core/AccountMeta.java
+12-1Lines changed: 12 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,17 @@ public class AccountMeta {
13
13
14
14
privatebooleanisWritable;
15
15
16
+
/**
17
+
* Sorting based on isSigner and isWritable cannot fully meet the requirements. This value can be used for custom sorting, because if the order is incorrect during serialization, it may lead to failed method calls.
0 commit comments