r/EthereumProgramming • • Aug 05 '15

Dapp development issues (x-post from /r/ethereum)

Thumbnail
reddit.com
2 Upvotes

r/EthereumProgramming • • Aug 03 '15

Does Solidity have string functions?

2 Upvotes

r/EthereumProgramming • • Aug 03 '15

Programmer's guide to Ethereum and Serpent

Thumbnail mc2-umd.github.io
2 Upvotes

r/EthereumProgramming • • Apr 10 '20

The place to chat about dApps, DeFi, & more!

Thumbnail self.trustless
1 Upvotes

r/EthereumProgramming • • Apr 09 '20

👀

Thumbnail
forum.piedao.org
1 Upvotes

r/EthereumProgramming • • Apr 08 '20

BTC++ by PieDAO.org live on mainnet!

1 Upvotes

Hey all, PieDAO.org just launched BTC++ on mainnet, a weighted allocation of different BTC representations on the Ethereum network Twitter thread

Some background: There is a race for bridging Bitcoin to the Ethereum Network. a number of projects have made steps in that direction with adopting solutions that go from 100% custodian services to mechanism design that might result in economic finality for a trustless swap of BTC<->ETH.

Each project has different tradeoffs in terms of security, even assuming the assumptions are correct the risk associated with bugs on the system makes holding those tokens risky in isolation.

Proposal Deploy a BTC Pie which holds a set of different representations of Bitcoin in the Ethereum network called BTC++ deployed as a Balancer Pool.

Benefits for users Users who want to have controlled exposure to different BTC on Ethereum don’t have to deal with complicated and/or expensive rebalancing procedures.

Holders of WBTC/pBTC/imBTC/sBTC… who have those tokens sitting idly in a wallet can now put them to work so they can effortlessly earn fees.

Why Balancer pools Balancer is a nascent ecosystem with significant improvements compared to other AMM out there. They are a week away to launch to the masses and there is currently no BTC pool available. Claiming the first mover advantage and bootstrapping that ecosystem would have several benefits:

BTC++ could easily become the largest pool in the Balancer ecosystem, which means most of the trades would be routed through the BTC++ pool.

Having a pool with only BTC tokens it’s more convenient for liquidity providers than Uniswap as there is no ETH exposure and the impermanent loss it’s minimized.

BTC++ can become a core asset for future Pie that need exposure to Bitcoin.

Wanna join PieDAO? PieDAO Forum


r/EthereumProgramming • • Jan 15 '20

sMPC is great for decentralization

1 Upvotes

hi guys,

I came across few projects using MPC and they look promising. A nice solution to build a VM for decentralised purpose.

I know it is not perfect yet but i think it is a great subfield of cryptography to provide privacy-preserving computation in a decentralised fashion where everything is transparent.

It could really be the way to adopt for managing assets or data in a private context.

The project i was the more intrigued was REN.

https://docs.renproject.io/ren/

i know it is only about value at the moment and not data but that is a great first step.

do you think sMPC will be important in future?


r/EthereumProgramming • • May 08 '19

Announcing the FOAM Grants Program

Thumbnail
blog.foam.space
1 Upvotes

r/EthereumProgramming • • Apr 22 '19

D2W Needs Beta Testing - Earn Up to 1.1 EDGE

1 Upvotes

Hey guys, so there is a brand new dapp that has come out and needs you guys to help test it and will reward you for doing so.

You can find out more about EDGE here You can also join the D2W telegram here as well

When you register too D2W you receive 0.2 EDGE instantly. You can additionally verify your a real person by doing KYC and verifying your residence to earn an additional 0.4 EDGE for a total of 0.6 EDGE.

They also have a limited time bonus if you wager 1 ETH in total you will receive another 0.5 EDGE. If you complete all of this you get a total of 1.1 EDGE.

You know if you bet 1 EDGE on 2x and win you get 0.9 EDGE and 0.1 ETH back. Pretty amazing stuff that is so join D2W today and begin testing here.


r/EthereumProgramming • • Mar 22 '19

Hackers get FREE tickets to EDCON WEEK

1 Upvotes

Calling all developers/hackers!

The time is nigh to get involved in a global ethereum conference being brought to sydney by Ethereums big names. EDCON receives major support from the Ethereum foundation, so jump in and get involved.

Dates: 8th - 10th April @ Michael Crouch Innovation Centre. UNSW Sydney AUS

https://www.edcon.io/hackathon

Register in the link 👆

Hack prizes include $10,000 & $4,500

Hackers get free tickets to all open sessions, so you'll be able to meet all of the great speakers.

Join their telegram if you have any questions t.me/edcon_io


r/EthereumProgramming • • Mar 01 '19

Meet Vitalik in Sydney

1 Upvotes

EDCON 2019 (Community Ethereum Development Conference) is a non-profit global conference which aims at improving communication among various Ethereum communities and to promote Ethereum ecosystem development on a global scale. For more info, please check: www.edcon.io


r/EthereumProgramming • • Feb 25 '19

Join #EDCON HACK free online workshop to get more chance to win the prize

1 Upvotes

Join #EDCON HACK free online workshop to get more chance to win the prize

Time: 12PM AEDT, Feb 28, 2019 (Sydney Time)

Mentor: Ben Jones (from Plasma Group)

Topic: Using Vyper in a Javascript World

Brief: Vyper is a relatively new programming language for Ethereum. Though it was built with Python in mind, it can be used and tested in Javascript. This workshop will go over how we integrated Javascript with Vyper, and reflect on the differences between using solidity in a Javascript setting.

Online Materials:

* https://vyper.readthedocs.io/

* https://github.com/ethereum/vyper

Zoom Link:https://zoom.us/j/980522679

Register sheet for reminder: https://goo.gl/forms/L47WLOsEnllQhKXe2

EDCON HACK is open to register, don’t miss it! It opens to hackers of all level, from beginner to vateran. Supplementary resources, mentorship will be provided. Every hacker has the chance to win the prize, don’t hesitate to register at https://www.edcon.io/hackathon

Follow us on the channels for more upcoming workshops:

Website: edcon.io

Telegram: https://t.me/edcon_io

Facebook: https://www.facebook.com/EDCON-Sydney-253691625327268/

Twitter: https://twitter.com/Linktimetech

Reddit: https://www.reddit.com/r/EDCONSydney2019/


r/EthereumProgramming • • Feb 18 '19

On the Security Economics of Public Blockchains: Why using the Ethereum public chain for STO contracts is not a good idea

1 Upvotes

by Hendrik C

We coin the term “security economics” to mean the system of economic incentives designed to guarantee the security required for a public chain to operate. For example, with PoW (proof of work), honest miners are incentivized to contribute compute power for mining reward. The higher aggregate hash rate of a network, the more difficult it will be to perform a 51% attack. We will introduce a new framework to analyze this relationship, and study the limiting cases where the current security economic relationship might breakdown.

In a given period T, the blockchain network will release n coins according to its predetermined mining schedule. For example, bitcoin currently reward 12.5 coins per block. Its mining difficulty is adaptively set so it produces 144 blocks per day, with a very small margin of error. Whether total network hashpower is 50 ExH/s or 5 ExH/s, total reward per day is always 1800 bitcoins. Only difference is that the expected reward per hash diminishes when total network hash increases. But hashpower cost money, 50 ExH/s will cost 10 times as much as 5 ExH/s, assuming they’re running on the same kind of hardware. The economic equilibrium is arrived when reward per day (RPD) = cost per day (CPD).

We further breakdown CPD to its components: sunk cost (e.g. cost of the miner) and operating cost per day (OCPD). We make the following postulates about the mining process and miner’s behavior.

1, When price of a coin goes up, temporarily RPD > CPD, new hash power will be introduced as it will be profitable.

2, When price of a coin goes down, but RPD > OCPD, then nothing will happen.

3, When price of a coin goes down so much, that RPD < OCPD, some miners will stop mining, total network hash will fall, until RPD > OCPD again.  

4, Mining hardware have a useful life of approximately 2 years, miners would only deploy new hardware if they can cover cost within 1 year of mining.

Assuming the above behavior of miners, in the equilibrium state, the total hash power (per second) of a network is bounded above by the market value of expected reward (per second). To stage a 51% attack on the network, the adversary will need to match all of the existing hashpower on the network. The required investment is approximately equal to the market value of minable coins in 1 year. Take bitcoin for example, a total of 52560 BTC are released to miners a year, which equate to about $189m, assuming $3600 / BTC. The total hashpower of the bitcoin network is about 42 ExH/s, which equates to about 3 million Antminer S9’s. This is what it takes to stage a 51% attack, the cost of staging such an attack is a good measure of how safe a network is.

Would anyone do it? Perhaps not, which is the ingenuity of Satoshi Nakamoto. Assume you did invest $189m, and compromised the bitcoin network. What returns will you get? Sure, you double spend bitcoins, but bitcoins will be worthless when people find out its security is being compromised. The delicate game theoretic equilibrium, which we shall call the Nakamoto equilibrium, is just as important as all the cryptographic wizardry in keeping a blockchain safe.

The Nakamoto equilibrium design has a number of drawbacks, although none of them were of interest for Nakamoto to consider, they do not apply to bitcoin.

1, Nakamoto equilibrium only guarantees the security of the public chain itself, and not the smart contract tokens which runs on it.

2, Out of all the blockchains that use the same hash algorithm, only the one with the most honest hashpower is safe.

We will focus the remainder of this paper elaborating point number 1, and leave 2 to another article.

The utility tokens created in the ICO hype, were predominately ERC 20 contracts executed on the ethereum network. Despite of their huge speculative value, these tokens do not have much intrinsic value right now. They simply represent the access right to a particular utility, which will be built (if ever) far into the future. The aggregate market value of all ERC 20 tokens, have never exceeded that of ethereum. Hence, the hashpower required to guarantee the safety of ethereum is automatically extended to the ERC 20 tokens running on the network.

We now consider a scenario with securities tokens produced from STO’s. A security token represent a share of a securitized asset. These could be company stocks, bonds, buildings, infrastructure etc, indeed everything in the world could be securitized and tokenized on a blockchain. The fundamental difference between securities token and utility token is that securities token have an intrinsic value attached to it. The intrinsic value of a securitized asset could be several times the market cap of the public chain it’s running on.

For example, as of Feb 2019, ethereum have a market share of about $8 - $10 billion dollars. About 7 million ETH is minable a year (before the Constantinople fork), the total value at current market price of $120/ETH is about $840 million. The total network hashpower is 140 TH/s. A Bitmain E3 miner has an advertised performance of 180 MH/s, so total network hashpower is equivalent to about 777777 E3 miners, which would cost roughly $800 million (though the exact cost could be quite volatile). This is how much one would have to invest to stage a 51% attack on ethereum network. If the network consists of only ETH and utility tokens, whose value would plummet if such an attack were to be successful, nobody is incentivized to do so. But (imagine sometime in the future), if the ethereum network has securities token contracts, whose underlying asset worth a total of a trillion dollars, then carrying out such an attack would seem quite profitable.  

A new security economic model is clearly required for any public chain to run securities token. The biggest problem with ethereum, is that miners are not incentivized to contribute hashpower, as a function of total market cap of tokens running on ethereum. This is not a problem in the era of utility tokens, when they are worth significantly less than the main ethereum network. In the era of securities tokens however, this will become a significant risk, as securities tokens can easily worth several folds more than the public chain itself. We need to figure out a new economic model, where the public chain’s hashpower is a direct function of total token value running on the public chain.


r/EthereumProgramming • • Feb 08 '19

Ethereum Support for ZK-SNARKs

Thumbnail
blog.aventus.io
1 Upvotes

r/EthereumProgramming • • Jan 29 '19

Practical ZK-SNARKs for Ethereum – Aventus

Thumbnail
medium.com
1 Upvotes

r/EthereumProgramming • • Jan 15 '19

Understanding Security Aspects of the Constantinople Upgrade

Thumbnail
blog.indorse.io
1 Upvotes

r/EthereumProgramming • • Nov 07 '18

Case study: How VeChain's pooling service leverages the power of Arkane Network to build user-friendly blockchain applications

Thumbnail
medium.com
1 Upvotes

r/EthereumProgramming • • Nov 06 '18

Tech AMA with Andy Grant (CTO) — November 2018 – Aventus (Scalability & others)

Thumbnail
medium.com
1 Upvotes

r/EthereumProgramming • • Oct 23 '18

ETHEREUM OpenCL address generation, how?

1 Upvotes

I can not find a ready-made solution for generating an ETHEREUM address on OpenCL. From what I find there is nothing to interact with the GPU.

Only C solution: https://github.com/ELLIPAL/Ethereum_Address_C_Lib

Interested in the solution on C++: PassPhrases -> PrivateKey -> PublicKey -> Address

Tell me, is there ready?


r/EthereumProgramming • • Oct 16 '18

TECH #AventusAMA Part II

Thumbnail
self.aventus
1 Upvotes

r/EthereumProgramming • • Oct 10 '18

Hey! We created a esports fantasy platform that runs on Ethereum and are close to our mainnet launch. We are looking for interested beta testers, to participate in our first closed mainnet wave. Participants will be rewarded for bugs and participation! (X-Post r/dapps)

Thumbnail
play.herosphere.gg
1 Upvotes

r/EthereumProgramming • • Sep 13 '18

Rookie question: can I run a node instead of paying gas?

1 Upvotes

I am doing research for a project to track pedigreed dog family trees on the blockchain.

Imagine that each breeder publishes the microchip ID's of dogs from each litter, signed with the breeder's private key.

The goal is to reduce fraud and make it more difficult for disreputable breeders / aka puppy mills to operate.

I am still reading up on eth. It seems like gas is promised to nodes so that they will add my writes to the blockchain.

As an alternative to buying gas, could I just run my own node or nodes to do this work? I do not need fast writes.


r/EthereumProgramming • • Sep 05 '18

AMA with Aventus founders — July 2018 – Aventus Protocol Foundation

Thumbnail
blog.aventus.io
1 Upvotes

r/EthereumProgramming • • Aug 24 '18

Handling High-Volume Transactions on Ethereum via Off-Chain Asynchronous Queuing

Thumbnail
blog.aventus.io
1 Upvotes

r/EthereumProgramming • • Aug 17 '18

Ethereum Roadmap 2018 Update: Casper V2.1 (Explained Simply!)

Thumbnail
mangoresearch.co
1 Upvotes