From 0928fe9fb511b767c771130409c94a7874491ad1 Mon Sep 17 00:00:00 2001 From: Koray Koska <11356621+koraykoska@users.noreply.github.com> Date: Wed, 5 Oct 2022 14:44:56 +0100 Subject: [PATCH 1/2] fix: remove xctestcase --- Tests/LinuxMain.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/LinuxMain.swift b/Tests/LinuxMain.swift index 9dfa4fdc..9b1de931 100644 --- a/Tests/LinuxMain.swift +++ b/Tests/LinuxMain.swift @@ -54,8 +54,8 @@ import Quick // Web3Tests Web3HttpTests.self ], configurations: [], testCases: [ - SolidityTypeTests.self, - SolidityWrappedValueTests.self +// SolidityTypeTests.self, +// SolidityWrappedValueTests.self ]) } } From ac16cab38dfb3ef82a1b51eb808a2ccfbc8dbce7 Mon Sep 17 00:00:00 2001 From: Koray Koska <11356621+koraykoska@users.noreply.github.com> Date: Wed, 5 Oct 2022 15:04:53 +0100 Subject: [PATCH 2/2] chore: update readme links and funding --- .github/FUNDING.yml | 2 +- README.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 6d6c8a4a..74de4346 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,6 +1,6 @@ # These are supported funding model platforms -github: [Ybrin]# Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] +github: [koraykoska]# Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] patreon: # Replace with a single Patreon username open_collective: # Replace with a single Open Collective username ko_fi: # Replace with a single Ko-fi username diff --git a/README.md b/README.md index a335311e..5048cba2 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ Web3 is compatible with Swift Package Manager v5 (Swift 5 and above). Simply add ```Swift dependencies: [ - .package(url: "https://github.com/Boilertalk/Web3.swift.git", from: "0.5.0") + .package(url: "https://github.com/Boilertalk/Web3.swift.git", from: "0.6.0") ] ``` @@ -301,11 +301,11 @@ or [the official Ethereum JSON RPC documentation](https://eth.wiki/json-rpc/API) We are providing an optional module for interaction with smart contracts. To use it you have to add `Web3ContractABI` to your target dependencies in your Podfile (for SPM). Make sure you check out the [installation instructions](#Installation) first. -We are providing two different options to create contract abi interfaces in Swift. Either you define your functions and events manually (or use one of our provided interfaces like [ERC20](Web3/Classes/ContractABI/Contract/ERC20.swift) or [ERC721](Web3/Classes/ContractABI/Contract/ERC721.swift)). Or you parse them from the JSON ABI representation just like in web3.js. +We are providing two different options to create contract abi interfaces in Swift. Either you define your functions and events manually (or use one of our provided interfaces like [ERC20](Web3/Sources/ContractABI/Contract/ERC20.swift) or [ERC721](Web3/Sources/ContractABI/Contract/ERC721.swift)). Or you parse them from the JSON ABI representation just like in web3.js. ### Static Contracts -Static contracts are classes implementing `StaticContract`. They provide a set of functions and events they want to use from the original smart contract. Check out our provided static contracts as a starting point ([ERC20](Web3/Classes/ContractABI/Contract/ERC20.swift) or [ERC721](Web3/Classes/ContractABI/Contract/ERC721.swift)). +Static contracts are classes implementing `StaticContract`. They provide a set of functions and events they want to use from the original smart contract. Check out our provided static contracts as a starting point ([ERC20](Web3/Sources/ContractABI/Contract/ERC20.swift) or [ERC721](Web3/Sources/ContractABI/Contract/ERC721.swift)). Our static ERC20 interface is called `GenericERC20Contract`, the ERC721 contract is called `GenericERC721Contract`. Both can be subclassed to add more functions for custom contracts. @@ -408,7 +408,7 @@ firstly { Using this API you can interact with any smart contract in the Ethereum Network! -For more examples, including contract creation (constructor calling) check out our [tests](Example/Tests/ContractTests). +For more examples, including contract creation (constructor calling) check out our [tests](Tests/Web3Tests/ContractTests). ## Common errors