{"id":21658373,"url":"https://github.com/datachainlab/hypermint","last_synced_at":"2025-10-31T05:31:13.101Z","repository":{"id":57491202,"uuid":"152830051","full_name":"datachainlab/hypermint","owner":"datachainlab","description":"Tendermint-based blockchain that supports WebAssembly smart contract","archived":false,"fork":false,"pushed_at":"2020-03-16T05:13:27.000Z","size":510,"stargazers_count":56,"open_issues_count":3,"forks_count":6,"subscribers_count":5,"default_branch":"develop","last_synced_at":"2024-11-25T09:40:44.057Z","etag":null,"topics":["blockchain","smart-contracts","tendermint","wasm","webassembly"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datachainlab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-13T03:09:23.000Z","updated_at":"2024-11-13T06:49:34.000Z","dependencies_parsed_at":"2022-08-29T20:31:44.742Z","dependency_job_id":null,"html_url":"https://github.com/datachainlab/hypermint","commit_stats":null,"previous_names":["bluele/hypermint"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datachainlab%2Fhypermint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datachainlab%2Fhypermint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datachainlab%2Fhypermint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datachainlab%2Fhypermint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datachainlab","download_url":"https://codeload.github.com/datachainlab/hypermint/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239120733,"owners_count":19585080,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["blockchain","smart-contracts","tendermint","wasm","webassembly"],"created_at":"2024-11-25T09:29:11.857Z","updated_at":"2025-10-31T05:31:12.690Z","avatar_url":"https://github.com/datachainlab.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# hypermint\n\n[![CircleCI](https://circleci.com/gh/bluele/hypermint.svg?style=svg)](https://circleci.com/gh/bluele/hypermint)\n\nhypermint is a Tendermint-based blockchain that support WebAssembly smart contract.\n\n## Features\n\n- Tendermint consensus\n- WebAssembly smart contract\n- Transaction supports [Read-Write set semantics](https://hyperledger-fabric.readthedocs.io/en/release-1.4/readwrite.html)\n\n## Build\n\n```\n$ make build\n```\n\nIf you use Golang 1.12 or 1.11, export `GO111MODULE=on` for modules. \n\n## Getting started\n\n### Run a validator node\n\nFirst, you need to initialize genesis state.\n\n```\n# these outputs will be different per execution\n$ make init\n{\n  \"chain_id\": \"test-chain-6AHEow\",\n  \"node_id\": \"67b4f60a2b371a908848af2d35e7816b55610115\",\n  \"app_message\": \"success\"\n}\nexport ADDR1=0x1221a0726d56aEdeA9dBe2522DdAE3Dd8ED0f36c\nexport ADDR2=0xD8eba1f372b9e0D378259F150d52C2e6C2e4109a\n```\n\nNext, run a blockchain node:\n\n```\n$ make start\n```\n\nIf you want to deploy hypermint node on k8s, see [here](https://github.com/bluele/hypermint/tree/develop/k8s/testnet).\n\n### Smart contract\n\nhypermint supports wasm based smart contract.\n\nContract example project is [here](https://github.com/bluele/hypermint/tree/develop/example).\n\n*If you don't have cargo and wasm-gc, you should install these.*\n\n- https://doc.rust-lang.org/cargo/getting-started/installation.html\n- https://github.com/alexcrichton/wasm-gc\n\nTo deploy [simple token project](https://github.com/bluele/hypermint/tree/develop/example/token), exec below commands:\n\n```\n# '0x1221a0726d56aEdeA9dBe2522DdAE3Dd8ED0f36c' should be replace with the value which was got by `make init`\n$ export ADDR1=0x1221a0726d56aEdeA9dBe2522DdAE3Dd8ED0f36c\n\n# To exec deploy cmd, cargo with wasm32 and wasm-gc\n$ make -C ./example/token deploy\ncargo build --target=wasm32-unknown-unknown\n   Compiling hmc v0.1.0 (/Users/jun/go/src/github.com/bluele/hypermint/hmc)\n   Compiling token v0.1.0 (/Users/jun/go/src/github.com/bluele/hypermint/example/token)\n    Finished dev [unoptimized + debuginfo] target(s) in 2.08s\nwasm-gc ./target/wasm32-unknown-unknown/debug/token.wasm -o ./token.min.wasm\ncontract address is 0xceD4629963CCc0549094e962a01f454EBFD80Cbd\n```\n\nNow you got the first contract address!\nNext, try to check your balance.\n\n```\n$ ./build/hmcli contract call --address=$ADDR1 --contract=0xceD4629963CCc0549094e962a01f454EBFD80Cbd --func=\"get_balance\" --type=int --password=password --simulate --gas=1\n10000\n```\n\n## Contract development\n\nWe develop an emulation library to ease contract development and testing.\nhttps://github.com/bluele/hmemu\n\nPlease check this out.\n\n## Maintainers\n\n- [Jun Kimura](https://github.com/bluele)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatachainlab%2Fhypermint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatachainlab%2Fhypermint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatachainlab%2Fhypermint/lists"}