{"id":17459211,"url":"https://github.com/joticajulian/eftg-send","last_synced_at":"2025-03-29T20:15:46.475Z","repository":{"id":107081703,"uuid":"166215766","full_name":"joticajulian/eftg-send","owner":"joticajulian","description":"Simple script to publish new reports on EFTG blockchain","archived":false,"fork":false,"pushed_at":"2019-01-18T09:12:50.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-18T07:25:01.567Z","etag":null,"topics":["blockchain","eftg","oam","steem"],"latest_commit_sha":null,"homepage":"https://pulsar.blkcc.xyz","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/joticajulian.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-17T11:38:05.000Z","updated_at":"2019-01-18T09:12:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"67dd4b33-5a38-48b0-b984-c2d2e9fb33b0","html_url":"https://github.com/joticajulian/eftg-send","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joticajulian%2Feftg-send","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joticajulian%2Feftg-send/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joticajulian%2Feftg-send/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joticajulian%2Feftg-send/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joticajulian","download_url":"https://codeload.github.com/joticajulian/eftg-send/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246237436,"owners_count":20745348,"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","eftg","oam","steem"],"created_at":"2024-10-18T04:47:07.894Z","updated_at":"2025-03-29T20:15:46.447Z","avatar_url":"https://github.com/joticajulian.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eftg-send\n\nThis tool provides a way to publish new reports in the EFTG Blockchain using Node.js. Use it as an alternative of the manual registration needed for the [website](https://pulsar.blkcc.xyz).\n\nInstallation\n----------\n\nInstall [npm](https://www.npmjs.com/get-npm) and [Node.js](https://nodejs.org/en/)\n\nTo check if you have Node.js installed, run this command in your terminal\n```\nnode -v\n```\nTo check if you have npm installed, run this command\n```\nnpm -v\n```\n\nDownload this repository (eftg-send) and run\n```\nnpm install\n```\nHow to use\n----------\nOpen the file `config.js` and set your username and posting key\n```\n// Authentication\nconst username = 'your username'\nconst password = 'your posting key'\n```\n\nOpen `send.js` to define the metadata and report to upload\n```\n// File to upload\nconst filename = '../POST_RI2017.pdf'\n\n// Metadata\nconst issuer_name       = 'Post Telecom PSF S.A.'\nconst home_member_state = 'LU'\nconst identifier_id     = 4 //ISIN. Check IDs at https://cdn.blkcc.xyz/identifier.json\nconst identifier_value  = '549300HODTJUIOVE3C26'\nconst subclass          = 3 //Annual Financial report. Check classes and subclasses at https://cdn.blkcc.xyz/class_subclass_tree.json\nconst disclosure_date   = '2017-12-31T12:00:00' //format yyyy-mm-ddTHH:mm:ss\nconst document_language = 'en' // https://cdn.blkcc.xyz/lang.json\nconst title             = 'Groupe Post Luxembourg Rapport Integre 2017'\nconst financial_year    = '2017'\nconst tags              = [\n                            'annual-financreport', // https://cdn.blkcc.xyz/class_subclass_tree.json\n                            issuer_name,\n                            home_member_state,\n                            identifier_value\n                          ]\n```\nSave the changes, and run in the terminal\n```\nnode send.js\n```\nIt it works properly it will show a message like this\n```\nNew report published!!\npermlink: @jga/5dq03j-groupe-post-luxembourg-rapport-integre-2017\nlink pdf: https://cdn.blkcc.xyz/DQmd1JYzCSdgPWVeskymUqsgZwbaMKLws8VS59ehfm9HxPR/POST_RI2017.pdf\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoticajulian%2Feftg-send","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoticajulian%2Feftg-send","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoticajulian%2Feftg-send/lists"}