Giter Club home page Giter Club logo

dapp-token-ico's Introduction

Hi ๐Ÿ‘‹, I'm Dung Huynh Duc

A passionate engineer from Singapore

  • ๐Ÿ”ญ Iโ€™m currently working in AirCarbon

  • ๐Ÿ‘จโ€๐Ÿ’ป All of my projects are available at https://productsway.com

  • ๐Ÿ“ I regulary write articles on https://productsway.com

  • ๐Ÿ“ซ How to reach me [email protected]

  • ๐Ÿ“น I often publish my video every Sunday on IT Man Channel

    Most view videos on IT Man Channel

    IT Man - Tech #9 - Blockchain - DApp 101 - How to get started [Vietnamese]

    Published at 2021-08-15T08:13:08Z

    IT Man - Tech #9 - Blockchain - DApp 101 - How to get started [Vietnamese]

    IT Man - Tech #9 - Blockchain - DApp 101 - Know your tools [Vietnamese]

    Published at 2021-08-22T04:03:49Z

    IT Man - Tech #9 - Blockchain - DApp 101 - Know your tools [Vietnamese]

    IT Man - Talk #8 - Architecture for React applications 2021 [Vietnamese]

    Published at 2021-08-08T05:27:07Z

    IT Man - Talk #8 - Architecture for React applications 2021 [Vietnamese]

    IT Man - Talk #34 - Bye Bye #Docker Desktop [Vietnamese]

    Published at 2023-04-02T06:10:31Z

    IT Man - Talk #34 - Bye Bye #Docker Desktop [Vietnamese]

    IT Man - Talk #33 NeoVim as IDE [Vietnamese]

    Published at 2023-03-12T06:20:50Z

    IT Man - Talk #33 NeoVim as IDE [Vietnamese]

    ITMan - Tech #17 - Moleculer - Progressive microservices framework for Node.js [Vietnamese]

    Published at 2022-03-27T08:30:16Z

    ITMan - Tech #17 - Moleculer - Progressive microservices framework for Node.js [Vietnamese]

    IT Man - Tech #9 - Blockchain - DApp 101 - ICO Smart Contract [Vietnamese]

    Published at 2021-09-05T01:43:04Z

    IT Man - Tech #9 - Blockchain - DApp 101 - ICO Smart Contract [Vietnamese]

    IT Man - Tech #5 - NextJS Mini Course - Part 1 [Vietnamese]

    Published at 2021-04-25T07:42:50Z

    IT Man - Tech #5 - NextJS Mini Course - Part 1 [Vietnamese]

    IT Man - Tech #9 - Blockchain - DApp 101 - Create your own NFT token [Vietnamese]

    Published at 2021-09-12T08:27:26Z

    IT Man - Tech #9 - Blockchain - DApp 101 - Create your own NFT token [Vietnamese]

    IT Man - Tip #3 - Implement SEO with React [Vietnamese]

    Published at 2021-03-21T06:51:42Z

    IT Man - Tip #3 - Implement SEO with React [Vietnamese]

    IT Man - Talk #3 - How to prepare for ReactJS Interview [Vietnamese]

    Published at 2021-03-28T06:59:27Z

    IT Man - Talk #3 - How to prepare for ReactJS Interview [Vietnamese]

    IT Man - Tip #7 - DevBook - search engine for developers [Vietnamese]

    Published at 2021-07-11T14:29:36Z

    IT Man - Tip #7 - DevBook - search engine for developers [Vietnamese]

    IT Man - Tech #21 - A first look at Fresh - The next-gen web framework on the edge [Vietnamese]

    Published at 2022-06-19T02:29:53Z

    IT Man - Tech #21 - A first look at Fresh - The next-gen web framework on the edge [Vietnamese]

    IT Man - Tech 36 - #gRPC 101 [Vietnamese]

    Published at 2023-04-30T06:36:13Z

    IT Man - Tech 36 - #gRPC 101 [Vietnamese]

    IT Man - Tech #9 - Blockchain - DApp 101 - Interact with your Smart Contract [Vietnamese]

    Published at 2021-08-29T06:17:05Z

    IT Man - Tech #9 - Blockchain - DApp 101 - Interact with your Smart Contract [Vietnamese]

    IT Man - Talk #17 - Node.js Reference Architecture 2022 [Vietnamese]

    Published at 2022-04-10T05:08:11Z

    IT Man - Talk #17 - Node.js Reference Architecture 2022 [Vietnamese]

    IT Man - Tech #5 - NextJS Mini Course - Part 2 -Form with react-hook-form [Vietnamese]

    Published at 2021-05-02T07:40:29Z

    IT Man - Tech #5 - NextJS Mini Course - Part 2 -Form with react-hook-form [Vietnamese]

Connect with Me

Show your support

kofi paypal buymeacoffee

ITMan

dapp-token-ico's People

Contributors

jellydn avatar renovate-bot avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dapp-token-ico's Issues

Installation errors

Errors:

warning Error running install script for optional dependency: "/var/www/html/node_modules/node-hid: Command failed. Exit code: 1 Command: prebuild-install || node-gyp rebuild Arguments: Directory: /var/www/html/node_modules/node-hid Output: prebuild-install WARN install No prebuilt binaries found (target=14.19.1 runtime=node arch=x64 libc= platform=linux) gyp info it worked if it ends with ok gyp info using [email protected] gyp info using [email protected] | linux | x64 gyp info find Python using Python version 3.8.10 found at \"/usr/bin/python3\" gyp http GET https://nodejs.org/download/release/v14.19.1/node-v14.19.1-headers.tar.gz gyp http 200 https://nodejs.org/download/release/v14.19.1/node-v14.19.1-headers.tar.gz gyp http GET https://nodejs.org/download/release/v14.19.1/SHASUMS256.txt gyp http 200 https://nodejs.org/download/release/v14.19.1/SHASUMS256.txt gyp info spawn /usr/bin/python3 gyp info spawn args [ gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'make', gyp info spawn args '-I', gyp info spawn args '/var/www/html/node_modules/node-hid/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/root/.cache/node-gyp/14.19.1/include/node/common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/14.19.1', gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/14.19.1/<(target_arch)/node.lib', gyp info spawn args '-Dmodule_root_dir=/var/www/html/node_modules/node-hid', gyp info spawn args '-Dnode_engine=v8', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'build', gyp info spawn args '-Goutput_dir=.' gyp info spawn args ] gyp info spawn make gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] ../hidapi/linux/hid.c:44:10: fatal error: libudev.h: No such file or directory 44 | #include <libudev.h> | ^~~~~~~~~~~ compilation terminated. make: *** [hidapi-linux-hidraw.target.mk:111: Release/obj.target/hidapi-linux-hidraw/hidapi/linux/hid.o] Error 1 gyp ERR! build error gyp ERR! stack Error: makefailed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:400:28) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12) gyp ERR! System Linux 5.4.0-29-generic gyp ERR! command \"/usr/bin/node\" \"/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\" gyp ERR! cwd /var/www/html/node_modules/node-hid gyp ERR! node -v v14.19.1 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok $ husky install husky - Git hooks installed Done in 402.43s.

Node JS v14.19.1

Cannot upload on vercel or netift

Describe the bug

I have deployed the contracts on mainnet but cannot be used on thr app. i cant upload the web on vercel or netify, its crashing on build

Reproduction

Deployment

System Info

Error

Used Package Manager

yarn

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Sales with no token

Hello, I follow your project for a while trying to understand the case and implicit assumptions, since there is not much documentation about the possible types of token funding sale events. There are a few training organizations but everyone solves an specific case and does not mention other possibilities.

In particular, I see that your case assumes both, a token and an icotoken, exists. This line in your icotoken requires an existing token https://github.com/jellydn/dapp-token-ico/blob/main/contracts/ITManTokenCrowdsale.sol#L19
also I think your project is designed to be run on mainnet.

However, in theory there is a previous case where the company wants to run a sale event but they do not have a token yet. This case of sale event would be run in a testnet (eg ropsten), funds would be send to the icotoken and after transferred to a wallet and balances will be added by default when the token is after created. I find this token sale case useful when the company has the idea but has not the resources to materialize the idea in a concrete token. I see a big risk creating a token expecting to last for years without change when you do not even have the company funded.

2 examples of the case I refer to:
https://github.com/ValladolidBlockchain/Token-ICO/blob/master/contracts/tokenVallCoin.sol
https://github.com/Vibes-INS/ico-hardhat/blob/master/contracts/Ico.sol
as you can see there is not token inside the icotoken and the only purpose is to transfer to the promoters wallet.

So, where do you thing this case of token sales with not token fit? Is this case covered in your work?

Thanks for sharing you work.

Buy button rate more than 2500

Hi sir

thanks for your job, if you increase the rate to more than 2500 wei in the script the buy button didnt work in the dapp. i tried with 4000 value.

Altough the contract could get directly BNB and make the exchange rate of token in the correct way.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • chore(deps): update dependency solhint to v5

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

npm
package.json
  • @tailwindcss/typography 0.5.10
  • @web3-react/core 6.1.9
  • @web3-react/injected-connector 6.0.7
  • @web3-react/network-connector 6.2.9
  • @web3-react/walletconnect-connector 6.2.13
  • daisyui 4.6.0
  • loglevel 1.8.1
  • react 18.2.0
  • react-dom 18.2.0
  • react-hot-toast 2.4.1
  • react-query 4.0.0-beta.23
  • web3-react 5.0.5
  • @nomicfoundation/hardhat-ethers 3.0.5
  • @nomicfoundation/hardhat-verify 2.0.3
  • @nomiclabs/hardhat-ethers 2.2.3
  • @nomiclabs/hardhat-etherscan 3.1.8
  • @nomiclabs/hardhat-waffle 2.0.6
  • @openzeppelin/contracts 4.9.6
  • @openzeppelin/contracts-upgradeable 4.9.5
  • @openzeppelin/hardhat-upgrades 1.28.0
  • @trivago/prettier-plugin-sort-imports 4.3.0
  • @typechain/ethers-v5 11.1.2
  • @typechain/hardhat 9.1.0
  • @types/mocha 10.0.6
  • @types/react 18.2.47
  • @types/react-dom 18.2.18
  • @typescript-eslint/eslint-plugin 6.18.1
  • @typescript-eslint/parser 6.18.1
  • @vitejs/plugin-react-refresh 1.3.6
  • autoprefixer 10.4.16
  • chai 4.4.1
  • dotenv 16.3.1
  • eslint 8.56.0
  • eslint-config-productsway 1.3.1
  • ethereum-waffle 4.0.10
  • ethers 5.7.2
  • hardhat 2.19.4
  • hardhat-gas-reporter 1.0.9
  • husky 8.0.3
  • lint-staged 15.2.0
  • postcss 8.4.33
  • prettier 3.2.2
  • prettier-plugin-solidity 1.3.1
  • rustywind 0.21.0
  • solgraph 1.0.2
  • solhint 4.1.1
  • solidity-coverage 0.8.5
  • sort-package-json 2.6.0
  • tailwindcss 3.4.1
  • typechain 8.3.2
  • typescript 5.3.3
  • vite 5.0.13
  • node >=18.12.0
  • yarn 1.22.21
nvm
.nvmrc

  • Check this box to trigger a request for Renovate to run again on this repository

Please

Hi, sorry for writing here.
Please write the instructions in more detail how to run this app
Thnx

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.