15 questions
0
votes
0
answers
82
views
Swap Uniswap V4 on Universal Router got revert
I'm trying to swap token in v4, but it got revert anyway. this is my code, i already approve erc20 -> permit2, then approver permit2 -> universal router, but it still got revert, i'm swapping ...
0
votes
0
answers
420
views
How to conduct an ETH transfer from web3swift?
How do I send GoerliETH from one wallet to considering I have my Wallet Address, Private Key, Infura Goerli API Key and the recipient Wallet Address.
I have tried to get balanceOf for the wallet so ...
0
votes
1
answer
480
views
How to get ETH transaction status from web3swift?
I did The ETH transaction with help of web3swift and Infura endpoint. I can't able to get the status of that transaction. I have generated a transaction hash by using the following code.
guard
...
0
votes
0
answers
494
views
Web3 Swift Call Contract using Skywinder wrapper
I am trying to call a contract via web3 using sky winder wrapper.
What I am trying to do is call a contract where I pass x amount of token coins and pass contract address and token address. However it'...
3
votes
1
answer
1k
views
How to interact with Smart Contract deployed on Blockchain from Swift app
It is my first time working with smart contracts and my goal is to create a mobile app which can interact with it by calling methods to save or retrieve data. For this reason I have created a very ...
0
votes
1
answer
1k
views
Web3Swift Interaction with custom ABI
I am trying to interact with a smart contract I set up.
Basically the goal is to set from an iOS App 5 Parameters
projectTitle
projectLocation
projectStart
projectEnd
teamType
I want the user to set ...
1
vote
0
answers
163
views
Smart Contract Event Parsing With Web3swift and interacting with it swift
I am using the web3swift library and I managed to read methods of the smart contract. But Not able to parse non-indexed events of the smart contract. can anyone give an example to parse non-indexed ...
6
votes
1
answer
2k
views
Sign any message with the user’s private key and verify the signature on Ethereum
I'm trying to explore Ethereum and creating a app which let user sign message and validate the message.
I'm using web3swift framework for this and what I have tried so far is as follows -
let ...
2
votes
1
answer
330
views
Export mnemonics function in web3swift library
I have a problem interacting with web3swift.
I need to show mnemonics to my users when they want it. Is there a way to do it?
I did a little research and found out that in trust wallet this could be ...
3
votes
1
answer
1k
views
Interacting with custom smart contract using web3swift
I am using the web3swift library and I managed to do some transactions, mostly gets (balanceOf, owner etc). I read the whole readme(documentation), but I am not quite sure, can we use this library to ...
1
vote
1
answer
225
views
Can't import Web3. swift in Xcode project
Hey I was able to instal the web3swift pod using pod install but afterwards I can't import it in the project, so I can't start using it. Any tips?
Here is the Podfile code
# Uncomment the next ...
0
votes
1
answer
935
views
How to sign personal message with the personal extension of web3?
I'm making a Dapp with web3swift by matter inc. One method I come across is one of the web3.Personal extension:
public func signPersonalMessage(message: Data, from:
web3swift.EthereumAddress, ...
2
votes
1
answer
357
views
How to use custom json contract with web3swift
How can I use a JSON contract local, for example something like this:
let jsonString = "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\...
3
votes
1
answer
1k
views
Compile error when trying to import web3swift
I am trying to import web3swift into one of my Swift files, but get the compiler error
No such module 'web3swift'".
The import statements look like this:
import Geth
import web3swift
In my pod ...
1
vote
1
answer
1k
views
How to create raw transaction using web3swift?
I'm working on a project related to blockchain and need to figure out how raw transaction can be possible. I got no reference for this as of now.
I have tried matterinc/web3swift but unable to get ...