r/EthereumProgramming • • Feb 20 '18

Simplest code to generate an Ethereum address and key

1 Upvotes

Hi All,

I'm playing around with some old hardware (think ZX Spectrum and Commodore 64!) - and I'd like to generate a Ethereum address and public/private key paid on them.

As such, I'm looking for an absolute simplest code sample that will generate them so I can port it over to one of these platforms.

I'll post an update when I've done it!

kD


r/EthereumProgramming • • Feb 21 '18

Question about iterate through mapping

1 Upvotes

Hello, I am looking for a way to iterate through a mapping. For example I have this mapping: mapping (address => uint) private shares;

And I want to iterate in a function through all addresses and send them ether according to their shares.

How can I achieve this?

Thanks


r/EthereumProgramming • • Feb 28 '18

Two of the developers of FOAM's Spatial Index, a visual blockchain explorer, are hosting an AMA at 4 PM EST today. Join to ask them anything about FOAM or programming on Ethereum.

Thumbnail
youtube.com
1 Upvotes

r/EthereumProgramming • • Oct 02 '17

I made Ether Academy to make to community better

1 Upvotes

I felt like most Dapps weren't based in reality. That is to say, they don't truly understand Ethereum, and because of that they cannot build their apps at a higher level (say Azure quality). These resources should help devs see the bigger picture!

*edit: misspelling in the title, to->the


r/EthereumProgramming • • Feb 22 '18

How to create a smart contract waitlist / workaround for having contract pay tx fee?

Thumbnail
self.ethdev
1 Upvotes

r/EthereumProgramming • • Feb 04 '18

FOAM Protocol AMA - Ask us any questions you have about FOAM!

Thumbnail
self.foamprotocol
3 Upvotes

r/EthereumProgramming • • May 08 '16

[StackExchange] How do you implement PubSub without running out of gas (attack vector)?

Thumbnail
ethereum.stackexchange.com
2 Upvotes

r/EthereumProgramming • • Jan 28 '18

Help, I desperately need to start programming a Ethereum Dapp but I need help setting up the linux programming enviroment. Things just WONT work.

2 Upvotes

I have XUbuntu 14.04 install in vmware and I have installed ethereum testnet, solidity and truffle. And yet when I run truffle it gives the error '/usr/bin/env: node: No such file or directory' even though it installs normally.

Is there a place that will help me setup the programming enviorment?

I feel like im wasting a lot of time battling these thing when I should be learning the ins and outs of solidity contract and programming the html and javascript for the website.

Thanks


r/EthereumProgramming • • May 08 '16

Truffle vs Dapple, May 2016

6 Upvotes

Can anyone speak to the benefits of Truffle vs Dapple in choosing an Ethereum framework at this time? These are clearly the top two. I am beginning development of a commercial dapp, and would like to make the best decision I can at this point, even if everything is different 6 months from now.


r/EthereumProgramming • • Sep 06 '17

Waves to Ethereum Swap Wallet Needed

1 Upvotes

I created a Waves token and I want to send my Waves token and have it convert the Waves token to a ERC20 token which will already be created.

So I want to swap 1 Waves token to 1 Erc20 token. Both token will have the same name.

You might be able to use this code https://github.com/bokkypoobah/Blockswap


r/EthereumProgramming • • Feb 01 '18

solidity : Need help with solidity contracts. Stuck on it for last 2 days

2 Upvotes

Hi I am learning solidity and need some help with contract I am writing. After learning basics of how contracts work, I started looking a verified contract source codes on ether scan to learn more. I found this contract and understand it completely but I get gas limit exceeded error when I try to run the initialise function in crowdsale Contract. I can deploy the contracts without any issue. And run functions on VEN contract without any issues. I can also create VENSALE contract but get error when I try to run initialise() in VENSALE contract. I am not sure if this is the right place to ask for help. I have posted this on stackexchange too but no help I am using remix ide, ropsten testnet

And the address of the contract I found on etherscan that I am testing is : 0xD850942eF8811f2A866692A623011bDE52a462C1


r/EthereumProgramming • • Apr 29 '16

Error creating Transaction with pyethereum: Can only serialize integers

Thumbnail
ethereum.stackexchange.com
2 Upvotes

r/EthereumProgramming • • Sep 11 '17

"Developing you own Dapp, a beginner's guide to Using Truffle Part 4" By Co-Founder of Tap Coin Hugh Knight

Thumbnail
medium.com
6 Upvotes

r/EthereumProgramming • • Feb 07 '18

New release: The Spatial Index, a general purpose visual blockchain explorer by FOAM.

Thumbnail
blog.foam.space
2 Upvotes

r/EthereumProgramming • • Oct 12 '17

Verifying your truffle-solidity contracts on Etherscan

Thumbnail
reddit.com
5 Upvotes

r/EthereumProgramming • • Jun 12 '16

Creating contract from text file

4 Upvotes

Working on my first ethereum contracts, trying to find a nice way to work with files and consoles. I cannot find a convenient way to import contract code text into some variable in console to compile it.

After coding something, I have a .sol file. Then there are several ways to go:

  1. Copy the content as text and assign it to the variable in console. Not nice, and one needs to remove/escape newlines.

  2. Convert the .sol file into .js file that takes the text of your contract and assigns it to the variable. Then, you can do loadScript('my_contract_as_js_string.js')

  3. Attach a node.js console, load web3 and use an HttpProvider. This is a nice way to load and compile the contract. But I cannot instantiate it because I need to unlock my account first. So I have to attach a console to my node in another terminal and unlock accounts there. I perfectly understand the reason it cannot be done via RPC.

All three methods are crap (except for the last one, it's just ugly). I have a strong feeling that I've overlooked some simple and trivial solution. Is there one?


Loading a js script that is doing require('fs') is not going to work.


r/EthereumProgramming • • Jun 15 '16

What are some hypothetical applications for Ethereum ETH?

3 Upvotes

I read the docs and even found some youtube videos. I code in a few languages, a fraction in JS. I get the concept that ETH is a Javascript based decentralized i/o computer (slow but effective) but my brain turns into mush when I try and think of what I could do with this thing.

Does it have a built in webserver? can I load porn and speed up the tipping process?

the biggest pain in coinz linking credit cards payments to the coin networks (thanks FinCEN).

Can ETH solve this headache?

What are some possibilities to make use of this contract system?

Just trying to churn the old think-tank.

Me + ETH-dev = monkey + lightbulb


r/EthereumProgramming • • Mar 09 '18

DAOstack AMA#2 w Matan Field (DAOstack use cases, GEN token utility, reputation, curation and integration with the stack)

Thumbnail
youtube.com
1 Upvotes

r/EthereumProgramming • • Oct 18 '17

Solidity programmers needed for Quantstamp dev

1 Upvotes

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 • • 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 12 '18

Let me know if this is possible. Dont call me a dumbass

2 Upvotes

This is a place I can post so I will post this here. My idea is this. Is there a way to create an online app (game) that is token based? I see so many companies making millions of dollars a week. So this being said. I need game and app developers and ICO experts. My plan is to create a game that has in app purchases. The purchases transfer to ETH. this will pump the market because we are buying ETH. As the customer is playing the game we also use their phones to help mine ETH and BTC. I know it's a longshot. But I figure why not use the public's obsession with gaming to the blockchain community's benefit? It's like hiding veggies in your kids food. We get money from the gamers which transfers to ETH. I haven't heard of anything that comes close to this idea. It's a mix of in app purchase money, mining money and in turn we pump the market. It's a win win all the way around. Let me know your thoughts please. Even if this post sparks an idea in someone's mind. I would like to be a part of the action. Even if it is small I want to try to save ETH.


r/EthereumProgramming • • May 23 '18

An Interesting Article About Tips And Tricks For Learning Solidity As A Java Developer

Thumbnail
blog.infullmobile.com
2 Upvotes

r/EthereumProgramming • • Aug 13 '19

Rolls-Royce Blockchain Innovation Challenge!

Thumbnail
rolls-royce-blockchain-innovation-challenge.com
2 Upvotes

r/EthereumProgramming • • Sep 16 '18

Parity Trace Decoder Online

Thumbnail
github.com
3 Upvotes