[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/biz/ - Business & Finance


View post   

File: 58 KB, 667x434, 1_tVo7pL6pkqeQU03jMCPeNQ.png [View same] [iqdb] [saucenao] [google]
18692893 No.18692893 [Reply] [Original]

How is this not the best thing going in crypto at the moment?

>> No.18692939

its okay. i hate that theres no charts though

>> No.18693013

>>18692893
Because kyber isn't gay

>> No.18693022

>>18692893
I unironically is anon.

Give it a few years and their will be no exchanges left at its current growth rate.

>> No.18693036

>>18693022
i like uniswap, but that's just dumb. you can't even set limit orders on uniswap. its for buying/selling, not for trading.

>> No.18693044

>>18692893
Can you even set a buy order lower than current price on this?

>> No.18693067

>>18693044
no, there are no limit orders.
I don't think it's going to replace standard exchanges, but it's certainly an interesting market model.

>> No.18693120

>>18693022

The funniest shit is Uniswap was built in half a year with 100k check from the Ethereum Foundation, while there's projects out which ICO'd years ago, raised millions, and still can't deliver.

Crypto is the absolute wild west.

>> No.18693158

>>18692893
Its fucking amazing

>> No.18693229

>>18693036
>>18693044
>>18693067

Litteraly working on this right now anons.

First thing coming out is for speculators. Basically all you would do is send Ethereum to EthUp.eth or EthDown.eth it would lock you into a pool and if the price rose 15% after a week the up pool would get all of the down pool. You would go long or short and not have to worry about scam wicks, margin calls or exchanges taking fees.

Exactly 100% of the money will be distributed to those who are using the system and 0% of it would go to line the pockets of centralized exchanges.

Why would someone build this? Because no one is paying me not to lol. That's literally thousands of jobs lost at central exchanges.

Roughly 80% done. All that is left is accounting for gas attacks and people using flash loans to mess with the Uniswap price since I won't be using Oracles. Extremely confident I can solve this in a month or 2.

>> No.18693248

>>18693120

Lol I know right. Just wait until i build tools with Uniswap for speculators that give 0% to market makers. Going to be a lot of lay offs.

>> No.18693278
File: 42 KB, 640x633, 1586847920873.jpg [View same] [iqdb] [saucenao] [google]
18693278

>>18693229
>>18693248

No one is going to use it without marketing dumb ass

>> No.18693284

>>18693278
its easier to sell certain tokens since centralized exchanges doesnt list them. and no KYC is really good

>> No.18693326

>>18693278

Already have that figured out. I plan to code a open period, late period and closed period.

Anyone getting in late has a unfair advantage since they know how big the pools are and what the price action is doing. Anyone getting into the late pool will lost 20% share of the pool. 15% goes back into the pool and increases everyone else's share. The 5% goes into a marketing pool.

Marketing should be pretty simple. Best value per dollar seems to be paying internet frogs to build and spam memes. I mean it worked for chainlink right.

>> No.18693338
File: 115 KB, 807x935, wojak_00.nocrop.w710.h2147483647.2x.jpg [View same] [iqdb] [saucenao] [google]
18693338

>>18693326
> Best value per dollar seems to be paying internet frogs to build and spam memes.

>> No.18693340

>>18692939
uniswap.info

>> No.18693353

>>18693340
Literally a Solidity nerd and never heard of uniswap.info

This is why we need marketing.

>> No.18693380

Why is it better than kyber though?

>> No.18693399

>>18693120
uniswap was built in like a week, its like a 200 line contract super simple

>> No.18693417

>>18692939
there is also pools.fyi, e.g. https://pools.fyi/#/trades/0xf506828b166de88ca2edb2a98d960abba0d2402a?from=2020-04-22&to=2020-04-26

>> No.18693448
File: 32 KB, 699x485, 1587830130421.jpg [View same] [iqdb] [saucenao] [google]
18693448

it is.

>> No.18693485

>>18693229
>All that is left is accounting for gas attacks and people using flash loans to mess with the Uniswap price since I won't be using Oracles
I recommend using coinbase until uniswap2 launches, then switch to 15m MA from it (requires two contracts calls).

>> No.18693504

>>18693380
kyber doesn't support all coins and is therefore inherently cucked

>> No.18693533

>>18693229
based.
to make it so that people can't use flash loans to abuse the system, you can add the check...
msg.sender == tx.origin to insure that the original calling address is the one interacting with your contract

>> No.18693583

>>18692893
retard here
how do I use this to buy/sell hex?
I sent eth to my metmask and logged in with it. I bought some hex but how do I actually see my hex balance and then sell it back when I want to?

>> No.18693611

>>18693533
>>18693229
absolutely don't do dumb fucking shit like this, this can be exploited by miners.

>> No.18693626

>>18693583
click the three lines on the top left of metamask to see all your coins. if your hex balance isn't in there, click add tokens at the bottoms and add Hex's contract. use etherscan to get the contract address

>> No.18693631

>>18693278
What about cashing out?
>inb4 >cashing out

>> No.18693641

>>18693583
https://uniswap.exchange/swap?outputCurrency=0x2b591e99afE9f32eAA6214f7B7629768c40Eeb39

>> No.18693646

>>18693485
I can always update the spawner. The point is no one can effect contracts once they start. The thing that spawns then can always spawn updated versions once Uniswap updates again.

I am thinking randomness in sampling of price feeds and multiple price feed samples with only some being actually used. I just need to make flashing the USDC/ETH pair up ur down more expensive then it is worth. 100% set on using Uniswap for price determination.

I do not trust Oracles when it comes to giant pools of leveraged money.

>>18693533
The flash loan abuse is only a issue when I sample the beginning price and then the end price a week later to determine if one pool won over the other. The system I am using itself has zero flash loan weakness its Uniswap I am worried about since I require a decentralized price feed.

>> No.18693648

>>18693611
what? don't write smart contracts that release funds because they can be exploited by miners? it that what you're saying? wtf is the point of Ethereum anon?

>> No.18693658
File: 57 KB, 1378x546, chrome_2020-04-26_06-09-46.png [View same] [iqdb] [saucenao] [google]
18693658

>>18693626
>>18693641
ok I can see my hex tokens but when I try to trade them back for eth it won't let me because it says I need to unlock first
however, metamask won't let me confirm it to be unlocked?

>> No.18693701

>>18693648
that origin check is useless, because miners can do everything a contract can by putting their transactions before and after the transactions that takes the price from uniswap.
Right now there's no way to have a fully decentralized uniswap oracle. That's fixed in uniswap2 which allows MA calculation.
>>18693646
there's literally no way to do this currently. The best thing you can do is use coinbase (check signature on-chain) and add a 7 day admin delay for upgrades. Once uniswap2 launches, change the oracle to it, then disable the admin capability forever.
>>18693658
click reject 6 transactions first, maybe the button is going to unlock itself.

Btw always remember that transactions have to confirm in order. If you have one pending tx, use speed up or cancel. If you send a new one it's going to wait on the previous.

>> No.18693705

>>18693658
do you have any ETH in your account to pay for the gas? all metamask transactions cost tiny amounts of gas

>> No.18693709

I have .0001eth
let me try again with some more

>> No.18693717

>>18693611
No it cannot.

I already accounted for appropriate delays before the contract actually acts on anything. The only risk is if they can reorder the block and see the price request then put a flash loan to knock the price down above it.

It's as simple as making multiple requests for price from Uniswap and only actully using a few averaged out. It costs a lot to move the price of a stable coin around even momentarily. If the reward in the pools starts to dwarf Uniswap liquidity however I will have to shut it down or limit pool sizes.

>> No.18693728

>>18693701
or it could be what this guy said. your other transactions are pending. ETH transactions from your acct have to be processed in order. if you have enough ETH, try speeding up the previous transactions by editing them and adding more gas

>> No.18693733

>>18693728
rejected all the previous pending transactions
put some more eth in there for gas
gonna try again now

>> No.18693740
File: 200 KB, 432x432, 1585255188898.png [View same] [iqdb] [saucenao] [google]
18693740

>>18693728
yep it worked after I put some more eth in for gas
ty

>> No.18693742

>>18693709
>.0001
that's not even 2 cents. You need more eth.
>>18693717
>The only risk is if they can reorder the block and see the price request then put a flash loan to knock the price down above it.
Well yes. I have no idea why you think it's not realistic. It's 100% realistic.
>It's as simple as making multiple requests for price from Uniswap and only actully using a few averaged out.
no, miners can sandwhich all transactions with this. Really, don't do this. The contract is 100% going to be hacked.

Even without miners it's possible to do this manually by assuming miners order transactions by fee (some do).

>> No.18693748

>>18693733
>the meme is real

brah you cannot just cashout HEX

>> No.18693754

>>18693701
> there's literally no way to do this currently

Litteraly just get ETHToTokenInputPrice Function do you even dev?

>> No.18693758

>>18693740
upvoted

>> No.18693777

>>18693754
the point is that price can be manipulated just when your contract records the price.

>> No.18693805

>>18693742

So I just give the contract a few USDC and manually have it swap them for ETH. Save the amount of Ethereum returned and see if it increased a week later when I do it again after the contract Expires.

More steps same solution you are litteraly implying miners can just stop transactions and shit what are you on about bro?

>> No.18693814

>>18693740
when you sell make sure you edit your transaction and use appropriate gas or your transactions will get clogged again. metamask defaults to 1gwei for some stupid reason. just select 'fast' in metamask

>> No.18693817

>>18693814
gotcha thanks

>> No.18693826

>>18693777
It costs a shitload of money to do that. All I need to do is randomly sample the price a ton of times and the attacker will go broke. Moving ETH/USDC around is extremely expensive and all I have to do is increase the amount of samples I take.

>> No.18693855

>>18693805
>So I just give the contract a few USDC and manually have it swap them for ETH
this achieves nothing
>More steps same solution you are litteraly implying miners can just stop transactions and shit what are you on about bro?
Block:
transaction 1:
miner dumps 10k for USDC, dumps the price by 42%
transaction 2:
miner calls your oracle function, it records price lower by 42%
transaction 3:
miner rebuys his eth. The total cost of the attack is 0.6% = 60 eth
which means if the potential profit is larger, the attack is profitable
>>18693826
10k is not even close to a "shitload of money".

>> No.18693873
File: 27 KB, 585x454, 1585721642830.png [View same] [iqdb] [saucenao] [google]
18693873

>>18693805
>>18693826
>>18693855

>> No.18693874
File: 39 KB, 269x328, 1585312454256.jpg [View same] [iqdb] [saucenao] [google]
18693874

>>18693777
>>18693742
>>18693701
>>18693611

I smell a rat. Anon works at a centralized exchange and 100% free leveraged DeFi = bad

>> No.18693876

Imagine not knowing about Uniswap until April of 20-fucking-20.

>> No.18693886

>>18693874
I'm trying to save this idiot from doing the same thing that idiots at bzx did.

>> No.18693902

>>18693874
and I already wrote that uniswap2 is going to be fine, because it has a capability to calculate actual averages. So how I'm shilling for centralized exchanges again?

>> No.18693951

>>18693855

Did you got that 10k number out of your ass?

There is over 5 million dollars of liquidity of USDC on Uniswap. I regularly swap 10k around like that and it does jack shit to the price.

Also the miner getting first dips to rearrange the order book does jack shit to help them when the contract has multiple pause and sample queries.

>> No.18693956

>>18692893
>still using uniswap
>not using totle
>not using 1nch
NGMI

https://swap.totle.com/
https://1inch.exchange/

>> No.18693988

>>18693873

Ya now imagine doing that like 10 times wondering if the random sampling will put one of your pump/dumps into the price memory.

No one with 10k ETH is going to risk going broke over that. All I have to do is reorder how many times I waste gas sampling randomly vs the size of the po that incentivizes the price manipulation vs the cost to manipulate the price.

>> No.18694027

>>18693036
>you can't even set limit orders on uniswap
https://uniswapex.io/order

>> No.18694029
File: 27 KB, 582x438, 1568695442005.png [View same] [iqdb] [saucenao] [google]
18694029

>>18693951
look at the screenshot >>18693873
just 10k eth dumps the price by 42%. To change the price by 15% only 2500 eth is needed.
>Also the miner getting first dips to rearrange the order book does jack shit to help them when the contract has multiple pause and sample queries.
that only makes the attack slightly more expensive. The problem is that the attack cost depends on the size of uniswap's liquidity pool, and the potential profit depends on locked funds in your contract. Those are two disconnected variables.
>>18693988
>if the random sampling will put one of your pump/dumps into the price memory.
>random sampling
let me guess, by using blockhash? Did you forget the attacker is the miner? He can generate multiple blocks at the average cost of ~2.1 eth per one.

Maybe your complications stop the attack at 1M locked, but it becomes profitable at 10M locked. Just use coinbase until uniswap2, why are to so determined on using uniswap right now?

>> No.18694043

>>18693886

Lol I may be a noob but I am a seasoned C++ dev. I know to have my code audited and the failures of those before me are very well known.

Something as simple as Binary options is going to have a lot less holes then bZx. I have seen enough flash loan exploits and gas attacks that I am confident I can now make something robust.

>> No.18694071

>>18694043
anyway your contract is going to be eviscerated by solidity devs for being insecure and nobody is going to use it if you go with your insecure idea.

>> No.18694112
File: 100 KB, 681x700, 1585744779929.jpg [View same] [iqdb] [saucenao] [google]
18694112

It is.

>> No.18694119

>>18694029

So I make a decentralized moving average Dapp and let it live isolated on chain. The only problem would be sending it gas once in a while.

Why is this so hard? If millions get locked into it and Uniswap gets knocked around all this is going to do is create massive arbitrage opportunities on Uniswap until so much Ethereum and USDC is locked in Uniswap it dwarfs Exchanges. I mean we are really blowing this out of the water here.

At best I see a few million locked into it but once it goes 100% decentralized and I no longer have the ability to do anything but pay for the ens name renewal who knows.

>> No.18694154

>>18694071
Sure because relying on a centralized exchange for a price feed while using a completely free competing product is a great idea anon.

Best advice giver ever

>> No.18694168

>>18694119
>If millions get locked into it and Uniswap gets knocked around all this is going to do is create massive arbitrage opportunities on Uniswap
no, because the attacking miner is going to sandwich the oracle transaction between his own.
>I mean we are really blowing this out of the water here.
no. $10M is equivalent to over 3 days of block rewards. This is enough to make a miner generate potentially hundreds of blocks if need be.
look uniswap2 launches soon
https://uniswap.org/blog/uniswap-v2/#price-oracles
>Uniswap V2 implements new functionality that enables highly decentralized and manipulation-resistant on-chain price feeds. This is achieved by measuring prices when they are expensive to manipulate, and cleverly accumulating historical data. This allows external smart contracts to create gas-efficient, time-weighted averages of Uniswap prices across any time interval.
>>18694154
Coinbase is the safest currently available option. It has ecdsa signatures that can be verified on-chain.

>> No.18694179
File: 71 KB, 720x469, 1587352716401.jpg [View same] [iqdb] [saucenao] [google]
18694179

>>18694071
who is this clown? he sounds like he has no idea what he is talking about

By what Authority do you claim your position sirrrr

>> No.18694204

>>18694179
fuck off
>Despite closely tracking the real-world price most of the time, Uniswap V1 cannot be used safely as a price oracle because the price can move significantly in a short period of time.
this is a quote from the creator of uniswap.
>cannot be used
>no buts and ifs

>> No.18694228

Just use 1inchexchange.
I know it refers to your peepee but it gives you the best price

>> No.18694244

>>18693956
Are those better than dex.ag?

>> No.18694284

>>18694168
Coinbase is great anon but they have their own market makers. Never underestimate bias.

Using the updated Uniswap price feed would be great but I am not going to wait God knows how long for them to release it. If I have to make a smart contract that does nothing but index the getEthToTokenInputPrice into a moving average and feed it gas to do so automatically out of the pools I will.

The whole point of DeFi is 0 reliance on anything external. Once I build this and it lives on chain that is that. Uniswap is a perfect money Lego why stop there. Using a centralized exchange is such a big step backwards I honestly have no idea why you would even suggest it.

>> No.18694292

>>18692893
apple emoji are not free use.
Short this shit

>> No.18694336
File: 152 KB, 664x894, 1587281522418.jpg [View same] [iqdb] [saucenao] [google]
18694336

>>18694204
Lol I do not give a fuck about your opinion. Its pretty clear to me you have no idea how shit works. My solutions work perfectly fine. All you need to do is use a large sample size of prices from Uniswap problem fucking solved end of story fuck of anon you have dunning Kruger syndrome.

>> No.18694369

>>18694336
I'm going to personally drain your contract if it ever gets big enough.
It won't though, because nobody is going to use it once your oracle hack gets laughed out of the room.

>> No.18694458

>>18694369
Imagine being such a shit LARP that you get so wrecked by a real dev and resort to pretending you actually have the Eth to pull something like this off.

I mean you almost had me convinced to take you seriously.

>> No.18694464

>>18692893
Swap tokens with this one weird trick
BTCs maxis HATE it !!!

>> No.18694490

>>18693229
>since I won't be using Oracles.
>since I won't be using Oracles.
>since I won't be using Oracles.
>since I won't be using Oracles.
>since I won't be using Oracles.

Do you understand how easy to manipulate this is? Hello Makerdao 2.0

>> No.18694496

>>18694458
I quoted Hayden Adams, the creator of uniswap, as agreeing with me, yet you continue to argue like while not even understanding the problem.
You're a code monkey who can't understand even one of the simplest possible smart contract exploits. It's extremely likely your code is going to have even dumber exploits.

>> No.18694536
File: 9 KB, 220x220, 1583858232090.gif [View same] [iqdb] [saucenao] [google]
18694536

>>18693626
Delete this! Stop helping normie faggots anon

>> No.18694604

>>18694490
That happened because of a gas attack anon. It was a inside job. One of the dev's modified his keeper so it would not choke when he spammed gas into oblivion while the public keepers had a gas limit pre programmed in.

>>18694496
Unless you can signal a massive amount of coins moving around you can fuck off. I am going to release this in weeks not months and it will work fine. You have given no explanation as to why simply adding multiple price samples would not completely solve the flash loan problem. You are horribly uncredible at this point. You clearly don't code or have anything to do with actual Dapp development.

>> No.18694652
File: 110 KB, 657x539, 1587276790904.png [View same] [iqdb] [saucenao] [google]
18694652

>>18694496
>>18694369
( pic )
>>18694604
can confirm Internet fogs will shill for you sir

>> No.18694680

>>18694604
>would not completely solve the flash loan problem
I didn't even write the term 'flash loan' once. Using the tx.origin == msg.sender check eliminates the risk from flash loans for the moment.
You should also know that an eip is planned that allows eoas to execute arbitrary code, which would allow the use of flash loans. Probably not the in the next hardfork, but in the one after that.

If the solution was so simple the creator of uniswap wouldn't write "Uniswap V1 cannot be used safely as a price oracle". He would write it's safe if it's sampled randomly or whatever. No, it can't be used safely as an oracle.

>> No.18694700

>>18694244
I haven't used dex.ag but they are missing lots of tokens like CEL.

>> No.18694754

>>18694284

K uniswap is the most promising holy cow

Le epic bants, le productivity

For real, like a basement dweller and 20 bagilliom PR agents are talking about the actual future of how money and finance is gonna work

>> No.18694777

>>18694680

Tbh fair point - make available early with disclaimer

>> No.18694804

>>18694680
Ya I still don't see how miners can block multiple transactions to request price for any relevant period of time. If I just use multiple samples and average them that should be more then enough. You really are not making your point here what you say makes no sense unless you only apply it to short time spans.

>> No.18694834

>>18694804
they don't have to block them, they can execute samples with artificially low price.
see the example here >>18693855
also
https://github.com/Arachnid/EIPs/blob/richtx/EIPS/EIP-draft-rich-transactions.md
>Contracts or DApps that assume that an EOA cannot atomically perform multiple operations may be affected by this change, as this now makes it possible for EOAs to execute multiple atomic operations together.
>The authors do not believe this is a significant use-case, as this 'protection' is already trivially defeated by miners.
this is from the ethereum core dev.

>> No.18694849
File: 10 KB, 225x225, 069.jpg [View same] [iqdb] [saucenao] [google]
18694849

>>18694604

EthUp.eth is owned by
0x8f6272460a1de7870bc84ee0b03e4fa9e2e1d570
Address owns Ropsten and Goerli Eth seems like a legit dev
Archived so we can see who wins this argument
https://archive.fo/k6sfo

>> No.18694965

>>18692893
What's so good about it?

>> No.18695003

>>18694834
Ya this still does not help anyone game the system over long time periods with tons of price samples being used. Have fun wasting Ethereum on your snipe hunt.

>> No.18695076
File: 27 KB, 573x441, 1567379110039.png [View same] [iqdb] [saucenao] [google]
18695076

>>18695003
The cost of depressing uniswap price by 15% 100 times is 100*0.003*2*2430eth = 1458eth
Which means even if you require 100 random samples the attack becomes profitable once the potential profit is larger than 1458 eth.
Mining is an additional complication, so probably nobody bothers until it's at least $1M stolen, but with the new eip, it becomes possible without mining and with flash loans (eip) - even a small profit is going to be enough.

>> No.18695092
File: 189 KB, 600x600, 9KGFr4k.png [View same] [iqdb] [saucenao] [google]
18695092

>>18694754
Yep plain Ethereum and DeFi threads are best treads fren this is clearly a know it all sock puppet trying to fud a cypherpunk out of building a simple Dapp that makes his whole business obsolete

Truly epic shit

>> No.18695105

>>18695092
all I'm telling him is to use coinbase oracle until uniswap2 is out.

>> No.18695277

>>18695076
You assume I care if they try and depress the Uniswap price. Litteraly attempting to do that will cause independent market makers from centralized exchanges to flood liquidity into Uniswap to chase profits.

All I have to do is increase the number of samples required in the next contact via the spawner. A extra hundred dollars in gas is practically nothing if the pool gets large enough to require it. Coding the contract itself to scale samples with its size is also trivial.

>> No.18695313

>>18695277
>Litteraly attempting to do that will cause independent market makers from centralized exchanges to flood liquidity into Uniswap to chase profits.
no it won't, because the attacker is going to reverse his own trade after calling the sampling function. That's why the cost is 0.3%*2

>> No.18695314

>>18694965
This. Someone explain

>> No.18695492

>>18695313
So I directly sample the price by actually transferring USDC for Ethereum multiple times and recording the amount of ETH returned.

Let's see miners hack that shit.

>> No.18695543

>>18694965
It's an indestructible automaton (fully decentralized, no governance, no maintenance) that allows one to swap between any two ERC20 tokens or ETH without the need for an orderbook for each pair. The price discovery for each pair is determined by formulas and re-calculated each time someone swaps or adds liquidity.

Anyone can add a token and anyone can add liquidity. There is a 0.3% fee on swaps, which goes to the liquidity providers for the asset being bought.

>> No.18695550
File: 69 KB, 498x668, 1421455943344.jpg [View same] [iqdb] [saucenao] [google]
18695550

>>18695313
>>18695492

I think he has got you anon how would the miners mess with that?

>> No.18695569

>>18695492
>I directly sample
does that mean only you can generate samples? yes it's now secure but it relies on trusting you

>> No.18695683

>>18695569
Obviously I mean the independent contractor being programmed to directly use Uniswap with a pre filled amount of USDC. It would swap for Ethereum then record how much Ethereum came back for say 1 USDC. Replace that whole thing with this getEthToTokenInputPrice argument we have been having.

Honestly at least one good thing came out of this. Just directly telling the contract to swap USDC for Eth to get the price was my original idea. Some asshole told me I could make it less complicated by using Getethtotokeninputprice function. He was probably a miner lol fucking cunts all of you. Last time I ask for help on a project.

>> No.18695694

>>18695683
>Obviously I mean the independent contractor being programmed to directly use Uniswap with a pre filled amount of USDC
if anybody can execute it, then it's just a more expensive way to get the current price and nothing changes.

>> No.18695744

>>18695694
The contract executes it itself or I could have a small portion of every person's deposit initiate a tiny usdc/eth Uniswap price check after certain pool levels are reached. This would be better since programming in random delays are hard and expensive with solidity. Best to have the users initiate price check themselves if their deposit passes a threshold.

>> No.18695797
File: 21 KB, 563x542, 1427265483884.jpg [View same] [iqdb] [saucenao] [google]
18695797

>>18695683
>>18694369
>>18694071

Imagine taking advice from a miner and it being the nothing but a obvious way for him to hack your smart contract then getting chewed out by another miner for having taken the bait

>> No.18695822

>>18695744
>I could have a small portion of every person's deposit initiate a tiny usdc/eth Uniswap price check after certain pool levels are reached.
>Basically all you would do is send Ethereum to EthUp.eth or EthDown.eth it would lock you into a pool and if the price rose 15% after a week the up pool would get all of the down pool
so how do you get the price after a week during the 'close period'? there are no deposits and the price is needed to determine who wins.

>> No.18695835

>>18695314
You can instantaneously swap ETH tokens without paying a middleman. Next level is buying uniswap tokens.

>> No.18695881

>>18695835
>Next level is buying uniswap tokens.
Huh?

>> No.18695896

Uni swap has a sixteen-month-old security vulnerability that hasn't been patched yet

>> No.18695907

>>18695881
https://uniswap.org/blog/uniswap-v2/

>> No.18695964

>>18695822
There are tons of ways to build a "alarm clock" into Ethereum. All I need to do is ping the contract to a few times to tell it to swap some USDC into Ethereum and see of the average amount returned was greater by 15% to determine how the contract expired.

Its impossible to do actual time in DeFi though so I would have to estimate by block numbers so ~1 week more or less.

>> No.18696043

>>18692893
but it is

>> No.18696047

>>18695964
>All I need to do is ping the contract to a few times
either you limit the people that can call this, making it safe from the uniswap attack but centralized, or it's decentralized but insecure.
I seriously don't understand why are so married to using uniswap1. You're reacting like I'm telling you to dump your savings into some shitcoin. Using coinbase signed api now and uniswap2 in the future is both way easier to code and the safest currently available solution. There's no room for me to have a nefarious angle here.
>>18695896
do you mean the erc777 reentrancy bug?
I'm not sure how they are even supposed to patch it, given the mother contract is immutable. People are just going to switch to uniswap2 once it's out, slowly.

>> No.18696068

>>18693036
that's why they're making the V2
the reason V1 doesn't have it is because they made this thing in fucking VYPER I shit you not
to anyone who is familiar with Smart contract coding, Vyper is incomplete and with 10 times less functionality than Soldity (for now)
the fact that uniswap works like it does now is an absolute miracle

>> No.18696119

>>18696068
The elegant simplicity of uniswap is what makes it so good.

>> No.18696129

>>18696068
that's because of vitalik. He reviewed uniswap's initial code (in solidity) on his smartphone, standing on the street. The fucker then proposed vyper as a solution. Hayden obliged because well, Vitalik, he knows what's what right? Turns out V's pet language sucks ass and uniswap should have stayed with solidity.

>> No.18696220

>>18696047
You can set delays but it's a pain and costs some gas. I am set on using Uniswap because allowing Uniswap to set price will increase its market share of total exchange liquidity. Imagine someone tried to flash loan attack my Dapp because I use Uniswap for price feed. The increased volatility would drive more liquidity into Uniswap due to arbitrage opportunities. This would naturally stabilize the price feed I rely on for my Dapp while driving market share away from centralized exchanges.

Using coinbase simply is not a option for a true DeFi geek. 100% decentralized is the goal just like Uniswap.


Going to bed but ya be happy you at least badgered me into not using the Getethtotokeninputprice function. Probably add a extra week to my schedule. Actually having the contract swap some USDC for Ethereum to get price data is such a autistic way of doing this it will probably take a few days on the test net to iron out.

>> No.18696251

>>18696220
>You can set delays but it's a pain and costs some gas
doesn't exist, all you can do is pay someone to send the transaction at some time.
>100% decentralized is the goal just like Uniswap.
yes, but insecure and decentralized is worse than secure and centralized.

>> No.18696344

>>18696129
Agreed solidity is far more pure being as it is so similar to C++

I actually prefer Solidity because it is so much like C++ the languages with better context based programming would probably allow to many bugs to slip by imho

>> No.18696378

>>18694965
no counter party risk
no KYC
not even a fucking sign up

>> No.18696394

>>18696119
yes but the coding is anything but simple

>> No.18696417

>>18693504
Kyber only has the relevant tokens, anything not on kyber is a scam.

It protects retards by design

>> No.18696432

>>18696417
trash

>> No.18696435

>>18696129
Why was Vitalik so in love with Vyper?

>> No.18696477

>>18696344
solidity is based off java, not c++

>> No.18696500

>>18696435
because he made it.

>> No.18696542

>>18696435
I don't know, but if vyper had no limitations it would be the best programming language for smart contracts, just because of how superior Python is for VMs
python is the apex VM lang

>> No.18696567

>>18692893
What is their selling market?
I just sold an absolute shitcoin with 0 transactions on etherdelta or saturn over the last 2 weeks and Uniswap just send me.

>> No.18696572
File: 67 KB, 500x500, 1586447657809.jpg [View same] [iqdb] [saucenao] [google]
18696572

>>18696477
you sure anon solidity looks a lot like C++ with all the funny () {} brackets and shit

idk though all i can code is python and i am shit

>> No.18696722

>>18692893
Exit scam. Fuck off.

>> No.18697069
File: 375 KB, 1440x1470, EWe2tKFXkAAron5.jpg [View same] [iqdb] [saucenao] [google]
18697069

>>18693022
>Give it a few years and their will be no exchanges left at its current growth rate.
I can't wait

>> No.18697211

>>18693504
this. and it has higher gas fees and worse frontrunning

>> No.18697373

>>18696129
>>18696220
I'm too much of a lazy brainlet to follow this conversation, but I do have big ass bags and I am getting real fucking tired of waiting for my real life to begin.

In other words, that's enough talk you nerds. GET BACK TO WORK AND MAKE ME RICH NOW REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE

>> No.18697634

>>18692893
Augur or Gnosis have same level of decentralization as Uniswap but no one talking about them tho.

>> No.18698796

>>18695907
Thanks.

>> No.18699319

>>18697634
Cause they have no users.

Key to success is to innovate and actually get people to use your shit. If they don't your shit is as good as useless. Rethink your marketing,UX or whatever else is keeping your shit from getting used.

>> No.18699344

>>18696417
Crypto is supposed to be a libertarian wet dream. Not protecting retards by design. Taking away choice is always gay.

>> No.18699417

>>18699344
hahaha like people who would put the wrong order information on etherdelta and get their shit scooped up for almost nothing.

>> No.18699814

>>18695907
Literally red the entire document and didn't see any mentions of a "uniswap token". Did I miss something?

>> No.18700149

>>18693380
don't you have to KYC to provide liquidity for kyber?

>> No.18700280

OP just discovered Uniswap...how cute. lol

>> No.18700349

>>18700280
what's the next one, anon? help out a poorfag.

>> No.18700488

>>18693777
just use an averaged trend. all price movements that go up or down >5% within x minutes, gets rejected.

at the end u wont have the eth price to rely but some kind of weighted ELO score ya know? and perhaps if eth crabs too much, you give both pools back

>> No.18700652

>>18693826
>It costs a shitload of money to do that
So it'll be technically possible but unlikely?

Like the guy who bought $4m of eth for pennies from Maker?

Are you sure there will NEVER be circumstances where it suddenly becomes financially viable?

>> No.18701413

>>18696572
yes bro, it's based off java

>> No.18701436

kyber is adding all the coins and is incoporated into the MEW wallet so technically uniswap is DOA

>> No.18701449
File: 76 KB, 1222x825, bullish.jpg [View same] [iqdb] [saucenao] [google]
18701449

look at this chart
it makes Binance and the other CEXES tremble

>> No.18701470

>>18692893
Its definately dope as fuck.
And if you want limit ordering you can use kyber also 1inch exchange is a dex aggregator which also allows limit ordering.

>> No.18701492

>>18701436
kyber is also top 20 on uniswap
both dexes will survive and swallow the whole market
assuming of course, kyber lets any erc20 be traded without permission

>> No.18701494

>>18701436
kyber has shit liquidity by comparison

>> No.18701498

>>18693380
Uniswap has a more diverse liquidity pool. You can manually add tokens on uniswap also

>> No.18702280

>>18694284

According to a post on the Uniswap blog Uniswap V2 is expected to launch in May

>> No.18702544

>>18693326
I'll meme for you bro. My memes are so good that people steal them and never credit me.

>> No.18702779

How do I into learning a skill that is useful in the crypto world?
What would be the best method of action?
Assume I have decent skills in pentesting/networking, experience with building windows/Linux VMs server stacks etc., And very basic python programming knowledge