{"id":20278576,"url":"https://github.com/masdxi/ampersand","last_synced_at":"2025-05-07T17:30:30.500Z","repository":{"id":108864888,"uuid":"386215014","full_name":"MASDXI/Ampersand","owner":"MASDXI","description":"Ampersand Factory contract for creating token with low gas cost deployment, by clone contract functionality/logic.","archived":true,"fork":false,"pushed_at":"2022-05-05T02:48:59.000Z","size":302,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T01:44:32.474Z","etag":null,"topics":["blockchain","ethereum","smart-contracts","solidity"],"latest_commit_sha":null,"homepage":"","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/MASDXI.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":"2021-07-15T08:13:58.000Z","updated_at":"2024-12-19T03:12:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"52a63e5b-a3bc-447d-ba7c-1743827fbbbd","html_url":"https://github.com/MASDXI/Ampersand","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/MASDXI%2FAmpersand","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MASDXI%2FAmpersand/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MASDXI%2FAmpersand/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MASDXI%2FAmpersand/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MASDXI","download_url":"https://codeload.github.com/MASDXI/Ampersand/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252926472,"owners_count":21826318,"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","ethereum","smart-contracts","solidity"],"created_at":"2024-11-14T13:24:10.810Z","updated_at":"2025-05-07T17:30:30.446Z","avatar_url":"https://github.com/MASDXI.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🔣 Ampersand\n\n### About Ampersand\n\nAmpersand focusing to develop smart contract that robustness cheap and easy for everyone!\n\n### ERC721\n\nAmpersand provide user can create their own ERC721 Token without any single line of code with preset of functionality that's really needed with cheaper transaction fees.\n\n| Contract      |   Gas used | Transaction fee (ETH) |\n| :------------ | ---------: | --------------------: |\n| FactoryNaive  | ~3,119,849 |        ~0.1559925 ETH |\n| FactoryClone  | ~3,710,122 |        ~0.1855061 ETH |\n| ERC721Default | ~2,489,577 |        ~0.1244788 ETH |\n| ERC721Naive   | ~3,376,344 |        ~0.1688172 ETH |\n| ERC721        |   ~697,796 |        ~0.0348898 ETH |\n\nreduce around 70% of gas used\n\n##### \\*\\* gas price in table is 50 gwei\n\n## Required Software\n\n- node [Download](https://nodejs.org/en/)\n- nvm [Download](https://github.com/nvm-sh/nvm#installing-and-updating)\n- git [Download](https://git-scm.com/)\n\nclone repository\n\n```shell\ngit clone https://github.com/MASDXI/TokenFactory.git\n```\n\nIf you don't have a yarn. Install yarn by the command below.\n\n```shell\nnpm install --global yarn\n```\n\nfor installing dependencies with yarn using command.\n\n```shell\nyarn install\n```\n\nProject directory structure\n\n```\n.\n├── contracts\n│   ├── ERC721Preset.sol\n│   ├── IFactoryClone.sol\n│   └── FactoryClone.sol\n├── docs\n│   └── ERC20.md\n├── hardhat.config.js\n├── LICENSE\n├── package.json\n├── package-lock.json\n├── README.md\n├── scripts\n│   ├── deploy-local.sol\n│   ├── deploy-testnet.sol\n│   └── deploy-mainet.js\n├── test\n│   ├── erc721preset.test.js\n│   ├── intregrate.test.js\n│   └── factoryclone.test.js\n└── yarn.lock\n```\n\nThis project demonstrates an advanced Hardhat use case, integrating other tools commonly used alongside Hardhat in the ecosystem.\n\nThe project comes with a sample contract, a test for that contract, a sample script that deploys that contract, and an example of a task implementation, which simply lists the available accounts. It also comes with a variety of other tools, preconfigured to work with the project code.\n\nTry running some of the following tasks: `yarn`\n\n```bash\n# cleaning\nyarn clean\n# compile\nyarn compile\nyarn coverage\n# testing\nyarn test:factory\nyarn test:erc721\nyarn test:rpc\n# deployment\nyarn deploy:hardhat\nyarn deploy:ropsten\nyarn deploy:rinkeby\nyarn deploy:mainnet\n# verify\nyarn verify:ropsten\nyarn verify:rinkeby\nyarn verify:mainnet\n# format\nyarn eslint\nyarn eslint-fix\nyarn prettier\nyarn prettier-fix\nyarn solhint\nyarn solhint-fix\n```\n\n## Etherscan verification\n\nTo try out Etherscan verification, you first need to deploy a contract to an Ethereum network that's supported by Etherscan, such as Ropsten.\n\nIn this project, copy the .env.template file to a file named .env, and then edit it to fill in the details. Enter your Etherscan API key, your Ropsten node URL (eg from Alchemy), and the private key of the account which will send the deployment transaction. With a valid .env file in place, first deploy your contract:\n\n```bash\n# available on package.json script\n# option local, ropsten, rinkeby, mainet\nyarn deploy:NETWORK\n```\n\nThen, copy the deployment address and paste it in to replace `DEPLOYED_CONTRACT_ADDRESS` in this command:\n\n```bash\n# you need to verify FactoryClone and ERC721Preset\nyarn verify:mainet DEPLOYED_CONTRACT_ADDRESS\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasdxi%2Fampersand","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmasdxi%2Fampersand","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasdxi%2Fampersand/lists"}