Business Insights
  • Home
  • Crypto
  • Finance Expert
  • Business
  • Invest News
  • Investing
  • Trading
  • Forex
  • Videos
  • Economy
  • Tech
  • Contact

Archives

  • September 2025
  • August 2025
  • July 2025
  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • August 2023
  • January 2023
  • December 2021
  • July 2021
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019

Categories

  • Business
  • Crypto
  • Economy
  • Finance Expert
  • Forex
  • Invest News
  • Investing
  • Tech
  • Trading
  • Uncategorized
  • Videos
Apply Loan
Money Visa
Advertise Us
Money Visa
  • Home
  • Crypto
  • Finance Expert
  • Business
  • Invest News
  • Investing
  • Trading
  • Forex
  • Videos
  • Economy
  • Tech
  • Contact
Announcing the Trillion Dollar Security Initiative
  • Forex

Ethereum in practice part 3: how to build your own transparent bank on the blockchain

  • September 11, 2025
  • Roubens Andy King
Total
0
Shares
0
0
0
Total
0
Shares
Share 0
Tweet 0
Pin it 0

This is the third and final post on a series on how to use the Ethereum Wallet to create your own autonomous organisations. On the first post we detailed how to create a token, and on the second we shown how to generate a digital democracy controlled by these tokens. Now we will do the full circle and create a token controlled by the Organisation!

We are going to modify the token contract to allow it to be minted by your DAO. So save the address of your current DAO in a note pad (pay attention to the icon) and grab this source code and you know the drill: contracts > deploy new contract > solidity source code > pick contract

You can fill the parameters any way you want (yes, emojis are permitted on the string fields) but you'll notice one new field that didn't exist before: Central Minter. Here add the address of your newly created democracy contract.

 

Click Deploy and let's wait for the transaction to be picked up. After it has at least two confirmations, go to your democracy contract and you'll notice that now it owns a million of your new coins. Now if you go to the Contracts tab you'll see that there is a new DAO dollar (admin page) contract on your collection.

Select the “mintToken” function to your right and then put any address you own as the “target”, and then the amount of new mints you want to create from thin air in their account. Press “execute” but don't press send! You'll notice that there is a warning saying that the transaction can't be executed. This happens because only the Minter (which is currently set to the DAO address) can call that function and you are calling it with your main account. But the calling code is the same, which is why you can simply copy it.

Instead, copy the contract execution code from the “data” field and put it aside on a notepad. Also get the address of your new “Mint” contract and save it somewhere.

Ethereum Wallet Screen-Shot-2015-12-01-at-7.17.06-PM

Now go back to the democracy contract and create a new proposal with these parameters:

  • As the beneficiary, put the address of your new token
  • Leave etherAmount blank
  • On the jobDescription just write a small description that you are minting new coins
  • On the transactionBytecode, paste the bytecode you saved from the data field on the previous step

 

Ethereum Wallet Screen Shot 2015-12-01 at 7.22.48 PM

 

In a few seconds you should be able to see that the details on the proposal. Unlike the other fields, transactionBytecode can be extremely lengthy and therefore expensive to store on the blockchain. So instead of archiving it, the person executing the call later will provide the bytecode.

But that of course creates a security hole: how can a proposal be voted without the actual code being there? And what prevents a user from executing a different code after the proposal has been voted on? That's why we keep the hash of the bytecode. Scroll a bit on the “read from contract” function list and you'll see a proposal checker function, where anyone can put all the function parameters and check if they match the one being voted on. This also guarantees that proposals don't get executed unless the hash of the bytecode matches exactly the one on the provided code.

 

It's an older code, but it checks out
It's an older code, but it checks out

 

Now everyone can vote on the proposal and after the voting period has passed, anyone with the correct bytecode can ask the votes to be tallied up and the contract to be executed. If the proposal has enough support then the newly minted coins should appear on Alice's account, as if it was a transfer from address Zero.

 

Why a transfer from code zero? Because it says so on the code. You can change that as you will Why a transfer from address zero? Because doing the opposite, sending a coin to 0x00 is a way to effectively destroy it, but more importantly, because it says so on the contract code. You can change that as you prefer.

 

And now you have a central minter contract that exists solely on the blockchain, completelly fraud-proof as all their activities are logged transparently. The mint can also take coins from circulation by simply sending the coins it has to address Zero, or by freezing the funds on any account, but it's mathematically impossible for the Mint to do any of those actions or generate more coins without the support of enough shareholders of the mint.

Possible uses of this DAO:

  • The creation of a universal stable crypto currency. By controlling the total amount of coins in circulation the Mint shareholders can attempt to create an asset whose value doesn't fluctuate too wildly.
  • Issuance of certificates of backed assets: the coins can represent an external currency or items that the Mint owns and can prove to it's shareholders and token holders. When the Mint acquires or sells more of these assets it can burn or generate more assets to guarantee that their digital inventory will always match their real counterpart
  • Digitally backed assets. The Mint can hold ether or other ethereum based digital currencies and use that to back the value of the currencies circulating

Improvements Suggestions

There are multiple ways that this structure can be yet improved, but we will leave it as an exercise and challenge to the reader:

  1. Right now votes are made by shareholders based on freely tradable tokens. Can instead membership be based on invitation, each member getting a single vote (or maybe use quadratic voting or liquid democracy)?
  2. What about other voting mechanisms? Maybe the vote instead of being a boolean could be a more flexible arrangement: you could vote to postpone the decision, or you can make a vote that is neutral but still count to the quorum
  3. Currently all proposals have the same debating period. Can you make that proportional to the value transfer being proposed? How would you calculate that to tokens?
  4. Can you create a better token that can be automatically created by sending ether into it, which can then be retrieved by burning the token, at a fluctuating market price?
  5. What else can the DAO own or do, besides tokens?
Total
0
Shares
Share 0
Tweet 0
Pin it 0
Roubens Andy King

Previous Article
Pound weaker against dollar ahead of UK GDP release
  • Investing

Pound weaker against dollar ahead of UK GDP release

  • September 11, 2025
  • Roubens Andy King
Read More
Next Article
Avalanche Aims To Raise B Tor AVAX Treasury Vehicles
  • Crypto

Avalanche Aims To Raise $1B Tor AVAX Treasury Vehicles

  • September 11, 2025
  • Roubens Andy King
Read More
You May Also Like
Scroll layer 2 DAO pauses governance as some leaders resign
Read More
  • Forex

Scroll layer 2 DAO pauses governance as some leaders resign

  • Roubens Andy King
  • September 11, 2025
Ethereum Beacon Chain sees major slashing event with 40 validators penalized
Read More
  • Forex

Ethereum Beacon Chain sees major slashing event with 40 validators penalized

  • Roubens Andy King
  • September 11, 2025
Avalanche Foundation Eyes B Treasury Deals: Will AVAX Surge?
Read More
  • Forex

Avalanche Foundation Eyes $1B Treasury Deals: Will AVAX Surge?

  • Roubens Andy King
  • September 11, 2025
Why The Democrats’ Latest Framework For Crypto Market Structure Could Hurt Financial Privacy
Read More
  • Forex

Why The Democrats’ Latest Framework For Crypto Market Structure Could Hurt Financial Privacy

  • Roubens Andy King
  • September 11, 2025
Russian Civic Chamber Member Floats Idea for Crypto Bank
Read More
  • Forex

Russian Civic Chamber Member Floats Idea for Crypto Bank

  • Roubens Andy King
  • September 11, 2025
Read More
  • Forex

Dogecoin To $0.50? This Channel Break Could Be The Catalyst

  • Roubens Andy King
  • September 11, 2025
‘Fat Apps’ May Lead Crypto Narrative In Coming Months: Bitwise
Read More
  • Forex

‘Fat Apps’ May Lead Crypto Narrative In Coming Months: Bitwise

  • Roubens Andy King
  • September 11, 2025
Ethereum slashes 39 validators after SSV network errors
Read More
  • Forex

Ethereum slashes 39 validators after SSV network errors

  • Roubens Andy King
  • September 10, 2025

Recent Posts

  • Scroll layer 2 DAO pauses governance as some leaders resign
  • 5 Things to Know Before the Stock Market Opens
  • Japan Launches First Stablecoin Credit Card, Is Best Wallet Next?
  • Ethereum Beacon Chain sees major slashing event with 40 validators penalized
  • Kraft Heinz split may come too late to fend off growing MAHA threat
Featured Posts
  • Scroll layer 2 DAO pauses governance as some leaders resign 1
    Scroll layer 2 DAO pauses governance as some leaders resign
    • September 11, 2025
  • 5 Things to Know Before the Stock Market Opens 2
    5 Things to Know Before the Stock Market Opens
    • September 11, 2025
  • Japan Launches First Stablecoin Credit Card, Is Best Wallet Next? 3
    Japan Launches First Stablecoin Credit Card, Is Best Wallet Next?
    • September 11, 2025
  • Ethereum Beacon Chain sees major slashing event with 40 validators penalized 4
    Ethereum Beacon Chain sees major slashing event with 40 validators penalized
    • September 11, 2025
  • Kraft Heinz split may come too late to fend off growing MAHA threat 5
    Kraft Heinz split may come too late to fend off growing MAHA threat
    • September 11, 2025
Recent Posts
  • Avalanche Aims To Raise B Tor AVAX Treasury Vehicles
    Avalanche Aims To Raise $1B Tor AVAX Treasury Vehicles
    • September 11, 2025
  • Pound weaker against dollar ahead of UK GDP release
    Pound weaker against dollar ahead of UK GDP release
    • September 11, 2025
  • BitMine adds over 46k ETH to treasury as total holdings near B
    BitMine adds over 46k ETH to treasury as total holdings near $10B
    • September 11, 2025
Categories
  • Business (2,057)
  • Crypto (1,643)
  • Economy (123)
  • Finance Expert (1,687)
  • Forex (1,643)
  • Invest News (2,361)
  • Investing (1,564)
  • Tech (2,056)
  • Trading (2,024)
  • Uncategorized (2)
  • Videos (815)

Subscribe

Subscribe now to our newsletter

Money Visa
  • Privacy Policy
  • DMCA
  • Terms of Use
Money & Invest Advices

Input your search keywords and press Enter.