New answers tagged gnosis-safe
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,
});
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):
...
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({
...
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 ...
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/...
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 ...
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 ...
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 ...
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.
...
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: "...
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 ...
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
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 ...
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
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 ...
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 ...
0
votes
Safe Deployment Addresses on Polygon
For anyone looking, for Safe version 1.3.0 the addresses are
multiSendAddress: "0xA238CBeb142c10Ef7Ad8442C6D1f9E89e07e7761"
safeMasterCopyAddress: "...
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, ...
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 ...
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
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 ...
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-...
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 ...
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 ...
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/...
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 ...
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,
...
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 ...
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.
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.
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 ...
Top 50 recent answers are included
Related Tags
gnosis-safe × 649gnosis × 121
safe-core-sdk × 87
safe-core × 48
solidity × 32
multisignature × 29
ethers.js × 24
smart-contract-wallets × 19
safe × 17
walletconnect × 15
signature × 10
hardhat × 10
polygon × 10
safe-apps-sdk × 10
gnosis-chain × 9
nft × 8
account-abstraction × 8
web3js × 7
metamask × 7
contract-deployment × 6
etherscan × 6
proxy-contracts × 6
eip-1271 × 6
javascript × 5
bsc × 5