Author

Topic: Can we write a solidity smart contract which automatically distributes tokens to (Read 370 times)

full member
Activity: 198
Merit: 100
Yes you can, but why would you when projects like Crowd Machine will do all of that for you with out the fee.  They create decentralized apps and smart contracts without code  https://bitcointalk.org/index.php?topic=2398960.new#new
hero member
Activity: 976
Merit: 1002
Bitcoinmeetups.org
It's nice that you are replying but this is a thread about writing a specific smart contract together.
legendary
Activity: 2114
Merit: 1040
A Great Time to Start Something!
The main question: Answer == 99.999% = Yes
Smart contracts are powerful and I am eager/hungry to learn more.

During initial "talks" with a "hopefully qualified individual", he repeatedly answered like this:
(For example)    {My question regarding smart contract "extra options / special features, etc"} >  "I ask: Is this possible, and is it easy for the general public" >> At least 3 times he would answer { Difficult with a simple wallet & easy with dApp }

Having no idea what he was talking about, I wanted to learn, and here is a great start:

Quote
DApp is an abbreviated form for decentralized application.

A DApp has its backend code running on a decentralized peer-to-peer network. Contrast this with an app where the backend code is running on centralized servers.

A DApp can have frontend code and user interfaces written in any language (just like an app) that can make calls to its backend. Furthermore, its frontend can be hosted on decentralized storage such as Swarm or IPFS.

If an app=frontend+server, since Ethereum contracts are code that runs on the global Ethereum decentralized peer-to-peer network, then: ....

https://ethereum.stackexchange.com/questions/383/what-is-a-dapp

hero member
Activity: 976
Merit: 1002
Bitcoinmeetups.org
Can we write a solidity smart contract which automatically distributes tokens to anyone that sends ETH or other useful tokens to the contract?

Hello,

I have an idea about a smart contract.

If a user sends ETH or another valid token to the contract it automatically sends a corresponding amount of tokens back to the sender.

I have started an empty .sol git file below and you can edit it if you know how to write this.

https://github.com/bitcoinmeetups/bitcoinmeetups.github.com/edit/master/token-dispatch.sol

Bmeet

http://bitcoinmeetups.org
Jump to: