Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: Wiss on November 06, 2016, 10:59:36 AM



Title: Ethereum Smart Contract Design Market
Post by: Wiss on November 06, 2016, 10:59:36 AM
Hello,

I want to model the following scenario - a small market place
I have 2 nodes in my network - the seller and the buyer.
I want to model the market place in that why  - that the buyer node asks every seller node for their offer - the buyer node decided (based on some rules) which offer he will accept.

My questions is regarding the "asking each buyer node" for their offer. How does the smart contract of the buyer knows whom he should contact in the network? I want to avoid to hard code the adresses in the Smart Contract :-)

Thx


Title: Re: Ethereum Smart Contract Design Market
Post by: BitcoinNational on November 12, 2016, 10:05:22 AM
1. could a domain name be hardcoded?

2. are you suggesting a contract that will accept the best offer at time X?


Title: Re: Ethereum Smart Contract Design Market
Post by: Wiss on November 12, 2016, 11:23:15 AM
@1 - what do you mean with domain name? where ist the domain saved in the node?

@2 - yes exactly!