New answers tagged

0 votes

new SafeApiKit returning "TypeError: SafeApiKit is not a constructor"

I had the same issue and fixed it by destructuring the default from SafeApiKit like this: const safeService = new SafeApiKit.default({ txServiceUrl, ethAdapter: ethAdapterOwner1, });
Ruwaifa Tahir's user avatar
0 votes

safe-core-sdk/auth-kit giving build errors in vite

You can try to use the below vite.config.ts configuration instead the one originally created to run in the safe-core-sdk monorepo (You need to add vite-plugin-node-polyfills as a dev dependency): ...
yagopv's user avatar
  • 101
0 votes

Safe transactions are getting failed when executed through relay(Sponsored Call)

Signing part was missing here. here is the working code. const safeTransactionData = { oldOwnerAddress, newOwnerAddress, }; const safeSDK = await Safe.create({ ...
Harsha V's user avatar
0 votes
Accepted

Create a new Safe from another contract

Here's how I got it to work: Deploy a module, let's call it SafeGuard.sol In that module, define an initializeProxySafe() function initializeProxySafe() function calls createProxyWithNonce on the ...
Fast Ackl's user avatar
1 vote

Safe transactions are getting failed when executed through relay(Sponsored Call)

GS020 error means that there are not enough signatures sent to the contract: When the error is thrown: https://github.com/safe-global/safe-contracts/blob/f03dfae65fd1d085224b00a10755c509a4eaacfe/...
Germán's user avatar
  • 688
1 vote

(Gnosis) Safe Transaction Not Showing In Metamask

This is an issue on Metamask side. Regarding Safe transactions showing value of 0 ETH, this is expected because the Safe transaction is not a transfer, but a call to a function in the Safe contract ...
Germán's user avatar
  • 688
0 votes

error on deploy a Safe on Sepolia with v1.4.1

Thanks for reaching out. I haven't looked thoroughly into your error, but I can point you to our protocol kit, where there is class SafeFactory that exposes a predictSafeAddress method where a ...
Louis from Safe Core Team's user avatar
1 vote

Safe Transaction API balance - returns 0 for fiatConversion for all tokens

Thanks for your question. We were returning an estimate USD price for the tokens in our transactions service, until last week. With the big amount of tokens it's very difficult for us to maintain that ...
Louis from Safe Core Team's user avatar
0 votes

Not able to access my networks after deploy safe-infrastructure on localhost

To make your SAFE infrastructure accessible on a public IP, you'll first need to configure your infrastructure to bind to 0.0.0.0 instead of localhost, allowing it to listen on all network interfaces. ...
Ari Setiawan's user avatar
0 votes

Calling Gnosis safe's propose transaction (safeService.proposeTransaction) gives Unprocessable Entity error

Try to set value as as a string. Like this: const data1 = { to: tocks, data: "...
Calypso's user avatar
  • 167
0 votes
Accepted

How to call gnosis-safe's changeThresold function from onchain contract which is owner of that safe

Hey if the owner is smart contract ensure that it supports eip-1271. When submitting txn should be called from the owner smart contract where toAddress -> safe, calldata -> execTransaction ...
Bapi Reddy's user avatar
0 votes

Not able to use Private blockchain network in Safe-Infrastructure

Hey inorder to work with safe ui on private blockchain requires other aiding services like txn-service, indexing to be in place. Ensure that other services are up inorder to test
Bapi Reddy's user avatar
3 votes

Create same address under ETH as like available in Polygon @gnosis- safe

Brahma Devs have just deployed a Safe on Mainnet, your funds have recovered. You can proceed to take ownership either directly or via https://console.brahma.fi to secure upcoming operations (The team ...
Kakusan's user avatar
  • 31
1 vote

Create same address under ETH as like available in Polygon @gnosis- safe

your safe with the original 2/2 owner setup has already been created. so you can access your funds again. https://app.safe.global/home?safe=eth:0x5dE19F50177599CacaAB0e21D135bC8E805fc363
jomoormann's user avatar
0 votes
Accepted

I want to call a contract method using my safe wallet address

I assume you are asking how to call a contract via safe wallet. For that, head over to safe wallet, and you'll see this new transaction button, clicking on that, you'll see this interface. Click on ...
Zartaj Afser's user avatar
  • 2,150
0 votes

Can we add custom network on safe wallet web?

Of course, you can add a custom RPC network to a wallet, including the Gnosis Safe wallet. You'll need to know the network's RPC URL, chain ID, currency symbol, and explorer URL. However, the exact ...
Ari Setiawan's user avatar
0 votes

Safe Deployment Addresses on Polygon

For anyone looking, for Safe version 1.3.0 the addresses are multiSendAddress: "0xA238CBeb142c10Ef7Ad8442C6D1f9E89e07e7761" safeMasterCopyAddress: "...
Liam's user avatar
  • 38
0 votes

The wallet connect on deposit.gnosischain.com and Safe are no longer compatible, GC uses v1, Safe v2. How do I use transaction builder to deposit?

Unfortunately, there's no backward compatibility between WC v1 and v2, and it's impossible to use WC anymore. One workaround is to use the Rabby wallet browser extension, which supports Safe wallets, ...
mikheevm's user avatar
  • 1,046
0 votes

Transaction Builder: Error Message: GS013

I got this error message when importing your Safe in app.safe.global: This Safe Account was created with an unsupported base contract. The web interface might not work correctly. We recommend using ...
Germán's user avatar
  • 688
1 vote
Accepted

differences between createTransaction and createTransactionBatch (@safe-global/protocol-kit)

Using createTransaction is recommended as createTransactionBatch will probably be moved to a utils file
Germán's user avatar
  • 688
0 votes

differences between createTransaction and createTransactionBatch (@safe-global/protocol-kit)

Generally, createTransaction might handle a single transaction or an array of transactions, while createTransactionBatch typically implies batch processing of multiple transactions together. The exact ...
Ari Setiawan's user avatar
0 votes

Any Gnosis-Safe SDKs for Android/IOS?

Regarding the REST API, we have the Safe Transaction Service, and depending on the network you want to use, there are different endpoints for it: https://docs.safe.global/safe-core-api/available-...
Germán's user avatar
  • 688
0 votes
Accepted

Refunding with a gas price lower than the minimum unit

This is a known issue regarding the repayment feature. There are plans to remove it from the core contract. Meanwhile, in the Safe{Core} SDK we are handling this by creating a batch transaction from ...
Germán's user avatar
  • 688
1 vote

How to interact directly with Safe smart contracts WITHOUT using safe SDK (raw interaction using ethersjs or web3)? Can you provide an example?

Could you add some context why you want to avoid the use of the Safe{Core} SDK, as it is a tool that facilitates all the interaction with Safe contracts, speeding the development and offering a better ...
Germán's user avatar
  • 688
0 votes

__classPrivateFieldGet(...).getEip3770Address is not a function

getEip3770Address is a method defined in the interface of the EthAdapter class: https://github.com/safe-global/safe-core-sdk/blob/4d1c0e14630f951c2498e1d4dd521403af91d6e1/packages/safe-core-sdk-types/...
Germán's user avatar
  • 688
0 votes

Programmatically sending a transaction request to Gnosis Safe wallet

If you're looking to send a transaction request to a Safe wallet programmatically using the newer @safe-global packages, here's how you can do it. The example below demonstrates the use of a ...
MShakeG's user avatar
  • 1,408
1 vote

How do I get EthAdapter?

This line: const safeSdk = await Safe.create({ ethAdapterOwner1, retrievedSafeAddress }) is not correct, it should be: const safeSdk = await Safe.create({ ethAdapter: ethAdapterOwner1, ...
Germán's user avatar
  • 688
1 vote
Accepted

How non owner can execute signed transaction hash in safe?

That is correct and it also applies to the Safe{Core} SDK. The params are the ones you defined, just the safeTransaction, but make sure that the object contains all the signatures from the owners ...
Germán's user avatar
  • 688
0 votes

How do I get EthAdapter?

To obtain an EthAdapter, you can access the appropriate contract or application on the Ethereum blockchain to connect and interact with Ethereum and other blockchains.
kathy's user avatar
  • 1
1 vote

What should be value of _singleton variable in deployProxy method?

The regular singleton doesn't emit events for gas savings reasons and requires a tracing node for indexing. The L2 version emits events that can be used for indexing.
mikheevm's user avatar
  • 1,046
1 vote

How can I get safe tx hash or safe tx detail by on chain transaction hash

You can use Etherscan to input the transaction hash and view the details. Alternatively, use a library like Web3.js or Ethers.js to query the transaction details from an Ethereum node. The Gnosis Safe ...
Ari Setiawan's user avatar

Top 50 recent answers are included