How can I get test Ethereum on test network? - ethereum

I tried Rinkby test authenticated faucet but it is offline also tried to get test Ethereum from Ropstan network now I wanna is there anyway to get test Ethereum

I'd recommend you use the Kovan testnet instead. It has much faster block times.
You can get some Kovan test ether here: https://gitter.im/kovan-testnet/faucet

Related

how do I interact with a smart contract deployed on the ropsten test network?

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.

What's the possible errors (or warnings) that a developer can face when deploys a smart contract into the Ethereum network?

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.

How to create tokens in ethereum without using cyrptocurrency?

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.

How does Ethereum Smart Contract work on Mobile Client

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.

working of Ethereum based chat Applications

I am new to Ethereum, Blockchain Technology.I have been going through Tutorials on Ethereum and Smart Cotracts.
As per my Understanding, If we want to make any change to data members of the smart contact, it ll cost us some Ether right ? so , i am wondering how Free chat DApps work?. I mean, it should cost ether for storing the data of chats and transaction of data right ? or are they using any test networks such as kovan,rinkeby ?
Thanks in Advance
In addition to other answer, I don't think so your referenced Apps are using Ethereum blockchain to save chat messages as it always requires Gas to add anything in a public Ethereum blockchain network. To integrate chatting in your App you can use XMPP Framework.
Obviously you require to have a centralized server (Against the blockchain basic terminology) But chat history is not required to save on the server. It can only be saved on Users Device and can use end-to-end encryption. Server will only be required to implement socket-based communication by using XMPP framework. Or you can also use Firebase Realtime Database for a chat. But I totally agree it's against the basic blockchain rule of decentralization.
If you are using the public Ethereum blockchain it costs Ether to change data. It costs money to get these Ether so a Free chat on this network seems unlikely.
If you are using someone's private Ethereum blockchain it costs Ether to change data, but Ether has no value and can be given more or less easily (like Rinkeby).
If you are using your private Ethereum blockchain it costs Ether to change data, but you can get Ether easily at genesis block or mining Ether.
If you are using a private Ethereum blockchain like Quorum with GasPrice=0, you don't need Ether.