{"id":23353860,"url":"https://github.com/epicchainlabs/epicchain-contract","last_synced_at":"2025-04-10T06:05:12.363Z","repository":{"id":266257557,"uuid":"805203276","full_name":"epicchainlabs/epicchain-contract","owner":"epicchainlabs","description":"EpicChain Contract is a repository containing all smart contracts related to the EpicChain blockchain.","archived":false,"fork":false,"pushed_at":"2024-12-08T11:11:05.000Z","size":1393,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-24T07:11:23.902Z","etag":null,"topics":["blockchain-development","blockchaintechnology","contract-security","decentralized-applications","defi-contracts","epicchain","epicchainblockchain","smartcontractdeployment","smartcontracts"],"latest_commit_sha":null,"homepage":"https://www.epic-chain.org/","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/epicchainlabs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.Apache2","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-24T05:08:27.000Z","updated_at":"2024-12-08T11:11:08.000Z","dependencies_parsed_at":"2024-12-03T11:29:27.905Z","dependency_job_id":"ad4ba2c0-f449-44eb-bb97-efa84d80f1f2","html_url":"https://github.com/epicchainlabs/epicchain-contract","commit_stats":null,"previous_names":["epicchainlabs/epicchain-contract"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epicchainlabs%2Fepicchain-contract","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epicchainlabs%2Fepicchain-contract/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epicchainlabs%2Fepicchain-contract/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epicchainlabs%2Fepicchain-contract/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/epicchainlabs","download_url":"https://codeload.github.com/epicchainlabs/epicchain-contract/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248166936,"owners_count":21058481,"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-development","blockchaintechnology","contract-security","decentralized-applications","defi-contracts","epicchain","epicchainblockchain","smartcontractdeployment","smartcontracts"],"created_at":"2024-12-21T09:16:45.535Z","updated_at":"2025-04-10T06:05:12.314Z","avatar_url":"https://github.com/epicchainlabs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# Overview\n\nEpicChain-Contract contains all EpicChain related contracts written for the [EpicChain-Go](https://github.com/epicchainlabs/epicchain-go) compiler. These contracts are deployed both on the mainchain and the sidechain.\n\n**Mainchain contracts:**\n\n- epicchain\n- processing\n\n**Sidechain contracts:**\n\n- alphabet\n- audit\n- balance\n- container\n- epicchainid\n- netmap\n- nns\n- proxy\n- reputation\n\n# Getting Started \n\n## Prerequisites\n\nTo compile smart contracts, you need:\n\n- [epicchain-go](https://github.com/epicchainlabs/epicchain-go) \u003e= 0.104.0\n\n## Compilation\n\nTo build and compile smart contracts, run the `make all` command. Compiled contracts `*_contract.nef` and manifest `config.json` files are placed in the corresponding directories. Generated RPC binding files `rpcbinding.go` are placed in the corresponding `rpc` directories.\n\n```bash\n$ make all\n/home/user/go/bin/cli contract compile -i alphabet -c alphabet/config.yml -m alphabet/config.json -o alphabet/alphabet_contract.nef --bindings alphabet/bindings_config.yml\nmkdir -p rpc/alphabet\n/home/user/go/bin/cli contract generate-rpcwrapper -o rpc/alphabet/rpcbinding.go -m alphabet/config.json --config alphabet/bindings_config.yml\n...\n```\n\nYou can specify the path to the `epicchain-go` binary with the `epicchainGO` environment variable:\n\n```bash\n$ epicchainGO=/home/user/epicchain-go/bin/epicchain-go make all\n```\n\nRemove compiled files with the `make clean` command.\n\n## Building Debian Package\n\nTo build a Debian package containing compiled contracts, run the `make debpackage` command. The package will install compiled contracts `*_contract.nef` and manifest `config.json` with corresponding directories to `/var/lib/epicchain/contract` for further usage. It will download and build `epicchain-go` if needed.\n\nTo clean package-related files, use `make debclean`.\n\n# Testing\n\nSmart contract tests reside in the `tests/` directory. To execute the test suite after applying changes, simply run `make test`.\n\n```bash\n$ make test\nok      github.com/epicchainlabs/epicchain-contract/tests       0.462s\n```\n\n# License\n\nContracts are licensed under the GPLv3 license, bindings and other integration code are provided under the Apache 2.0 license - see [LICENSE.md](LICENSE.md) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepicchainlabs%2Fepicchain-contract","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fepicchainlabs%2Fepicchain-contract","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepicchainlabs%2Fepicchain-contract/lists"}