{"id":19903206,"url":"https://github.com/nethereum/netherum.maker","last_synced_at":"2026-05-30T23:31:36.407Z","repository":{"id":89828965,"uuid":"52517423","full_name":"Nethereum/Netherum.Maker","owner":"Nethereum","description":"External Api integration with Maker Dapp","archived":false,"fork":false,"pushed_at":"2016-06-29T12:16:20.000Z","size":20,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-11-27T12:27:44.755Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nethereum.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-02-25T10:47:14.000Z","updated_at":"2022-12-23T06:37:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"3ce19273-839b-4732-b92b-a60669cea6db","html_url":"https://github.com/Nethereum/Netherum.Maker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Nethereum/Netherum.Maker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nethereum%2FNetherum.Maker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nethereum%2FNetherum.Maker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nethereum%2FNetherum.Maker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nethereum%2FNetherum.Maker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nethereum","download_url":"https://codeload.github.com/Nethereum/Netherum.Maker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nethereum%2FNetherum.Maker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33714033,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T20:22:30.084Z","updated_at":"2026-05-30T23:31:36.391Z","avatar_url":"https://github.com/Nethereum.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Netherum.Maker\n\nNethereum.Maker is a .Net api to interact with Maker. For more information about Maker check its [website](https://makerdao.com/) or [white paper] (http://makerdao.github.io/docs/).\n\nThe current implementation has two main services, the Registry and Token services.\n\n##Registry\n\nThe Maker registry holds all the different tokens which make the Maker ecosystem. This can be MKR the main asset, DAI, ETH and many more which are expected in the future.\n\nExample:\n\n``` csharp\n    var web3 = new Web3.Web3();\n    var makerRegistry = new MakerTokenRegistryService(web3, MakerTokenRegistryService.MakerTokenRegistryAddresses.MORDEN);\n    var mkrTokenService = await makerRegistry.GetEthTokenServiceAsync(MakerTokenRegistryService.MakerTokenSymbols.MKR);\n````\n\nIn the example above, I have used a preconfigured address for MORDEN (the testnet), this is just a plain string. Expect this to change in the future, (as it is the tesnet). \n\nUsing the maker registry, you can query Ethereum for the different contract addreses of the tokens used by Maker. Or as in the example above create directly an instance of a Token Service.\n\n##Token Service\n\nAll the tokens that are part of Maker, provide an standard ERC20 interface, providing a generice way to interact with them. This is an [example of a simple Solidty contract of ERC20](https://github.com/Nethereum/Netherum.Maker/blob/master/Nethereum.ERC20.Sample/StandardToken.sol). Maker is based on [Dappsys](https://github.com/nexusdev/dappsys) which is a more complex implementation.\n\n### Examples\n\nCheck the total supply of MKR\n\n``` csharp\nvar totalSupply = await mkrTokenService.GetTotalSupplyAsync\u003cBigInteger\u003e();\nConsole.WriteLine(\"Maker Supply\");\nConsole.WriteLine(totalSupply);\n\n```\n\nCheck the balance of an address\n\n``` csharp\n   var address = \"0xbb7e97e5670d7475437943a1b314e661d7a9fa2a\";\n   var balance =  await mkrTokenService.GetBalanceOfAsync\u003cBigInteger\u003e(address);\n   Console.WriteLine(\"Balance \" + address);\n   Console.WriteLine(balance);\n```\n\nTransfer to another address\n\n``` csharp\nvar transactionHash = await mkrTokenService.TransferAsync(address, newAddress, 10, new HexBigInteger(150000));\nConsole.WriteLine(\"Transfering 10 MKR to \" + newAddress);\nConsole.WriteLine(\"Transfer txId:\");\nConsole.WriteLine(transactionHash);\n````\n\nTransfers events\n\n``` csharp\n\nvar filterId = await mkrTokenService.GetTransferEvent().CreateFilterAsync(new BlockParameter(500000));  \nvar transfers = await mkrTokenService.GetTransferEvent().GetAllChanges\u003cTransfer\u003e(filterId);\nConsole.WriteLine(\"Total Transfers since block 500000\");\n            \nConsole.WriteLine(transfers.Count);\n\nforeach (var transfer in transfers)\n{\n    Console.WriteLine(\"From:\");\n    Console.WriteLine(transfer.Event.AddressFrom);\n    Console.WriteLine(\"To:\");\n    Console.WriteLine(transfer.Event.AddressTo);\n    Console.WriteLine(\"Amount:\");\n    Console.WriteLine(transfer.Event.Value);\n        \n}\n```\n\nThe fully example can be found here: https://github.com/Nethereum/Netherum.Maker/blob/master/Nethereum.Maker.Sample/MakerTokenRegistryServiceTest.cs\n\n\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnethereum%2Fnetherum.maker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnethereum%2Fnetherum.maker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnethereum%2Fnetherum.maker/lists"}