{"id":19275420,"url":"https://github.com/3esmit/my-governance-example","last_synced_at":"2026-06-18T15:32:38.584Z","repository":{"id":137154206,"uuid":"298103419","full_name":"3esmit/my-governance-example","owner":"3esmit","description":null,"archived":false,"fork":false,"pushed_at":"2020-10-23T17:26:19.000Z","size":468,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-23T21:16:02.550Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/3esmit.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2020-09-23T21:56:13.000Z","updated_at":"2020-10-23T17:26:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"b57e3e83-9248-4e43-b18d-f222e7ca9b03","html_url":"https://github.com/3esmit/my-governance-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/3esmit/my-governance-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3esmit%2Fmy-governance-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3esmit%2Fmy-governance-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3esmit%2Fmy-governance-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3esmit%2Fmy-governance-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/3esmit","download_url":"https://codeload.github.com/3esmit/my-governance-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3esmit%2Fmy-governance-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34497294,"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-06-18T02:00:06.871Z","response_time":128,"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-09T20:50:44.365Z","updated_at":"2026-06-18T15:32:38.559Z","avatar_url":"https://github.com/3esmit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# My Governance Example\n\nThis is a demo project for embark framework.\n\n## Getting Started\n\n0. clone repository and move into folder\n    ```bash\n    git clone git@github.com:3esmit/my-governance-example.git\n    cd my-governance-example\n    ```\n\n1. install node 10.17.0, recommended using nvm https://github.com/creationix/nvm\n    ```bash\n    nvm install 10.17.0\n    nvm alias default 10.17.0\n    ```\n2. install go-ethereum (geth)\n    ```bash\n    sudo add-apt-repository -y ppa:ethereum/ethereum\n    sudo apt-get update\n    sudo apt-get install geth -y\n    ```\n3. install a. `ipfs` or b. `swarm` and initialize it.  \n    - IPFS:\n        ```bash \n        sudo snap install ipfs\n        ipfs init\n        ```\n    - SWARM:\n        ```bash \n        #TODO\n        ```\n4. run unit test\n    ```bash \n    npx embark test\n    ```\n5. run development environment\n    ```bash \n    npx embark run\n    ```\n\n## Deploy\n\n### Ropsten\nTo deploy to ropsten you must provide the environment variable `ETH_DEPLOY_ADDRESS`:\n```bash\n$ export ETH_DEPLOY_ADDRESS=\"0x\u003cyour-address\u003e\"\n```\nThis account must appear in the accounts list (`npm run list-accs-ropsten`), and it must be encrypted with the password written in the file `config/ropsten/.password`. \n\nIf you don't have an address, use `npm run new-acc-ropsten` to create a new account, copy the address outputed in the terminal and go to a [faucet](https://faucet.dimensions.network/) to get some ropsten test ether. This keys will be saved in `~/keys/ropsten/`.\n\nTo customize the behavior, look into `config/ropsten/.env`, `script/ethereum.sh` and `package.json`. \n\nSee your address in a block explorer: `https://ropsten.etherscan.io/address/0x\u003cyour-address\u003e`\n\n## Upload\n\n### IPFS\n\nTo upload to a descentralized storage run `npm run upload-ropsten`. \n\nThe manual command to upload the build folder is `ipfs add -r dist/`\n\nTo access the uploaded dapp in localhost, run ipfs service:\n```\nipfs daemon\n```\n\n### Swarm\n\nTODO\n\nThe manual command to upload the build folder is `swarm --defaultpath dist/index.html --recursive up dist/`\n\n## Publish to ENS\n\nSetup ENS domain (go to https://app.ens.domains/)\n\n## Scripts\n\nRuns dapp on development network (ganache):  \n`npx embark test`\n\nRuns unit tests on development network (ganache):  \n`npx embark run`\n\nCreates a new account for ropsten:  \n`npm run new-acc-ropsten`\n\nLists ropsten accounts:  \n`npm run list-accs-ropsten`\n\nStarts an ETH node for ropsten:  \n`npm run eth-ropsten`\n\nWaits until ropsten network is synced:  \n`npm run wait-ropsten`\n\nStarts ropsten node, waits network sync, deploy contracts and start webserver:  \n`npm run run-ropsten`\n\nBuilds ropsten, waits network sync, deploy contracts and upload to ipfs:  \n`npm run upload-ropsten`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3esmit%2Fmy-governance-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F3esmit%2Fmy-governance-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3esmit%2Fmy-governance-example/lists"}