{"id":34619748,"url":"https://github.com/b0xtch/crowdsale-contracts","last_synced_at":"2026-06-01T07:32:05.418Z","repository":{"id":95854221,"uuid":"100002170","full_name":"b0xtch/crowdsale-contracts","owner":"b0xtch","description":"Crowdsale contracts","archived":false,"fork":false,"pushed_at":"2017-06-07T21:03:20.000Z","size":486,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-26T03:59:44.122Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"Lunyr/crowdsale-contracts","license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/b0xtch.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-08-11T07:00:28.000Z","updated_at":"2024-10-29T17:43:18.000Z","dependencies_parsed_at":"2025-12-24T15:00:13.970Z","dependency_job_id":null,"html_url":"https://github.com/b0xtch/crowdsale-contracts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/b0xtch/crowdsale-contracts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b0xtch%2Fcrowdsale-contracts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b0xtch%2Fcrowdsale-contracts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b0xtch%2Fcrowdsale-contracts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b0xtch%2Fcrowdsale-contracts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/b0xtch","download_url":"https://codeload.github.com/b0xtch/crowdsale-contracts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b0xtch%2Fcrowdsale-contracts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33765378,"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-01T02:00:06.963Z","response_time":115,"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":"2025-12-24T15:00:01.200Z","updated_at":"2026-06-01T07:32:05.412Z","avatar_url":"https://github.com/b0xtch.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lunyr Contracts\n\nThis is the official repository for the crowdsale of Lunyr tokens.\n\n\nWe use SafeMath.sol and ERC20.sol from Zeppelin (thanks!)\nNewToken.sol is an example of a new token that we might upgrade to.\n\nWe have 1200+ lines of tests. There are two test files:\n1. One tests the wallet\n2. The other one tests the crowd-sale token contracts.\n\nInstructions\n-------------\n1. Open a terminal\n2. [Install npm](http://lmgtfy.com/?q=how+to+install+npm)\n3. Clone the repository \"git clone https://github.com/Lunyr/crowdsale-contracts.git\"\n4. In the repository, run \"npm install\"\n5. Run testrpc (see below)\n6. In another terminal, run \"truffle test\"\n\nThe testrpc command we use is\n\n```\ntestrpc --testnet --account=0x1024102410241024102410241024102410241024102410241024102410241020,10000000000000000000000000 --account=0x1024102410241024102410241024102410241024102410241024102410241021,10000000000000000000000000 --account=0x1024102410241024102410241024102410241024102410241024102410241022,10000000000000000000000000 --account=0x1024102410241024102410241024102410241024102410241024102410241023,10000000000000000000000000 --account=0x1024102410241024102410241024102410241024102410241024102410241024,10000000000000000000000000 --debug\n```\n\nIf you don't want to run all the tests, you can just run individual ones\n\n```\ntruffle test ./test/LunyrToken.js\n```\n\nIf you want to test on the testnet, do the following:\n\n\n1. install geth `brew install geth` or `apt-get install ethereum`\n2. create at least 3 accounts `geth account new`\n3. get some test ether from http://faucet.ropsten.be:3001\n4. run geth in the terminal: `geth --testnet --rpc --rpcport 45585 --rpcaddr localhost console`\n5. in the geth console, unlock your default account `personal.unlockAccount(web3.eth.accounts[0])`\n6. in another terminal, get to the directory where you cloned the repo `cd crowdsale-contracts/`\n7. run `truffle migrate --network testnet`\n8. run `truffle console --network testnet`\n9. interact with the contracts via [web3](https://github.com/ethereum/wiki/wiki/JavaScript-API)\n\nOr just use our existing contracts on the testnet:\n\nMultisig Wallet: 0x90321a0b97ee9cdf78c2428ae826b8a0e6c7af8a\n\nLunyr Token: 0x6c6c2747e3753654f7654b566888417c135fe9cc\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb0xtch%2Fcrowdsale-contracts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fb0xtch%2Fcrowdsale-contracts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb0xtch%2Fcrowdsale-contracts/lists"}