Skip to content

Commit 112ba53

Browse files
Merge pull request #80 from matterinc/develop
Get recent develop changes
2 parents d16d01d + e960456 commit 112ba53

File tree

424 files changed

+6459
-4629
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

424 files changed

+6459
-4629
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
## Build generated
66
build/
77
DerivedData/
8-
8+
.build
99
## Various settings
1010
*.pbxuser
1111
!default.pbxuser

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ xcode_scheme: web3swift-iOS
55
xcode_destination: platform=iOS Simulator, OS=12.0, name=iPhone X
66
before_install:
77
- gem install cocoapods --pre --no-rdoc --no-ri --no-document --quiet
8-
- pod install
8+
- pod install --repo-update
99
script:
1010
- xcodebuild -scheme web3swift-iOS -workspace web3swift.xcworkspace -sdk iphonesimulator build test
1111
after_success:

CHANGELOG.md

+99-38
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,104 @@
11
# Change Log
22

3-
## [Unreleased](https://github.com/bankex/web3swift/tree/HEAD)
3+
## [Unreleased](https://github.com/matterinc/web3swift/tree/HEAD)
4+
5+
[Full Changelog](https://github.com/matterinc/web3swift/compare/1.5.1...HEAD)
6+
7+
**Implemented enhancements:**
8+
9+
- ENS for wallets [\#12](https://github.com/matterinc/web3swift/issues/12)
10+
- Recover passphrase from BIP32 store [\#5](https://github.com/matterinc/web3swift/issues/5)
11+
12+
**Merged pull requests:**
13+
14+
- hotfix update pods [\#71](https://github.com/matterinc/web3swift/pull/71) ([BaldyAsh](https://github.com/BaldyAsh))
15+
16+
## [1.5.1](https://github.com/matterinc/web3swift/tree/1.5.1) (2018-10-22)
17+
[Full Changelog](https://github.com/matterinc/web3swift/compare/1.5...1.5.1)
18+
19+
**Merged pull requests:**
20+
21+
- Function visibility fix [\#70](https://github.com/matterinc/web3swift/pull/70) ([shamatar](https://github.com/shamatar))
22+
23+
## [1.5](https://github.com/matterinc/web3swift/tree/1.5) (2018-10-18)
24+
[Full Changelog](https://github.com/matterinc/web3swift/compare/1.1.10...1.5)
25+
26+
**Implemented enhancements:**
27+
28+
- Can you add support for ERC-721 tokens [\#7](https://github.com/matterinc/web3swift/issues/7)
29+
30+
**Closed issues:**
31+
32+
- Creating a new wallet is too slow [\#63](https://github.com/matterinc/web3swift/issues/63)
33+
- need to update for Xcode10 [\#49](https://github.com/matterinc/web3swift/issues/49)
34+
- Web3.Utils.formatToEthereumUnits [\#48](https://github.com/matterinc/web3swift/issues/48)
35+
- Interface ideas are welcome for v2.0 [\#3](https://github.com/matterinc/web3swift/issues/3)
36+
37+
**Merged pull requests:**
38+
39+
- Add TxPool and ERC721 native class [\#68](https://github.com/matterinc/web3swift/pull/68) ([shamatar](https://github.com/shamatar))
40+
- Feature/erc721 [\#67](https://github.com/matterinc/web3swift/pull/67) ([BaldyAsh](https://github.com/BaldyAsh))
41+
- Feature/adding logo [\#66](https://github.com/matterinc/web3swift/pull/66) ([BaldyAsh](https://github.com/BaldyAsh))
42+
- adds txpool function and its local node test [\#64](https://github.com/matterinc/web3swift/pull/64) ([currybab](https://github.com/currybab))
43+
- License got reverted somewhere after PRs [\#60](https://github.com/matterinc/web3swift/pull/60) ([shamatar](https://github.com/shamatar))
44+
45+
## [1.1.10](https://github.com/matterinc/web3swift/tree/1.1.10) (2018-10-04)
46+
[Full Changelog](https://github.com/matterinc/web3swift/compare/1.1.9...1.1.10)
47+
48+
**Merged pull requests:**
49+
50+
- Preliminary ENS support, start module splitting [\#59](https://github.com/matterinc/web3swift/pull/59) ([shamatar](https://github.com/shamatar))
51+
- Feature/readme improvement [\#55](https://github.com/matterinc/web3swift/pull/55) ([BaldyAsh](https://github.com/BaldyAsh))
52+
- Feature/support obj c [\#54](https://github.com/matterinc/web3swift/pull/54) ([BaldyAsh](https://github.com/BaldyAsh))
53+
- Feature/ENSsupport [\#53](https://github.com/matterinc/web3swift/pull/53) ([FesenkoG](https://github.com/FesenkoG))
54+
- Add Travis configuration [\#52](https://github.com/matterinc/web3swift/pull/52) ([skywinder](https://github.com/skywinder))
55+
- Added ERC-20 token for testing web3swift lib [\#50](https://github.com/matterinc/web3swift/pull/50) ([BaldyAsh](https://github.com/BaldyAsh))
56+
57+
## [1.1.9](https://github.com/matterinc/web3swift/tree/1.1.9) (2018-09-18)
58+
[Full Changelog](https://github.com/matterinc/web3swift/compare/1.1.7...1.1.9)
59+
60+
**Fixed bugs:**
61+
62+
- eth.getAccounts\(\) function returns an empty address Array [\#24](https://github.com/matterinc/web3swift/issues/24)
63+
- EIP681 bug fixes, accessibility in Function changed [\#35](https://github.com/matterinc/web3swift/pull/35) ([FesenkoG](https://github.com/FesenkoG))
64+
65+
**Closed issues:**
66+
67+
- the version 1.1.6 couldn't from password and keystore to get the privateKey [\#32](https://github.com/matterinc/web3swift/issues/32)
68+
- Need implementation of EIP-681 parsing [\#25](https://github.com/matterinc/web3swift/issues/25)
69+
70+
**Merged pull requests:**
71+
72+
- Update for XCode 10 [\#39](https://github.com/matterinc/web3swift/pull/39) ([shamatar](https://github.com/shamatar))
73+
- Basic ENS support added, EIP681 parsing supports ENS from now. [\#38](https://github.com/matterinc/web3swift/pull/38) ([FesenkoG](https://github.com/FesenkoG))
74+
75+
## [1.1.7](https://github.com/matterinc/web3swift/tree/1.1.7) (2018-09-13)
76+
[Full Changelog](https://github.com/matterinc/web3swift/compare/1.1.6...1.1.7)
77+
78+
**Fixed bugs:**
79+
80+
- Thread blocked [\#16](https://github.com/matterinc/web3swift/issues/16)
81+
82+
**Closed issues:**
83+
84+
- How to create same address and keystore by mnemonics? [\#22](https://github.com/matterinc/web3swift/issues/22)
85+
86+
**Merged pull requests:**
87+
88+
- Fix ethereum address parsing, add readme [\#34](https://github.com/matterinc/web3swift/pull/34) ([shamatar](https://github.com/shamatar))
89+
- complete EIP681, fix the most stupid Ethereum address parsing [\#33](https://github.com/matterinc/web3swift/pull/33) ([shamatar](https://github.com/shamatar))
90+
- Add examples to readme, prettify formatting [\#31](https://github.com/matterinc/web3swift/pull/31) ([skywinder](https://github.com/skywinder))
91+
- continue eip681 work [\#27](https://github.com/matterinc/web3swift/pull/27) ([shamatar](https://github.com/shamatar))
92+
- Implement EIP681 parser \(untested\) [\#26](https://github.com/matterinc/web3swift/pull/26) ([shamatar](https://github.com/shamatar))
93+
- Change access control of function fromRaw in struct EthereumTransaction [\#11](https://github.com/matterinc/web3swift/pull/11) ([Plazmathron](https://github.com/Plazmathron))
94+
95+
## [1.1.6](https://github.com/matterinc/web3swift/tree/1.1.6) (2018-09-04)
96+
[Full Changelog](https://github.com/matterinc/web3swift/compare/1.1.5...1.1.6)
97+
98+
**Merged pull requests:**
99+
100+
- Quick fix for scrypt performance [\#17](https://github.com/matterinc/web3swift/pull/17) ([shamatar](https://github.com/shamatar))
101+
- adding description string to Web3Error [\#1](https://github.com/matterinc/web3swift/pull/1) ([GabCas](https://github.com/GabCas))
4102

5103
[Full Changelog](https://github.com/bankex/web3swift/compare/0.6.0...HEAD)
6104

@@ -237,43 +335,6 @@
237335
- Wrong conversation of the Wei. [\#2](https://github.com/BANKEX/web3swift/issues/2)
238336
- How to connect to a Localhost Node? [\#1](https://github.com/BANKEX/web3swift/issues/1)
239337

240-
## [0.2.8](https://github.com/bankex/web3swift/tree/0.2.8) (2018-01-18)
241-
[Full Changelog](https://github.com/bankex/web3swift/compare/0.2.7...0.2.8)
242-
243-
## [0.2.7](https://github.com/bankex/web3swift/tree/0.2.7) (2018-01-15)
244-
[Full Changelog](https://github.com/bankex/web3swift/compare/0.2.5...0.2.7)
245-
246-
## [0.2.5](https://github.com/bankex/web3swift/tree/0.2.5) (2018-01-12)
247-
[Full Changelog](https://github.com/bankex/web3swift/compare/0.2.0...0.2.5)
248-
249-
## [0.2.0](https://github.com/bankex/web3swift/tree/0.2.0) (2017-12-30)
250-
[Full Changelog](https://github.com/bankex/web3swift/compare/0.1.2...0.2.0)
251-
252-
## [0.1.2](https://github.com/bankex/web3swift/tree/0.1.2) (2017-12-27)
253-
[Full Changelog](https://github.com/bankex/web3swift/compare/0.1.1...0.1.2)
254-
255-
## [0.1.1](https://github.com/bankex/web3swift/tree/0.1.1) (2017-12-26)
256-
[Full Changelog](https://github.com/bankex/web3swift/compare/0.1.0...0.1.1)
257-
258-
## [0.1.0](https://github.com/bankex/web3swift/tree/0.1.0) (2017-12-26)
259-
[Full Changelog](https://github.com/bankex/web3swift/compare/0.0.6...0.1.0)
260-
261-
## [0.0.6](https://github.com/bankex/web3swift/tree/0.0.6) (2017-12-26)
262-
[Full Changelog](https://github.com/bankex/web3swift/compare/0.0.5...0.0.6)
263-
264-
## [0.0.5](https://github.com/bankex/web3swift/tree/0.0.5) (2017-12-21)
265-
[Full Changelog](https://github.com/bankex/web3swift/compare/0.0.4...0.0.5)
266-
267-
## [0.0.4](https://github.com/bankex/web3swift/tree/0.0.4) (2017-12-21)
268-
[Full Changelog](https://github.com/bankex/web3swift/compare/0.0.3...0.0.4)
269-
270-
## [0.0.3](https://github.com/bankex/web3swift/tree/0.0.3) (2017-12-20)
271-
[Full Changelog](https://github.com/bankex/web3swift/compare/0.0.2...0.0.3)
272-
273-
## [0.0.2](https://github.com/bankex/web3swift/tree/0.0.2) (2017-12-20)
274-
[Full Changelog](https://github.com/bankex/web3swift/compare/0.0.1...0.0.2)
275-
276-
## [0.0.1](https://github.com/bankex/web3swift/tree/0.0.1) (2017-12-19)
277338

278339

279340
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*

Podfile

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
def import_pods
22
pod 'scrypt', '~> 2.0'
3-
pod "PromiseKit", "~> 6.3"
3+
pod "PromiseKit", "~> 6.4.1"
44
pod 'BigInt', '~> 3.1'
5-
pod 'CryptoSwift', '~> 0.11'
5+
pod 'CryptoSwift', '~> 0.12'
66
pod 'Result', '~> 4.0'
7-
pod 'secp256k1_ios', :git => 'https://github.com/shamatar/secp256k1_ios.git', :modular_headers => true
7+
pod 'secp256k1_swift', '~> 1.0.3', :modular_headers => true
8+
pod 'SwiftRLP', '~> 1.1'
9+
pod 'EthereumAddress', '~> 1.0.0'
810
end
911

1012
target 'web3swift-macOS' do

Podfile.lock

100755100644
+19-17
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
PODS:
22
- BigInt (3.1.0):
33
- SipHash (~> 1.2)
4-
- CryptoSwift (0.12.0)
4+
- CryptoSwift (0.13.0)
5+
- EthereumAddress (1.0.0):
6+
- CryptoSwift (~> 0.13)
57
- PromiseKit (6.4.1):
68
- PromiseKit/CorePromise (= 6.4.1)
79
- PromiseKit/Foundation (= 6.4.1)
@@ -14,44 +16,44 @@ PODS:
1416
- Result (4.0.0)
1517
- scrypt (2.0):
1618
- CryptoSwift (~> 0.11)
17-
- secp256k1_ios (0.1.3)
19+
- secp256k1_swift (1.0.3)
1820
- SipHash (1.2.2)
21+
- SwiftRLP (1.1):
22+
- BigInt (~> 3.1)
1923

2024
DEPENDENCIES:
2125
- BigInt (~> 3.1)
22-
- CryptoSwift (~> 0.11)
23-
- PromiseKit (~> 6.3)
26+
- CryptoSwift (~> 0.12)
27+
- EthereumAddress (~> 1.0.0)
28+
- PromiseKit (~> 6.4.1)
2429
- Result (~> 4.0)
2530
- scrypt (~> 2.0)
26-
- secp256k1_ios (from `https://github.com/shamatar/secp256k1_ios.git`)
31+
- secp256k1_swift (~> 1.0.3)
32+
- SwiftRLP (~> 1.1)
2733

2834
SPEC REPOS:
2935
https://github.com/cocoapods/specs.git:
3036
- BigInt
3137
- CryptoSwift
38+
- EthereumAddress
3239
- PromiseKit
3340
- Result
3441
- scrypt
42+
- secp256k1_swift
3543
- SipHash
36-
37-
EXTERNAL SOURCES:
38-
secp256k1_ios:
39-
:git: https://github.com/shamatar/secp256k1_ios.git
40-
41-
CHECKOUT OPTIONS:
42-
secp256k1_ios:
43-
:commit: e3ab3e26fafc3688436528f2ca24cc679c7d746e
44-
:git: https://github.com/shamatar/secp256k1_ios.git
44+
- SwiftRLP
4545

4646
SPEC CHECKSUMS:
4747
BigInt: 76b5dfdfa3e2e478d4ffdf161aeede5502e2742f
48-
CryptoSwift: 1c07ca50843dd48bc54e6ea53d7a4dba3b645716
48+
CryptoSwift: 16e78bebf567bad1c87b2d58f6547f25b74c31aa
49+
EthereumAddress: f476e1320dca3a0024431e713ede7a09c7eb7796
4950
PromiseKit: 4c76a6506638034e3d7bede97b2ff7743f7bd2dc
5051
Result: 7645bb3f50c2ce726dd0ff2fa7b6f42bbe6c3713
5152
scrypt: 3fe5b1a3b0976f97cd87488673a8f7c65708cc84
52-
secp256k1_ios: ac9ef04e761f43c58012b28548afa91493761f17
53+
secp256k1_swift: 4fc5c4b2d2c6d21ee8ccb868cdc92da12f38bed9
5354
SipHash: fad90a4683e420c52ef28063063dbbce248ea6d4
55+
SwiftRLP: 5512899925f1a9e1c78c902ed3bf857880e814a0
5456

55-
PODFILE CHECKSUM: f6c71566157938ba8afa59f1e6a3ffc11d709d7b
57+
PODFILE CHECKSUM: 9f923f3cffffde022aaef140f9cd311a152e9c49
5658

5759
COCOAPODS: 1.6.0.beta.1

Pods/BigInt/LICENSE.md

100755100644
File mode changed.

Pods/BigInt/README.md

100755100644
File mode changed.

Pods/BigInt/sources/Addition.swift

100755100644
File mode changed.

Pods/BigInt/sources/BigInt.swift

100755100644
File mode changed.

Pods/BigInt/sources/BigUInt.swift

100755100644
File mode changed.

Pods/BigInt/sources/Bitwise Ops.swift

100755100644
File mode changed.

Pods/BigInt/sources/Codable.swift

100755100644
File mode changed.

Pods/BigInt/sources/Comparable.swift

100755100644
File mode changed.

Pods/BigInt/sources/Data Conversion.swift

100755100644
File mode changed.

Pods/BigInt/sources/Division.swift

100755100644
File mode changed.

Pods/BigInt/sources/Exponentiation.swift

100755100644
File mode changed.

Pods/BigInt/sources/Floating Point Conversion.swift

100755100644
File mode changed.

Pods/BigInt/sources/GCD.swift

100755100644
File mode changed.

Pods/BigInt/sources/Hashable.swift

100755100644
File mode changed.

Pods/BigInt/sources/Integer Conversion.swift

100755100644
File mode changed.

Pods/BigInt/sources/Multiplication.swift

100755100644
File mode changed.

Pods/BigInt/sources/Prime Test.swift

100755100644
File mode changed.

Pods/BigInt/sources/Random.swift

100755100644
File mode changed.

Pods/BigInt/sources/Shifts.swift

100755100644
File mode changed.

Pods/BigInt/sources/Square Root.swift

100755100644
File mode changed.

Pods/BigInt/sources/Strideable.swift

100755100644
File mode changed.

Pods/BigInt/sources/String Conversion.swift

100755100644
File mode changed.

Pods/BigInt/sources/Subtraction.swift

100755100644
File mode changed.

Pods/BigInt/sources/Words and Bits.swift

100755100644
File mode changed.

Pods/CryptoSwift/README.md

+21-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Pods/CryptoSwift/Sources/CryptoSwift/AES.Cryptors.swift

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Pods/CryptoSwift/Sources/CryptoSwift/BlockDecryptor.swift

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Pods/CryptoSwift/Sources/CryptoSwift/BlockEncryptor.swift

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Pods/CryptoSwift/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift

-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)