Skip to content

Commit 9490a7b

Browse files
committed
Release 1.0.0
1 parent 737ef8d commit 9490a7b

File tree

6 files changed

+28
-29
lines changed

6 files changed

+28
-29
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
![](assets/finja-preview.png)
22

33
# Finja
4-
> To start using Finja please see wiki in one of the languages: [Russian]() or [English]()
4+
> To start using Finja please see wiki: [docs.exploit.org/finja](https://docs.exploit.org/finja)
55
66
Finja is a multi-chain Java FinTech framework, intended to allow developers simply and securely implement cryptocurrencies in Finance applications.
77

docs/basis/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ Responsible for converting between minimal units and human-readable amounts (e.g
4444
All key-related functionality is managed by:
4545

4646
- `ECKeyPair` or `XKeyPair` (HD).
47-
- `ECKeyManager`, which handles storage, derivation, and signing.
48-
- `ECFlag` provides metadata such as key type or derivation scheme.
49-
- `ReadOnlyBuffer` is used to hold key material securely in memory.
47+
- `ECKeyManager`, which handles storage and signing.
48+
- `ECFlag` provides metadata such as key type.
49+
- `ReadOnlyBuffer` is used to hold key material securely in memory, for in memory key managers.
5050

5151
## Address Validation
5252

docs/basis/wallet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public interface OutgoingTransaction {
7777
Represents a signed or signable transaction that can be inspected or sent.
7878

7979
- `dump()` — returns a raw hex or JSON representation (implementation-specific)
80-
- `computeTxid()` — calculates the transaction ID (may be null before broadcast)
80+
- `computeTxid()` — calculates the transaction ID before broadcasting
8181
- `send()` — broadcasts the transaction and returns a `Receipt`
8282
- `fee()` — estimated or actual transaction fee in smallest units
8383

docs/index.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Finja is built for high-performance financial systems, custody services, and inf
1717

1818
## Version
1919

20-
`1.0.0-BETA`
20+
`1.0.0`
2121

2222
---
2323

@@ -28,7 +28,7 @@ Finja consists of a core module and multiple pluggable providers.
2828
### Required
2929

3030
```groovy
31-
implementation 'org.exploit:finja:1.0.0-BETA'
31+
implementation 'org.exploit:finja:1.0.0'
3232
```
3333

3434
### Supported Providers
@@ -37,35 +37,35 @@ Add only what you use:
3737

3838
```groovy
3939
// Bitcoin-based providers
40-
implementation 'org.exploit:bitcoin:1.0.0-BETA'
41-
implementation 'org.exploit:litecoin:1.0.0-BETA'
42-
implementation 'org.exploit:dash:1.0.0-BETA'
43-
implementation 'org.exploit:bitcoincash:1.0.0-BETA'
40+
implementation 'org.exploit:bitcoin:1.0.0'
41+
implementation 'org.exploit:litecoin:1.0.0'
42+
implementation 'org.exploit:dash:1.0.0'
43+
implementation 'org.exploit:bitcoincash:1.0.0'
4444
4545
// EVM-compatible networks
46-
implementation 'org.exploit:evm:1.0.0-BETA'
46+
implementation 'org.exploit:evm:1.0.0'
4747
4848
// TRON support
49-
implementation 'org.exploit:tron:1.0.0-BETA'
49+
implementation 'org.exploit:tron:1.0.0'
5050
5151
// Solana support
52-
implementation 'org.exploit:solana:1.0.0-BETA'
52+
implementation 'org.exploit:solana:1.0.0'
5353
```
5454

5555
### HD Wallet Support
5656

5757
```groovy
58-
implementation 'org.exploit:hdwallet:1.0.0-BETA'
58+
implementation 'org.exploit:hdwallet:1.0.0'
5959
```
6060

6161
### BlockBook Indexer Support
6262

6363
```groovy
6464
// Base BlockBook integration
65-
implementation 'org.exploit:blockbook:1.0.0-BETA'
65+
implementation 'org.exploit:blockbook:1.0.0'
6666
6767
// Bitcoin-compatible BlockBook provider
68-
implementation 'org.exploit:blockbook-bitcoin:1.0.0-BETA'
68+
implementation 'org.exploit:blockbook-bitcoin:1.0.0'
6969
```
7070
## Native Dependencies
7171

@@ -79,13 +79,13 @@ Add the appropriate native dependency for your platform:
7979

8080
```groovy
8181
// macOS (Apple Silicon)
82-
runtimeOnly 'org.exploit:tss4j-natives-macos-aarch64:1.0.0'
82+
implementation 'org.exploit:tss4j-natives:1.0.0:macos-aarch64'
8383
8484
// Linux (x64)
85-
runtimeOnly 'org.exploit:tss4j-natives-linux-amd64:1.0.0'
85+
implementation 'org.exploit:tss4j-natives:1.0.0:linux-amd64'
8686
8787
// Windows (x64)
88-
runtimeOnly 'org.exploit:tss4j-natives-windows-x64:1.0.0'
88+
implementation 'org.exploit:tss4j-natives:1.0.0:windows-amd64'
8989
```
9090

9191
___

mkdocs.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ nav:
3333
- TRON: providers/tron.md
3434
- Solana: providers/solana.md
3535
- Threshold Security:
36-
- Overview: threshold/index.md
3736
- MPC Signing: threshold/mpc.md
3837

3938
markdown_extensions:

tests/src/test/java/org/exploit/finja/tests/hdwallet/DerivationTest.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
package org.exploit.finja.tests.hdwallet;
22

3-
import com.sun.jna.NativeLibrary;
43
import org.bouncycastle.util.encoders.Hex;
54
import org.exploit.btc.BitcoinProvider;
65
import org.exploit.btc.constant.AddressType;
76
import org.exploit.crypto.constant.SupportedCurve;
7+
import org.exploit.crypto.key.ECKeyPair;
8+
import org.exploit.ed25519.Ed25519PointOps;
89
import org.exploit.finja.core.constant.NetworkType;
910
import org.exploit.finja.core.model.WebData;
1011
import org.exploit.hdwallet.HDWallet;
@@ -13,6 +14,7 @@
1314
import org.exploit.hdwallet.utils.MasterKeys;
1415
import org.exploit.hdwallet.utils.Seeds;
1516
import org.exploit.jettyx.auth.NoAuth;
17+
import org.exploit.secp256k1.Secp256k1PointOps;
1618
import org.exploit.sol.SolanaProvider;
1719
import org.exploit.tss.TSS;
1820
import org.junit.jupiter.api.Test;
@@ -21,8 +23,6 @@
2123

2224
public class DerivationTest {
2325
static {
24-
NativeLibrary.addSearchPath("gmp", "/opt/homebrew/Cellar/gmp/6.3.0/lib");
25-
2626
TSS.loadLibraries();
2727
}
2828

@@ -46,10 +46,10 @@ public void derivationTest() {
4646

4747
var generator = provider.generator(NetworkType.MAIN, AddressType.SEGWIT);
4848

49-
var wallet0 = generator.generate(account0.asECKeyPair());
50-
var wallet1 = generator.generate(account1.asECKeyPair());
51-
var wallet2 = generator.generate(account2.asECKeyPair());
52-
var wallet9 = generator.generate(account9.asECKeyPair());
49+
var wallet0 = generator.generate((ECKeyPair<Secp256k1PointOps>) account0.asECKeyPair());
50+
var wallet1 = generator.generate((ECKeyPair<Secp256k1PointOps>)account1.asECKeyPair());
51+
var wallet2 = generator.generate((ECKeyPair<Secp256k1PointOps>)account2.asECKeyPair());
52+
var wallet9 = generator.generate((ECKeyPair<Secp256k1PointOps>)account9.asECKeyPair());
5353

5454
assertEquals("bc1qe2yp8n3h3s6jujyzs3j4lgfz23r60w09selpxn", wallet0.publicAddress());
5555
assertEquals("bc1qtmswxxxvmsuc882ansax59dq0rggu7uh9fqdgv", wallet1.publicAddress());
@@ -81,7 +81,7 @@ public void derivationSlip0010Test() {
8181
var wallet = new HDWallet(seed);
8282

8383
var result = wallet.derive(curve, "m/44/501/0");
84-
var generated = solana.generator().generate(result.asECKeyPair());
84+
var generated = solana.generator().generate((ECKeyPair<Ed25519PointOps>) result.asECKeyPair());
8585
assertEquals(generated.publicAddress(), "6VnMEP5VrvNcHG3hBMhWntyBXedBjWho2TYcyzkTt2Kf");
8686
}
8787
}

0 commit comments

Comments
 (0)