Questions tagged [safe-core-sdk]
Developer support questions for the Gnosis Safe core SDK and tools that facilitate the interaction with the Safe contract and services.
104
questions
0
votes
0
answers
8
views
`getOwners`calling the contract implementation instead of the deployed proxy on Goerli
Since the Sepolia support and the new versions of the packages were deployed, I can't execute any transaction with the protocol SDK. Every call fails because getOwners is targeting the contract ...
0
votes
0
answers
10
views
How can I start Integrating Safe wallets for AA
I had a couple of questions regarding AA in safe wallets.
Does Safe Wallet support AA by default?
While using the AA SDK, it says it generates an EOA, does it also create a smart contract wallet at ...
0
votes
0
answers
30
views
Safe - refund amount is always less than gas fee
I'm trying to send some ether from a safe account to an EOA. However, the refund amount received back is always less than the gas fee. The following code snippet shows how I'm estimating both the base ...
0
votes
0
answers
7
views
Using arbitary number / signature to enable Social Recovery using Auth Kit of Safe
I hope you are doing well. I am making an Wallet here I am going to generate a Nullifier hash of each user Aadhar Card (It is an Identity Card of Indian Citizens). I am looking to use Safe Auth Kit ...
0
votes
0
answers
6
views
How to integrate Safe with Telegram?
I want to create a safe wallet for users based on telegram inside a bot.
Could you guide me what components and in what order are required?
I am still struggling to understand how telegram could act ...
0
votes
0
answers
9
views
Spoofing Transaction
This transaction https://etherscan.io/tx/0x2231b527b0063dd2c97472d6289038828db3d91a074c9dafe9e53bd5cf66cdfb has been reported as an event spoofing transaction - however it shows up on the safe app as ...
0
votes
0
answers
6
views
How to club Safe Deployment Transaction and Enable Module Transaction with safe-core-sdk/protocol-kit v2.0.0?
I have been trying to use Safe-core-sdk/protocol-kit v2.0.0.
I am using the wrapSafeTransactionIntoDeploymentBatch function to batch the Safe Creation + Enable Module transaction.
I can create the ...
0
votes
0
answers
16
views
Issue to deploy safe infrastructure on a new chain
We want to follow the procedure described it here : https://github.com/safe-global/safe-infrastructure
So we started adding our token to safe-deployment repo and request a bump in the NPM package. ...
0
votes
0
answers
16
views
Gnosis Safe workers not works in local environment
I run Gnosis Safe in local environment; I encounter this error
2023-11-29 11:28:45 2023-11-29 03:28:45,601 [ERROR] [???/???] pidbox command error: AttributeError("'NoneType' object has no ...
0
votes
2
answers
35
views
Safe transactions are getting failed when executed through relay(Sponsored Call)
I'm trying to execute a Safe transaction through the relay. The transaction has enough signatures, it just needs to be executed. After a few seconds, the transaction status changes to Cancelled and ...
0
votes
0
answers
32
views
Vote on a Snapshot with a deployed Safe using the Safe SDK?
I'm wondering how the code might look/if it's possible to use the Safe Core SDK to deploy a safe, then vote on a Snapshot proposal? Suppose I have a safe, successfully created with:
const safe = await ...
0
votes
1
answer
28
views
Deploy entrypoint contract on an new op stack chain using safe-singleton-factory
Hello I wanna deploy the entrypoint contract to our op stack chain we have the testnet running tryna follow this Safe developers documentation and I did submit a transaction to our testnet but what ...
0
votes
0
answers
39
views
Execution Reverted: GS013 Error in Safe Wallet During 0x OTC Transaction
I am encountering a 'execution reverted: GS013' error when trying to execute a script that aims to fill an Over-the-Counter (OTC) transaction through Safe Wallet using the 0x protocol. This issue ...
0
votes
1
answer
20
views
Integrating EIP-1271 with Safe SDK for Signature Verification
I'm working on implementing signature verification using the Safe SDK in conjunction with EIP-1271. Currently, I'm referring to this documentation for initializing my application with EIP-1271.
I have ...
0
votes
2
answers
58
views
differences between createTransaction and createTransactionBatch (@safe-global/protocol-kit)
Is there a difference between:
createTransaction (used with multiple transactions (MetaTransactionData[]))
createTransactionBatch
Both seem to do the same thing but createTransactionBatch is not ...
0
votes
1
answer
26
views
Could not login social account with Web3AuthModalPack which provided by Safe wallet
It seems that could not log in Web3AuthModalPack with any social media account, like Google, Facebook, etc.. It only works when I login with MetaMask. Anyone get the clue?
const init = async () =&...
1
vote
1
answer
38
views
How non owner can execute signed transaction hash in safe?
In Safe web wallet, a non owner can execute the transaction once all the owners sign the transaction. Is it possible to do the same with safe sdk? what are the params need to be send in ...
1
vote
1
answer
54
views
How to deploy a Safe on Hardhat
I am developing a Safe Module and would like to use Hardhat to test it. However, I have been so far unable to deploy a Safe using Hardhat. Does anyone have experience doing this? Even when I set my ...
2
votes
0
answers
67
views
How to deploy safe contract with predicted config and gelato sponsored gas fee?
We are trying to create a Safe smart contract account for given users, based on their emails. Is it possible to use gelato, to sponsor the Safe deploy contract transaction fee?
I am following the ...
0
votes
0
answers
12
views
Request off-chain signature from safe wallet
I was wondering whether it is possible to request an off-chain signature of some JSON data from a specific safe wallet?
Thankful for some insight!
0
votes
0
answers
49
views
Safe-core-sdk + fireblocks as signer: Provides different transaction hashes & transaction can be executed in web UI, but not with executeTransaction()
I'm using an Fireblocks account as a signer ( which uses MPC under the hood ) for my gnosis-safe.
There are two problems that I'm encountering:
The transaction hash from the safe-core-sdk and the one ...
1
vote
0
answers
23
views
I can't send Transactions to safe-BSC endpoint. Internal Server Error
I am using safe sdk to send transactions to safe multisig wallet using hardhat.
Everything was working well, but today I have got "Internal Server Error" during execution.
Is there any ...
0
votes
0
answers
14
views
How do i get the oAuthToken from the safe web3modalPack
I am building an application where i require the oAuthIdToken returned by web3Auth.userInfo() , but safe account abstraction kit is not returning the google users oauth token.
{
"email": &...
0
votes
1
answer
54
views
How to integrate safe core account abstraction into web app
I want to create and web app in which user will be able to -
create their smart wallets using google signin (web3auth)
interact with other smart contracts for minting or transferring assets
In my ...
0
votes
0
answers
13
views
How can I fix this error I am getting when trying to create a Web3AuthModalPack instance?
I am trying to create a Web3AuthModalPack instance using the Web3Auth pack. I am following this guide: https://docs.safe.global/safe-core-aa-sdk/auth-kit/web3auth
I am getting this error when running ...
0
votes
1
answer
14
views
Examples of using the SDK to deploy Safe and perform transfer from wallet in one go?
I'm assuming the optional to and data field on SafeAccountConfig object is used for this case? Can someone point me to docs or examples that demonstrate this?
Thanks!
0
votes
1
answer
14
views
Can Safe AA hold any ERC20 token?
So currently what i want to do is to make my Safe AA hold ERC20 not just native tokens which i can use this ERC20 to transfer to other wallets or even use to pay something on a Dapp. Is Safe AA ...
0
votes
0
answers
12
views
Why is OnRampKit >> Monerium not working with Safes?
Using Monerium provider of OnRampKit (which does not support EIP2612's permit function), you get their own token ($EURe) deposited on your connected Safe address.
My question is, how can you use the ...
0
votes
0
answers
15
views
Safe CLI Transaction - Invalid Syntax
I sent an nft to the wrong chain (eth) so I created a new gnosis wallet on the correct chain (optimism) with the same address.
I am now trying to send that nft using safe cli; I am using the following ...
0
votes
1
answer
25
views
Running safe wallet for other evm chains
I am trying to run safe frontend $ backend for new EVM chain but not able to do so. Can anyone suggest the steps or suggest documentation to follow.
BTW I was following https://help.safe.global/en/...
0
votes
0
answers
30
views
Verification Failed on add Safe (ZKEVM)
We are trying to add a new Safe using the Safe Singleton on ZkEVM.
While this work without any issue on other chains, ZkEVM is stuck with an error:
https://safe-client.safe.global/v1/chains/1101/safes/...
0
votes
1
answer
43
views
executeTransaction returns nonce too low error
I'm trying to execute a safe tx, but it always returns a "nonce to low" error.
This is the code I'm executing:
This first tx works:
const tx = await safeSDK.createAddOwnerTx({
...
0
votes
0
answers
25
views
Safe Transaction Service API endpoint for Base Goerli testnet
I was using the Safe Transaction Service API to interact with my Safe for creating transactions, but I am unable to find the url to connect to the transaction service on the Base Goerli testnet.
The ...
1
vote
0
answers
39
views
Safe wallet targeting alternative bundlers / paymasters?
In July the Safe team announced
Previously, developers building on Safe{Core} were able to build on the Relay Kit using technology from Gelato. With ERC-4337 integrations supported in v.1.4.1, ...
2
votes
1
answer
47
views
Error signing transactions with Alchemy using safeSdk.executeTransaction(safeTransaction) from @safe-global/protocol-kit (gnosis-safe)
SOLVED - SOLUTION TO BE POSTED BY ME TOMORROW!
Hello builders!
One Line summary:
safeSdk.executeTransaction(safeTransaction) from @safe-global/protocol-kit does not work for signing transactions, I ...
0
votes
0
answers
11
views
how can I create AA based wallet with Safe AuthKit?
im trying to create wallet with gmail by using AuthKit. but AAdemoUI seems not working.
I can only create wallet with MetaMask....
Anything should I modify or are there any newest version of demo UI?
...
0
votes
1
answer
24
views
Is it possible to trigger send transaction from NodeJs server for safe wallet without owner private key and owner get the notification for signing
I want to create a NodeJs server and use the safe sdk wallet to create the safe Instance and initiate the transaction from it, and then send the notification to all owners so that they can sign the ...
1
vote
1
answer
105
views
Can a SAFE be deployed using a paymaster / gasless transaction?
One big selling point of account abstraction is transparent set up of smart wallets for users.
Given this, I'm not super clear from the documentation if gasless SAFE deployment is supported?
https://...
0
votes
0
answers
4
views
Onramp Kit restrictions (chains / jurisdiction)
Noticed the folllowing text
Consider that the Onramp kit will only work on Mumbai test chain and US based connection.
on the account-abstraction-demo-ui demo project. Do these restrictions apply to ...
0
votes
1
answer
92
views
How to send a transaction request to a Safe Wallet using Safe SDK?
I would like to send a transaction request to Safe Wallet from my CLI tool using Safe SDK. Is it possible to do so in a Node.js environment?
I found this: Programmatically sending a transaction ...
2
votes
0
answers
145
views
Multi-sig Safe (formerly Gnosis Safe) ERC-4337 transaction with gas abstraction
Having a hard time estimating gas using eth_estimateUserOperationGas for a Safe execTransaction call wrapped in a UserOperation.
I have a safe contract deployed with the ethInfinitism ERC4337 Safe ...
1
vote
1
answer
25
views
Proposed Safe transaction from delegate address is not trusted
I'm currently facing an issue on one of the tools I'm working on. The goal of the tool is to have a CI job that sync a Safe account to a github repo. When creating new proposals and they get merged to ...
2
votes
0
answers
45
views
Using Relay Kit to sponsor creation of a Safe
Our goal is to create a Safe for all new users, based on their email. Is it possible to use Relay to sponsor the creation of the Safe?
I am following the Protocol Kit instructions for deploying a Safe....
0
votes
0
answers
15
views
How to get required Transaction Fee in creating and deploying Gnosis Safe using their SDK core?
how do i get the transaction fee which is required for creating and deploying a SAFE using core SDK?
await safeFactory.deploySafe({ safeAccountConfig })
This piece of code is doing that for me, but I ...
1
vote
0
answers
22
views
Transaction failed [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] - Gas fee
I'm trying to create new safe wallet for my current wallet using deploySafe method. Following is my implementation:
const provider = new ethers.providers.JsonRpcProvider('https://polygon-rpc.com);
...
1
vote
1
answer
125
views
Returned error: unknown account Web3.js
I'm trying to create new safe wallet for my current wallet using deploySafe method.
Following is my implementation:
import Safe, {
SafeAccountConfig,
SafeFactory,
Web3Adapter,
...
0
votes
0
answers
61
views
How to create a Safe Module that allows custom logic in Paymaster?
I want to learn more about how to develop a Gnosis Safe module. Is Safe Core SDK built on top of the ERC 4337? I'd like to add some custom logic for the paymasters that can sponsor transactions for ...
1
vote
1
answer
154
views
Connecting a manually created Gnosis Safe to the Safe UI
I have a Safe at https://etherscan.io/address/0x000000000034065b3a94c2118cfe5b4c0067b615#readProxyContract, and I was having trouble connecting it to both the Safe Web and Safe Mobile apps. When ...
0
votes
0
answers
19
views
How to set up Safe transaction service for forked ethereum mainnet testing?
I am forking mainnet so that I can simulate a proposal to a DAO via multisig that I do not own, using hardhat, ethers, and typescript. When I create a transaction, there's no way to set up a Safe ...
1
vote
0
answers
43
views
How to set up contractNetworks in gnosis safe to use protocol kit on localhost
I am trying to use protocol kit and safeSdk to test gnosis safe. I also want to modify existing contracts to add additional features to the safe contracts and modules. To do these things, I was trying ...