{"id":19348992,"url":"https://github.com/archlinuxstudio/als_ico","last_synced_at":"2025-08-19T14:14:40.137Z","repository":{"id":108616992,"uuid":"483221215","full_name":"ArchLinuxStudio/ALS_ICO","owner":"ArchLinuxStudio","description":null,"archived":false,"fork":false,"pushed_at":"2022-05-03T13:07:31.000Z","size":2775,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-24T10:18:46.686Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://archlinuxstudio.github.io/ALS_ICO/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ArchLinuxStudio.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":"2022-04-19T11:40:32.000Z","updated_at":"2022-07-18T20:40:06.000Z","dependencies_parsed_at":"2023-04-30T18:19:37.917Z","dependency_job_id":null,"html_url":"https://github.com/ArchLinuxStudio/ALS_ICO","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ArchLinuxStudio/ALS_ICO","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArchLinuxStudio%2FALS_ICO","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArchLinuxStudio%2FALS_ICO/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArchLinuxStudio%2FALS_ICO/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArchLinuxStudio%2FALS_ICO/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ArchLinuxStudio","download_url":"https://codeload.github.com/ArchLinuxStudio/ALS_ICO/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArchLinuxStudio%2FALS_ICO/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271166354,"owners_count":24710465,"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","status":"online","status_checked_at":"2025-08-19T02:00:09.176Z","response_time":63,"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-10T04:24:06.367Z","updated_at":"2025-08-19T14:14:40.110Z","avatar_url":"https://github.com/ArchLinuxStudio.png","language":"TypeScript","readme":"# ALS_ICO\n\nThis project teaches how to issue ERC-20 tokens based on the Ethereum Virtual Machine.\n\nIf you have Ethereum in the rinkeby testnet, you can participate in the test.\n\nThis project borrows a lot from this youtube video: [Code Your Own Cryptocurrency on Ethereum (Full)\n](https://www.youtube.com/watch?v=XdKv5uwEk5A\u0026list=PLS5SEs8ZftgWFuKg2wbm_0GLV0Tiy1R-n).\n\n## Deploy to rinkeby test network\n\n1. Run geth node\n\n```bash\ngeth --rinkeby --http --http.api personal,eth,net,web3 --allow-insecure-unlock\n```\n\nThis can take dozens of hours, depending on your machine configuration and internet speed.  \nThis will cost you close to 100GB or so of hard drive space.\n\n2. Create a new account\n\n```bash\ngeth --rinkeby account new\n```\n\n3. Attach into geth console\n\n```bash\ngeth --rinkeby attach\n```\n\nAnd you can do many things in geth console\n\n```bash\neth.syncing     #check the syncing status\neth.accounts    #check all accounts\neth.getBalance(eth.accounts[0]) #check account balance\npersonal.unlockAccount(eth.accounts[0],null,1200)   #unlock a certain accont for 20 minutes\n```\n\n4. Acquire eth from https://www.rinkeby.io/#faucet\n\nHere they require that you have to post a twitter or facebook, which is disgusting.\n\nrinkeby.io may be unstable, you can use the following alt sites to get ether.\n\n- https://faucets.chain.link/rinkeby\n- https://rinkebyfaucet.com/\n- https://app.mycrypto.com/faucet\n- https://faucet.paradigm.xyz/\n\n5. Migrate\n\n```bash\ntruffle migrate --reset --compile-all --network rinkeby\n```\n\n6. Verify deployment and transfer tokens to sale contract\n\n```bash\ngeth --rinkeby attach\n```\n\n```bash\nvar admin = eth.accounts[0]\nvar tokensAvailable = 20000000\nvar tokenSaleAddress = \"Your_Sale_Contract_Address\" # check the address in build/contracts/ALSTokenSale.json\nvar abi = [Your_Token_Contract_ABI_Array] #copy the abi ARRAY in build/contracts/Election.json, turn it into one line style. in oss code, select all data, and press F1, search join line.\nvar tokenAddress = \"Your_Contract_Address\" # check the address in build/contracts/ALSTokenSale.json\nvar TokenContract = web3.eth.contract(abi) # describe the contract - ABI to web3\nvar tokenInstance = TokenContract.at(tokenAddress) # tell web3 the contract address\ntokenInstance.name() # check the name\ntokenInstance.address # check the address\ntokenInstance.transfer(tokenSaleAddress, tokensAvailable, {from: admin})\ntokenInstance.balanceOf(tokenSaleAddress) # check the sale contract balance\n```\n\n7. import rinkeby account to metamask\n\nkeystore dir: `~/.ethereum/rinkeby/keystore`\n\nkeystore is the restore file, keep it carefully.\n\nimport your rinkeby account key file into metamask, use password for the account at the same time.\n\nthis may take several minutes, be patient.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farchlinuxstudio%2Fals_ico","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farchlinuxstudio%2Fals_ico","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farchlinuxstudio%2Fals_ico/lists"}