File tree 3 files changed +17
-4
lines changed
3 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 30
30
},
31
31
"dependencies" : {
32
32
"@soroban-react/types" : " ^7.4.0" ,
33
- "soroban-client " : " 1.0.0-beta.4 "
33
+ "stellar-sdk " : " 11. 1.0"
34
34
},
35
35
"devDependencies" : {
36
36
"@testing-library/react-hooks" : " ^8.0.1" ,
Original file line number Diff line number Diff line change 1
1
import type { WalletChain } from '@soroban-react/types'
2
2
3
- import * as SorobanClient from 'soroban-client '
3
+ import Networks from 'stellar-sdk '
4
4
5
5
/**
6
6
* A `WalletChain` object representing the public blockchain network.
@@ -16,7 +16,7 @@ export const public_chain: WalletChain = {
16
16
id : 'public' ,
17
17
network : 'public' ,
18
18
name : 'Public' ,
19
- networkPassphrase : SorobanClient . Networks . PUBLIC ,
19
+ networkPassphrase : Networks . PUBLIC ,
20
20
networkUrl : 'https://horizon.stellar.org' ,
21
21
sorobanRpcUrl : 'https://horizon.stellar.org' ,
22
22
}
@@ -42,7 +42,7 @@ export const testnet: WalletChain = {
42
42
id : 'testnet' ,
43
43
network : 'testnet' ,
44
44
name : 'Testnet' ,
45
- networkPassphrase : SorobanClient . Networks . TESTNET ,
45
+ networkPassphrase : Networks . TESTNET ,
46
46
networkUrl : 'https://horizon-testnet.stellar.org' ,
47
47
sorobanRpcUrl : 'https://soroban-testnet.stellar.org/' ,
48
48
}
Original file line number Diff line number Diff line change 6693
6693
optionalDependencies :
6694
6694
sodium-native "^4.0.1"
6695
6695
6696
+
6697
+ version "11.1.0"
6698
+ resolved "https://registry.yarnpkg.com/stellar-sdk/-/stellar-sdk-11.1.0.tgz#04df0be3bfee2ffd1db068c92dc4f3ec27309103"
6699
+ integrity sha512-fIdo77ogpU+ecHgs59pk9velpXd4F/ch0DzOI4QZw8zVZApc3oeNWP3+X6ui7BWpeRHAGsP2CHQzBLxm0JTIgg==
6700
+ dependencies :
6701
+ " @stellar/stellar-base" " 10.0.1"
6702
+ axios "^1.6.0"
6703
+ bignumber.js "^9.1.2"
6704
+ eventsource "^2.0.2"
6705
+ randombytes "^2.1.0"
6706
+ toml "^3.0.0"
6707
+ urijs "^1.19.1"
6708
+
6696
6709
string-length@^4.0.1 :
6697
6710
version "4.0.2"
6698
6711
resolved "https://registry.yarnpkg.com/string-length/-/string-length-4.0.2.tgz#a8a8dc7bd5c1a82b9b3c8b87e125f66871b6e57a"
You can’t perform that action at this time.
0 commit comments