I want to deploy a multi-sig wallet on Ethereum to which i also found the code on github here: https://github.com/BitGo/eth-multisig-v4 but due to my limited technical expertise with smart contracts i am having a hard-time figuring it out! I tried loading all the contracts inside a remix workspace but its resulting in a lot of parsing errors...i would like to deploy using truffle, i even tried deploying it but it failed due to some improper configuration! Any help would be appreciated!
Related
I have already deployed a contract on the ropsten test network and also have the contract address.
But, How do I interact with it through something like an android project?
I know I have to add the dependencies first and all. But, here's the confusion -
I have deployed the contract on etherscan's ropsten testnet through the remix IDE
Deployed a project on infura
Created a metamask wallet which now has 1 eth on the ropsten testnet
now, how do I combine all this such that I can access it in my android studio or any other project for that matter?
All I need is to know how anybody would interact with a contract.
Even getting to know the basic requirements steps would be more than enough.
Any help will be appriciated...
its getting harder and harder to find answers on the net and I don't have much time. Appriciate the help, thank you...
I somehow found a blog with a Github sample project which is simple enough to figure out what does what inside the project.
It is an extremely simple hello world project.
If you are like me and haven't been able to make any progress for the past 4-6 hours because of lack of info, then this will surely help.
here's the Github Link if you are in a hurry.
it's my first post here. I would like to ask, what's the possible errors that a developer can face while trying to deploying their smart contract into the Ethereum network.
For example, can it be "Out of gas"? and why does this happen? Could you please let me know or summarize any errors that will prevent them of properly deploying their contracts to the network?
Thank you in advance.
I am new to blockchain. I have read that tokens are created using smart contracts in Ethereum. Smart contracts need ether to be created. Is there anyway that I can create tokens without using ether or any other cryptocurrency?
No there is no way to do this. This is an essential component of the Ethereum Blockchain as it prevents a DDOS like attack on the network. Think of it like this: if there was no cost involved in deploying a smart contract someone could just spam the network and create billions of smart contract. Very quickly the entire network would collapse.
However there are ways to get a little bit of free Ethereum. For example you could use a faucet which will distribute a little bit of Ethereum. Usually these faucets distribute Ethereum for testnet versions of the Ethereum network.
For example take a look at the Rinkeby testnet. They have their own faucet which will allow you to get a little bit of Ethereum for testing purposes.
There may be faucets which work on mainnet. However keep in mind there is no such thing as a free lunch. Someone somewhere will eventually have to pay the bill.
I want to deploy a smart contract on server and interact with it using mobile client. I'm not familiar with how does that work but after some research, I found something like below:
If we compare communication through web services in mobile client, then pretty much everything is same expect in Smart contract, is no database or deployment service as the result of decentralized nature of the system. Is that right? We can connect mobile client to smart contract using some library like web3 which would essentially work with Json RPC or websockets.
But what if I don't want to connect each mobile client to smart contract using library like web3? Instead, what if I want to have a HTTP server and then it would connect to smart contract like below?
Is that possible? If yes, then how can I do that?
My second question is regarding deployment. In the centralized server scenario, I would have database deployed on some service like AWS etc. I could estimate the deployment cost. I understood that we have to deploy smart contract on Ethereum mainnet which will cost some x amount of Ether. But then I found out that my users will have to pay for each computation. What if I want to bear all the costs? How can we estimate such costs?
Instead, what if I want to have a HTTP server and then it would connect to smart contract like below?
You certainly can do this, some might argue a layer of centralization is added by placing a web server between the DApp and blockchain, but I would disagree. If you want to do this, your DApp would simply call a REST API on your web server which in return would utilize web3.js (node.js), web3j (Java), Nethereum (C#/.NET) or any other flavor of Web3 to interact directly with the blockchain.
What if I want to bear all the costs?
You will only be able to bear the costs of deploying smart contracts which are deployed on your behalf and not on behalf of any potential end-users.
How can we estimate such costs?
You can estimate the gas cost of a contract deployment or contract interaction via web3's estimateGas method. Understand, this cost can be largely effected by how well structured your Solidity smart contract code is written. Note, this is of course also only an estimate as users could always expend more Ether to have their transaction confirmed quicker or the state of the data within the smart contract could change over time requiring higher gas costs (i.e. iterating a growing array). For more information on gas costs within the Ethereum mainnet, you can take a look at ETH Gas Station.
As a side note, since I do not know your particular use case for blockchain technology, it could be helpful to weigh out whether or not it makes sense to utilize the Ethereum mainnet or to spin up your own private Ethereum blockchain. With the latter you would completely avoid having to spend any Ether to interact with blockchain network, but you would likely have additional overhead.
I have a Realtime API application in which the prototype of gapi.drive.realtime.CollaborativeString is modified to provide extra methods. Today (October 30, 2014) at about 10 AM EDT, the app suddenly stopped working. It turns out that accessing gapi.drive.realtime.CollaborativeString.prototype throws an error because gapi.drive.realtime.CollaborativeString, along with all the other Collaborative classes, is now undefined!
I am currently working around this by adding the required methods to each CollaborativeString individually, but I would appreciate if someone on the Google Drive API team could tell me:
Has the API actually been changed today to remove the public handles for these classes?
If so, why?
Most importantly, why was there no warning or change in the documentation? Unless there was no change and I'm just being stupid, this caused significant downtime on a production service today. The documentation still lists the classes in the gapi.drive.realtime namespace.
Thank you in advance for your clarification and sorry for the StackOverflow format. Also posted in the Google Drive issues forum.
We made some changes to the API to avoid exposing obfuscated private properties, which were causing problems for several of our users who were using custom objects (https://developers.google.com/drive/realtime/reference/gapi.drive.realtime.custom).
I'm sorry for the downtime that this caused. We did not know that anyone was modifying the prototype objects, and in fact we never doing so would work at all (though obviously it does).
I would be happy to have a 1-on-1 conversation about your app and how we can prevent future downtime. We have a pre-release channel that I would be happy to whitelist you for so that you can test changes before they affect your production users.