Close Menu
    Trending
    • Bitcoin Obituaries Keep Coming—CZ Isn’t Buying It
    • Strategy (MSTR) CEO Says Bitcoin Sale Was About Market ‘Inoculation,’ Not A Retreat
    • Coinbase Urges Congress to Treat Stablecoins Like Cash and Ease Crypto Tax Burdens
    • CFTC Drafts Its First Major Framework
    • Morgan Stanley’s Bitcoin Executive Says Education — Not Products — Is Wall Street’s Real Obstacle
    • One Analyst Sees a Clear Short-Term Favorite
    • BTC Price Bottom Not Due Until Q4? Five Things to Know in Bitcoin This Week
    • Dogecoin Is One Step Away From The Same Pattern That Triggered 2021’s 29,000% Rally, What Next?
    CryptoGate
    • Home
    • Bitcoin News
    • Cryptocurrency
    • Crypto Market Trends
    • Altcoins
    • Ethereum
    • Blockchain
    • en
      • en
      • fr
      • de
      • it
      • ja
    CryptoGate
    Home»Ethereum»Ethereum in practice part 3: how to build your own transparent bank on the blockchain
    Ethereum

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

    CryptoGateBy CryptoGateJanuary 15, 2026No Comments6 Mins Read
    Share
    Facebook Twitter LinkedIn Pinterest Email


    That is the third and remaining submit on a collection on find out how to use the Ethereum Pockets to create your individual 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’ll do the total circle and create a token managed by the Organisation!

    We’re going to modify the token contract to permit it to be minted by your DAO. So save the handle of your present DAO in a be aware pad (take note of the icon) and grab this source code and the drill: contracts > deploy new contract > solidity supply code > choose contract

    You’ll be able to fill the parameters any approach you need (sure, emojis are permitted on the string fields) however you will discover one new subject that did not exist earlier than: Central Minter. Right here add the handle of your newly created democracy contract.

     

    Click on Deploy and let’s await the transaction to be picked up. After it has at the very least two confirmations, go to your democracy contract and you will discover that now it owns one million of your new cash. Now in the event you go to the Contracts tab you will see that there’s a new DAO greenback (admin web page) contract in your assortment.

    Choose the “mintToken” perform to your proper after which put any handle you personal because the “goal”, after which the quantity of latest mints you need to create from skinny air of their account. Press “execute” however do not press ship! You may discover that there’s a warning saying that the transaction cannot be executed. This occurs as a result of solely the Minter (which is presently set to the DAO handle) can name that perform and you might be calling it along with your primary account. However the calling code is identical, which is why you’ll be able to merely copy it.

    As a substitute, copy the contract execution code from the “information” subject and put it apart on a notepad. Additionally get the handle of your new “Mint” contract and put it aside someplace.

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

    Now return to the democracy contract and create a brand new proposal with these parameters:

    • Because the beneficiary, put the handle of your new token
    • Depart etherAmount clean
    • On the jobDescription simply write a small description that you’re minting new cash
    • On the transactionBytecode, paste the bytecode you saved from the info subject on the earlier step

     

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

     

    In just a few seconds you need to be capable of see that the main points on the proposal. Not like the opposite fields, transactionBytecode will be extraordinarily prolonged and subsequently costly to retailer on the blockchain. So as a substitute of archiving it, the individual executing the decision later will present the bytecode.

    However that in fact creates a safety gap: how can a proposal be voted with out the precise code being there? And what prevents a consumer from executing a special code after the proposal has been voted on? That is why we preserve the hash of the bytecode. Scroll a bit on the “learn from contract” perform listing and you will see a proposal checker perform, the place anybody can put all of the perform parameters and examine in the event that they match the one being voted on. This additionally ensures that proposals do not get executed except the hash of the bytecode matches precisely the one on the supplied code.

     

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

     

    Now everybody can vote on the proposal and after the voting interval has handed, anybody with the proper bytecode can ask the votes to be tallied up and the contract to be executed. If the proposal has sufficient help then the newly minted cash ought to seem on Alice’s account, as if it was a switch from handle Zero.

     

    Why a transfer from code zero? Because it says so on the code. You can change that as you will Why a switch from handle zero? As a result of doing the alternative, sending a coin to 0x00 is a technique to successfully destroy it, however extra importantly, as a result of it says so on the contract code. You’ll be able to change that as you choose.

     

    And now you’ve gotten a central minter contract that exists solely on the blockchain, completelly fraud-proof as all their actions are logged transparently. The mint may also take cash from circulation by merely sending the cash it has to deal with Zero, or by freezing the funds on any account, however it’s mathematically unimaginable for the Mint to do any of these actions or generate extra cash with out the help of sufficient shareholders of the mint.

    Doable makes use of of this DAO:

    • The creation of a common steady crypto forex. By controlling the whole quantity of cash in circulation the Mint shareholders can try and create an asset whose worth does not fluctuate too wildly.
    • Issuance of certificates of backed belongings: the cash can characterize an exterior forex or objects that the Mint owns and might show to it is shareholders and token holders. When the Mint acquires or sells extra of those belongings it could burn or generate extra belongings to ensure that their digital stock will all the time match their actual counterpart
    • Digitally backed belongings. The Mint can maintain ether or different ethereum primarily based digital currencies and use that to again the worth of the currencies circulating

    Enhancements Strategies

    There are a number of ways in which this construction will be but improved, however we’ll go away it as an train and problem to the reader:

    1. Proper now votes are made by shareholders primarily based on freely tradable tokens. Can as a substitute membership be primarily based on invitation, every member getting a single vote (or possibly use quadratic voting or liquid democracy)?
    2. What about different voting mechanisms? Perhaps the vote as a substitute of being a boolean could possibly be a extra versatile association: you might vote to postpone the choice, or you can also make a vote that’s impartial however nonetheless depend to the quorum
    3. At present all proposals have the identical debating interval. Are you able to make that proportional to the worth switch being proposed? How would you calculate that to tokens?
    4. Are you able to create a greater token that may be mechanically created by sending ether into it, which might then be retrieved by burning the token, at a fluctuating market worth?
    5. What else can the DAO personal or do, in addition to tokens?



    Source link

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    CryptoGate
    • Website
    • Pinterest

    Related Posts

    Tom Lee’s Bitmine Buys Another $213M In Ethereum, Nears 5% Of ETH Supply

    June 10, 2026

    Ethereum Never Reached A Key Bull Market Mark This Cycle

    June 10, 2026

    Ethereum Leverage Resets To 2025 Levels – Binance Sends A Warning

    June 10, 2026

    Ethereum ETFs Attract $82M In Inflows While BTC Funds Bleed

    June 10, 2026
    Add A Comment
    Leave A Reply Cancel Reply

    Top Posts

    XRP’s 100 Billion Supply Is By Design

    November 1, 2025

    39% Of U.S. Merchants Now Accept Crypto, Survey Finds

    January 28, 2026

    Ethereum Founder Buterin Warns Of New X Feature: Here’s Why

    November 25, 2025

    Monad Crypto Price Prediction for 2026 as Regulation, Payments, and Security Collide

    December 26, 2025

    What I Check Before Moving Money to a Crypto Exchange

    March 28, 2026
    Categories
    • Altcoins
    • Bitcoin News
    • Blockchain
    • Crypto Market Trends
    • Crypto Mining
    • Cryptocurrency
    • Ethereum
    About us

    Welcome to cryptogate.info — your trusted gateway to the latest and most reliable news in the world of cryptocurrency. Whether you’re a seasoned trader, a blockchain enthusiast, or just curious about the future of digital finance, we’re here to keep you informed and ahead of the curve.

    At cryptogate.info, we are passionate about delivering timely, accurate, and insightful updates on everything crypto — from market trends, new coin launches, and regulatory developments to expert analysis and educational content. Our mission is to empower you with knowledge that helps you navigate the fast-paced and ever-evolving crypto landscape with confidence.

    Top Insights

    Aave Outlines Steps to Rebuild rsETH Collateral

    April 28, 2026

    Paolo Ardoino Confirmed As A Bitcoin 2026 Speaker

    April 8, 2026

    3 Things That May Move Crypto Markets This Week

    August 4, 2025
    Categories
    • Altcoins
    • Bitcoin News
    • Blockchain
    • Crypto Market Trends
    • Crypto Mining
    • Cryptocurrency
    • Ethereum
    YouTube
    • Privacy Policy
    • Disclaimer
    • Terms and Conditions
    • Impressum
    • About us
    • Contact us
    Copyright © 2025 CryptoGate All Rights Reserved.

    Type above and press Enter to search. Press Esc to cancel.