web3.swift
web3.swift copied to clipboard
Ethereum Swift API with support for smart contracts, ENS & ERC20
There is a bug in Xcode 13 that when scanning code to see is it written in Swift 5, it also scans imported swift packages to see are they using...
Hi there! Great library, love it. Feature request: I want to be able to deploy contracts from Swift code. PR https://github.com/argentlabs/web3.swift/pull/196. Something like: ```swift struct BokkyTokenConstructor: ABIConstructor { static let...
Hello Devs, Thanks for supporting this great library and I have a simple question. I just wonder if web3.swift supports EIP-1559 so it can create 0x02 transaction. If it doesn't,...
Hi there, great library! The ERC20 and ERC721 ABI helpers built in are great, are there plans to add the ERC1155 ABI?
This is my struct. ``` struct TupleWithArray: ABITuple { static var types: [ABIType.Type] { [ABIArray.self] } var owners: [EthereumAddress] init(owners: [EthereumAddress]) { self.owners = owners } init?(values: [ABIDecoder.DecodedValue]) throws {...
Creating account with EthereumAccount.create(...) generates public key of 64 bytes size and private key of 425 bytes size. Dealing with them results in invalid public address. Meanwhile, creating Ethereium account...
Hi , i don't find the multicall contract address for goerli, 1. so we don't support it, right ? 2. then i cannot use multicall on Goerli Test Network right...
``` let group = DispatchGroup() group.enter() var network: EthereumNetwork? net_version { result in switch result { case .success(let data): network = data case .failure(let error): self.logger.warning("Client has no network: \(error.localizedDescription)")...