Skip to content

Commit 3172674

Browse files
Merge pull request #136 from matter-labs/develop
2.1.1
2 parents 55760e4 + dd700be commit 3172674

File tree

10 files changed

+912
-43
lines changed

10 files changed

+912
-43
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ If you believe you have identified a security vulnerability with web3swift, you
250250

251251
## Donations
252252

253-
[The Matters](https://github.com/orgs/matterinc/people) are charged with open-sorсe and do not require money for using their web3swift lib.
253+
[The Matters](https://github.com/orgs/matterinc/people) are charged with open-sourсe and do not require money for using their web3swift lib.
254254
We want to continue to do everything we can to move the needle forward.
255255
If you use any of our libraries for work, see if your employers would be interested in donating. Any amount you can donate today to help us reach our goal would be greatly appreciated.
256256

web3swift.podspec

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,35 @@
11
Pod::Spec.new do |s|
22
s.name = "web3swift"
3-
s.version = "2.0.1"
3+
s.version = "2.1.1"
44
s.summary = "Web3 implementation in vanilla Swift for iOS ans macOS"
55

66
s.description = <<-DESC
77
Web3 implementation in vanilla Swift, intended for mobile developers of wallets, Dapps and Web3.0
88
DESC
99

10-
s.homepage = "https://github.com/matterinc/web3swift"
10+
s.homepage = "https://github.com/matter-labs/web3swift"
1111
s.license = 'Apache License 2.0'
1212
s.author = { "Alex Vlasov" => "[email protected]" }
13-
s.source = { :git => 'https://github.com/matterinc/web3swift.git', :tag => s.version.to_s }
13+
s.source = { :git => 'https://github.com/matter-labs/web3swift.git', :tag => s.version.to_s }
1414
s.social_media_url = 'https://twitter.com/shamatar'
1515

1616
s.swift_version = '4.1'
1717
s.module_name = 'Web3swift'
1818
s.ios.deployment_target = "9.0"
1919
s.osx.deployment_target = "10.11"
20-
s.source_files = "web3swift/{PrecompiledContracts,Promises,Web3,Contract,KeystoreManager,Transaction,Convenience}/Classes/*.{h,swift}", "web3swift/Utils/Classes/{EIP67Code, EIP681}.swift", "web3swift/HookedFunctions/Classes/*.swift", "web3swift/web3swift.h"
20+
s.source_files = "web3swift/{Promises,HookedFunctions,Web3,Contract,KeystoreManager,Transaction,Convenience}/Classes/*.{h,swift}", "web3swift/Utils/Classes/{EIP67Code, EIP681, ENS, ENSResolver, NameHash}.swift", "web3swift/PrecompiledContracts/**/*.swift", "web3swift/web3swift.h"
2121
s.public_header_files = "web3swift/web3swift.h"
2222
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
2323

2424
s.frameworks = 'CoreImage'
25+
s.dependency 'scrypt', '~> 2.0'
26+
s.dependency 'PromiseKit', '~> 6.4.1'
2527
s.dependency 'BigInt', '~> 3.1'
2628
s.dependency 'CryptoSwift', '~> 0.13'
27-
s.dependency 'PromiseKit', '~> 6.3'
28-
s.dependency 'scrypt', '~> 2.0'
29+
s.dependency 'Result', '~> 4.0'
2930
s.dependency 'secp256k1_swift', '~> 1.0.3'
3031
s.dependency 'SwiftRLP', '~> 1.1'
3132
s.dependency 'EthereumAddress', '~> 1.0.0'
3233
s.dependency 'EthereumABI', '~> 1.1.1'
34+
3335
end

web3swift.xcodeproj/project.pbxproj

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
00E5FE8220EA3FF40030E0D6 /* web3swift_infura_Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 00E5FE8120EA3FF40030E0D6 /* web3swift_infura_Tests.swift */; };
1111
13AE5971A972F5B55FA6FB69 /* libPods-web3swift-iOS_Tests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 8349531F1984454E50389370 /* libPods-web3swift-iOS_Tests.a */; };
1212
1CD91B341FD769A6007BFB45 /* web3swift_iOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1CD91AFC1FD76910007BFB45 /* web3swift_iOS.framework */; };
13+
3A0CD5E9223B865000D0A4FE /* web3swift_ST20AndSecurityToken_Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A0CD5E8223B865000D0A4FE /* web3swift_ST20AndSecurityToken_Tests.swift */; };
1314
3AC1E7CB222D6A8C004F43D8 /* Web3+BrowserFunctions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 81C0FCF8204456E600D82FAF /* Web3+BrowserFunctions.swift */; };
1415
3AC1E7CC222D6A99004F43D8 /* Web3+ERC1376.swift in Sources */ = {isa = PBXBuildFile; fileRef = E2F8083521CB142000B6BF15 /* Web3+ERC1376.swift */; };
1516
3AC1E7CD222D6A99004F43D8 /* Web3+ERC1155.swift in Sources */ = {isa = PBXBuildFile; fileRef = E2F8083221CB0EF300B6BF15 /* Web3+ERC1155.swift */; };
@@ -25,6 +26,10 @@
2526
3AC1E7D7222D6A99004F43D8 /* Web3+ERC777.swift in Sources */ = {isa = PBXBuildFile; fileRef = E279C9F421C47B4A0081695F /* Web3+ERC777.swift */; };
2627
3AC1E7D8222D6A99004F43D8 /* Web3+ERC165.swift in Sources */ = {isa = PBXBuildFile; fileRef = E279C9EE21C46A140081695F /* Web3+ERC165.swift */; };
2728
3AC1E7D9222D6AA0004F43D8 /* Web3+BrowserFunctions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 81C0FCF8204456E600D82FAF /* Web3+BrowserFunctions.swift */; };
29+
3AC3BD7D222EA70500656EC7 /* Web3+ST20.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3AC3BD7C222EA70500656EC7 /* Web3+ST20.swift */; };
30+
3AC3BD7E222EA70500656EC7 /* Web3+ST20.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3AC3BD7C222EA70500656EC7 /* Web3+ST20.swift */; };
31+
3AC3BD80222EC6C900656EC7 /* Web3+SecurityToken.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3AC3BD7F222EC6C900656EC7 /* Web3+SecurityToken.swift */; };
32+
3AC3BD81222EC6C900656EC7 /* Web3+SecurityToken.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3AC3BD7F222EC6C900656EC7 /* Web3+SecurityToken.swift */; };
2833
4194811B203630530065A83B /* Web3+HttpProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 817EBB142004FE4200E02EAA /* Web3+HttpProvider.swift */; };
2934
4194811E203630530065A83B /* Web3.swift in Sources */ = {isa = PBXBuildFile; fileRef = 81DDECCE1FDF004E0063684A /* Web3.swift */; };
3035
4194811F203630530065A83B /* Web3+Instance.swift in Sources */ = {isa = PBXBuildFile; fileRef = 818ABD5A1FE95F8F002657BB /* Web3+Instance.swift */; };
@@ -178,8 +183,6 @@
178183
81DFB400210775320011DC85 /* Web3+Infura.swift in Sources */ = {isa = PBXBuildFile; fileRef = 81DFB3FE210775320011DC85 /* Web3+Infura.swift */; };
179184
81EB1E4B208173D7003BD47F /* Web3+Personal.swift in Sources */ = {isa = PBXBuildFile; fileRef = 81EB1E4A208173D7003BD47F /* Web3+Personal.swift */; };
180185
81EB1E4C208173D7003BD47F /* Web3+Personal.swift in Sources */ = {isa = PBXBuildFile; fileRef = 81EB1E4A208173D7003BD47F /* Web3+Personal.swift */; };
181-
81ED4EA82190D922003E932E /* NonceMiddleware.swift in Sources */ = {isa = PBXBuildFile; fileRef = 81ED4EA72190D922003E932E /* NonceMiddleware.swift */; };
182-
81ED4EA92190D922003E932E /* NonceMiddleware.swift in Sources */ = {isa = PBXBuildFile; fileRef = 81ED4EA72190D922003E932E /* NonceMiddleware.swift */; };
183186
81FA43F62044097100EE14D5 /* web3swift_macOS_Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 81FA43F52044097100EE14D5 /* web3swift_macOS_Tests.swift */; };
184187
81FA43F82044097100EE14D5 /* web3swift_macOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 417715D420362916005C3E16 /* web3swift_macOS.framework */; };
185188
81FB21FE207BB297007F9A83 /* EIP67Code.swift in Sources */ = {isa = PBXBuildFile; fileRef = 81FB21F8207BA78B007F9A83 /* EIP67Code.swift */; };
@@ -252,6 +255,9 @@
252255
2B8FEFF3962166E1BEADC886 /* Pods_web3swift_ios.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_web3swift_ios.framework; sourceTree = BUILT_PRODUCTS_DIR; };
253256
342700493511FEB189700D13 /* Pods-web3swift-iOS_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-web3swift-iOS_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-web3swift-iOS_Tests/Pods-web3swift-iOS_Tests.debug.xcconfig"; sourceTree = "<group>"; };
254257
391A0D2EF42488E5C8AB2F71 /* Pods_web3swift_osx_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_web3swift_osx_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
258+
3A0CD5E8223B865000D0A4FE /* web3swift_ST20AndSecurityToken_Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = web3swift_ST20AndSecurityToken_Tests.swift; sourceTree = "<group>"; };
259+
3AC3BD7C222EA70500656EC7 /* Web3+ST20.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Web3+ST20.swift"; sourceTree = "<group>"; };
260+
3AC3BD7F222EC6C900656EC7 /* Web3+SecurityToken.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Web3+SecurityToken.swift"; sourceTree = "<group>"; };
255261
417715D420362916005C3E16 /* web3swift_macOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = web3swift_macOS.framework; sourceTree = BUILT_PRODUCTS_DIR; };
256262
419481432036338A0065A83B /* Pods_web3swift_osx.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = Pods_web3swift_osx.framework; sourceTree = BUILT_PRODUCTS_DIR; };
257263
4EFFCB6D208552F2008165FE /* web3swift_local_node_Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = web3swift_local_node_Tests.swift; sourceTree = "<group>"; };
@@ -479,6 +485,7 @@
479485
children = (
480486
81909D4E21887658007D2AE5 /* web3swift_Eventloop_Tests.swift */,
481487
81A7B2892143DF1D004CD2C7 /* web3swift_EIP681_Tests.swift */,
488+
3A0CD5E8223B865000D0A4FE /* web3swift_ST20AndSecurityToken_Tests.swift */,
482489
81A7B2782143C978004CD2C7 /* web3swift_ENS_Tests.swift */,
483490
8159C50D2135901700197B91 /* web3swift_ERC20_Class_Tests.swift */,
484491
81FECD5D211AEFCE006DA367 /* web3swift_ObjC_Tests.swift */,
@@ -501,6 +508,15 @@
501508
path = web3swiftTests;
502509
sourceTree = "<group>";
503510
};
511+
3AC3BD7B222EA6EF00656EC7 /* ST20 */ = {
512+
isa = PBXGroup;
513+
children = (
514+
3AC3BD7C222EA70500656EC7 /* Web3+ST20.swift */,
515+
3AC3BD7F222EC6C900656EC7 /* Web3+SecurityToken.swift */,
516+
);
517+
path = ST20;
518+
sourceTree = "<group>";
519+
};
504520
78D101CC419F27D142F6E9AE /* Frameworks */ = {
505521
isa = PBXGroup;
506522
children = (
@@ -604,6 +620,7 @@
604620
8159C50921343EF900197B91 /* PrecompiledContracts */ = {
605621
isa = PBXGroup;
606622
children = (
623+
3AC3BD7B222EA6EF00656EC7 /* ST20 */,
607624
E2F8083421CB140E00B6BF15 /* ERC1376 */,
608625
E2F8083121CB0ED400B6BF15 /* ERC1155 */,
609626
E2F8082E21CB095A00B6BF15 /* ERC721x */,
@@ -1220,7 +1237,6 @@
12201237
8160E5CE20B8245A0070070B /* IBAN.swift in Sources */,
12211238
81909D1521862D37007D2AE5 /* Web3+MutatingTransaction.swift in Sources */,
12221239
810B0F9C1FEC520500CF0DA2 /* Web3+Methods.swift in Sources */,
1223-
81ED4EA82190D922003E932E /* NonceMiddleware.swift in Sources */,
12241240
81A1822520D678590016741F /* Promise+Web3+Eth+GetGasPrice.swift in Sources */,
12251241
8113DE7C1FD8514400CD8DF1 /* NSRegularExpressionExtension.swift in Sources */,
12261242
E2F8082A21CAA07000B6BF15 /* Web3+ERC1643.swift in Sources */,
@@ -1235,6 +1251,7 @@
12351251
81DDECCF1FDF004E0063684A /* Web3.swift in Sources */,
12361252
81A1823420D6E1FD0016741F /* Promise+Web3+Eth+GetBlockByNumber.swift in Sources */,
12371253
81A1822820D678BF0016741F /* Promise+Web3+Eth+GetAccounts.swift in Sources */,
1254+
3AC3BD80222EC6C900656EC7 /* Web3+SecurityToken.swift in Sources */,
12381255
E2F8081F21CA90BA00B6BF15 /* Web3+ERC1410.swift in Sources */,
12391256
81A7B2512143C3A8004CD2C7 /* NameHash.swift in Sources */,
12401257
E2F8083021CB096D00B6BF15 /* Web3+ERC721x.swift in Sources */,
@@ -1244,6 +1261,7 @@
12441261
E2F8082D21CB009A00B6BF15 /* Web3+ERC1633.swift in Sources */,
12451262
813FFF8D1FD82EEB006379A2 /* String+Extension.swift in Sources */,
12461263
81A1823120D68A110016741F /* Promise+Batching.swift in Sources */,
1264+
3AC3BD7D222EA70500656EC7 /* Web3+ST20.swift in Sources */,
12471265
817EBB162004FE4200E02EAA /* Web3+HttpProvider.swift in Sources */,
12481266
8103BBCC2077B84400499769 /* PlainKeystore.swift in Sources */,
12491267
81DFB3FF210775320011DC85 /* Web3+Infura.swift in Sources */,
@@ -1271,6 +1289,7 @@
12711289
9196A68821B9EFF100852ED0 /* web3swift_EIP67_Tests.swift in Sources */,
12721290
9196A68721B9EFDA00852ED0 /* web3swift_EIP681_Tests.swift in Sources */,
12731291
E2DCA653218C875100F94FBA /* web3swift_ENS_Tests.swift in Sources */,
1292+
3A0CD5E9223B865000D0A4FE /* web3swift_ST20AndSecurityToken_Tests.swift in Sources */,
12741293
81909D292188504D007D2AE5 /* web3swift_AdvancedABIv2_Tests.swift in Sources */,
12751294
00E5FE8220EA3FF40030E0D6 /* web3swift_infura_Tests.swift in Sources */,
12761295
81909D2A21885067007D2AE5 /* web3swift_rinkeby_personalSignature_Tests.swift in Sources */,
@@ -1347,7 +1366,6 @@
13471366
41948131203630530065A83B /* BIP32KeystoreJSONStructure.swift in Sources */,
13481367
41948132203630530065A83B /* BIP32HDNode.swift in Sources */,
13491368
81A7B2522143C3A8004CD2C7 /* NameHash.swift in Sources */,
1350-
81ED4EA92190D922003E932E /* NonceMiddleware.swift in Sources */,
13511369
81A1824920D7DDA20016741F /* Promise+Web3+Personal+Sign.swift in Sources */,
13521370
81A1822620D678590016741F /* Promise+Web3+Eth+GetGasPrice.swift in Sources */,
13531371
81909D1621862D37007D2AE5 /* Web3+MutatingTransaction.swift in Sources */,
@@ -1356,6 +1374,7 @@
13561374
81A1824320D7AA750016741F /* Promise+Web3+Eth+SendTransaction.swift in Sources */,
13571375
41948134203630530065A83B /* BIP39+WordLists.swift in Sources */,
13581376
41948135203630530065A83B /* EthereumKeystoreV3.swift in Sources */,
1377+
3AC3BD81222EC6C900656EC7 /* Web3+SecurityToken.swift in Sources */,
13591378
41948136203630530065A83B /* KeystoreV3JSONStructure.swift in Sources */,
13601379
8116666420455E33008D8AD0 /* Web3+Wallet.swift in Sources */,
13611380
81909D2221884893007D2AE5 /* BigUInt+Extensions.swift in Sources */,
@@ -1365,6 +1384,7 @@
13651384
81A1823520D6E1FD0016741F /* Promise+Web3+Eth+GetBlockByNumber.swift in Sources */,
13661385
81A1822920D678BF0016741F /* Promise+Web3+Eth+GetAccounts.swift in Sources */,
13671386
81C5DA322074EC1E00424CD6 /* ContractProtocol.swift in Sources */,
1387+
3AC3BD7E222EA70500656EC7 /* Web3+ST20.swift in Sources */,
13681388
81A1824C20D7DF1B0016741F /* Promise+Web3+Personal+UnlockAccount.swift in Sources */,
13691389
4194813B203630530065A83B /* NSRegularExpressionExtension.swift in Sources */,
13701390
81C0FD042044A8A700D82FAF /* Web3+Options.swift in Sources */,

0 commit comments

Comments
 (0)