{"id":16039534,"url":"https://github.com/internetofpeers/mom-js","last_synced_at":"2026-03-06T22:05:34.923Z","repository":{"id":57118950,"uuid":"280552724","full_name":"InternetOfPeers/mom-js","owner":"InternetOfPeers","description":"Javascript implementation of the MOM (My Own Messages) standard, an easy and cost effective Ethereum standard to give voice to your smart contract, send messages to the world, create a certified blog with your ideas, and so on.","archived":false,"fork":false,"pushed_at":"2021-08-18T00:14:34.000Z","size":173,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"develop","last_synced_at":"2025-04-08T22:01:36.810Z","etag":null,"topics":["anticensorship","blockchain","decentralization","eip","eip2848","erc","ethereum","javascript","messages","mom","mom-client","mom-js","mom-spec","notarization","package","standard","web3"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/InternetOfPeers.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":"2020-07-18T00:43:58.000Z","updated_at":"2024-06-24T19:00:09.000Z","dependencies_parsed_at":"2022-08-22T23:31:29.562Z","dependency_job_id":null,"html_url":"https://github.com/InternetOfPeers/mom-js","commit_stats":null,"previous_names":["internetofpeers/mom"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InternetOfPeers%2Fmom-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InternetOfPeers%2Fmom-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InternetOfPeers%2Fmom-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InternetOfPeers%2Fmom-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/InternetOfPeers","download_url":"https://codeload.github.com/InternetOfPeers/mom-js/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248208540,"owners_count":21065202,"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":["anticensorship","blockchain","decentralization","eip","eip2848","erc","ethereum","javascript","messages","mom","mom-client","mom-js","mom-spec","notarization","package","standard","web3"],"created_at":"2024-10-08T23:05:14.774Z","updated_at":"2026-03-06T22:05:34.834Z","avatar_url":"https://github.com/InternetOfPeers.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Javascript implementation of the MOM standard\n\n![Node.js Package](https://github.com/InternetOfPeers/mom-js/workflows/Node.js%20Package/badge.svg)\n\nJavascript implementation of the [MOM (My Own Messages) standard or EIP-2848](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-2848.md), an easy and cost effective Ethereum standard to give voice to your smart contract, send messages to the world, create a certified blog with your ideas, and so on.\n\n## How to use mom-js\n\nInstall the package with:\n\n```bash\nnpm install @internetofpeers/mom-js\n```\n\nThen use something like this:\n\n```javascript\n// example\nconst mom = require(\"@internetofpeers/mom-js\");\nconst multihashes = require(\"multihashes\");\n//...\nlet senderAddress = \"0x....\";\nlet messageHash = \"QmbHQieckNGj2KwBhpzkGSLDgezGnArL6eeuvb87YLX665\";\nlet multihash = multihashes.fromB58String(messageHash);\nlet addTransacion = mom.createAddTransaction(\"0x\", multihash);\n//...\n```\n\nCheck the [MOM client](https://github.com/InternetOfPeers/mom-client.git) example to develop your own _MOM-enabled_ ÐApp:\n\n```bash\ngit clone https://github.com/InternetOfPeers/mom-client.git\ncd mom-client\nnpm install\nnpm start\n```\n\nOr, with a more classic client-server approach, you can obtain and use the latest version of MOM client directly from the [GitHub's servers](https://internetofpeers.github.io/mom-client).\n\nMOM does not need smart contracts, so it is already available on every current and future Ethereum network (mainnet, rinkeby, kovan, ecc.): just choose the one for you and you are ready to go.\n\n### Dealing with line endings\n\nPlease respect the current line endings strategy. See [Configuring Git to handle line endings](https://help.github.com/en/articles/dealing-with-line-endings) for more details.\n\n### VSCode plugins\n\nDevelopment of this code is done with VSCode and in particular some plugins affect the formatting of the source code:\n\n- Beautify ([hookyqr.beautify](https://marketplace.visualstudio.com/items?itemName=HookyQR.beautify))\n- ESLint ([dbaeumer.vscode-eslint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint))\n- EditorConfig for VS Code ([editorconfig.editorconfig](https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finternetofpeers%2Fmom-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finternetofpeers%2Fmom-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finternetofpeers%2Fmom-js/lists"}