All Projects → nickytonline → web3-starter

nickytonline / web3-starter

Licence: other
An opinionated web3 starter for building dApps

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
solidity
1140 projects
shell
77523 projects

Projects that are alternatives of or similar to web3-starter

oracles-contract
New version of POA Network consensus contracts is here: https://github.com/poanetwork/poa-network-consensus-contracts
Stars: ✭ 25 (-62.69%)
Mutual labels:  dapp, solidity-contracts, solidity-dapps
Awesome Solidity
⟠ A curated list of awesome Solidity resources, libraries, tools and more
Stars: ✭ 3,078 (+4494.03%)
Mutual labels:  web3, solidity-contracts, solidity-dapps
eth-commerce
Javascript library to accept ethereum payments on any website
Stars: ✭ 24 (-64.18%)
Mutual labels:  dapp, web3
etherbrite
🗓 Clone eventbrite on Ethereum, built in Solidity, TruffleJS, Web3js and React/Redux.
Stars: ✭ 19 (-71.64%)
Mutual labels:  web3, solidity-contracts
eth-sdk
Type-safe, lightweight SDKs for Ethereum smart contracts
Stars: ✭ 283 (+322.39%)
Mutual labels:  dapp, web3
cyberevents
The protocol for EVENTs and TICKETs
Stars: ✭ 16 (-76.12%)
Mutual labels:  dapp, web3
MultiDexArbBot
This is an arbitrage bot that uses existing price aggregators such as 1inch, Paraswap, dex.ag, matcha and more to get the best exchange rates across different decentralized exchanges on different blockchains and ecosystems.
Stars: ✭ 67 (+0%)
Mutual labels:  dapp, web3
nft-app
How to create your own NFT and mint NFT token
Stars: ✭ 145 (+116.42%)
Mutual labels:  dapp, web3
contracts
Contracts for FundRequest (platform, token, crowdsale)
Stars: ✭ 56 (-16.42%)
Mutual labels:  dapp, solidity-contracts
wagmi
React Hooks for Ethereum
Stars: ✭ 1,691 (+2423.88%)
Mutual labels:  dapp, web3
Astar
The dApp hub for blockchains of the future
Stars: ✭ 533 (+695.52%)
Mutual labels:  dapp, web3
uniswap-arbitrage-flash-swap
Uniswap flash swap arbitrage solidity contracts
Stars: ✭ 341 (+408.96%)
Mutual labels:  web3, solidity-contracts
openzeppelin-network.js
An easy to use and reliable library that provides one line access to Web3 API.
Stars: ✭ 45 (-32.84%)
Mutual labels:  dapp, web3
typescript-eth-starter
🔌 Ethereum Dapp Basic Typescript Starter
Stars: ✭ 125 (+86.57%)
Mutual labels:  dapp, web3
ton-client-js
Everscale Javascript SDK
Stars: ✭ 60 (-10.45%)
Mutual labels:  dapp, web3
starter-kit-gsn
An OpenZeppelin starter kit focused on GSN.
Stars: ✭ 39 (-41.79%)
Mutual labels:  dapp, web3
open-api
api.openfuture.io
Stars: ✭ 41 (-38.81%)
Mutual labels:  dapp, solidity-contracts
foodprint
Algorand dApp for blockchain-enabled food transparency and traceability in local food supply chains. For use by smallholder farmers, food co-operatives and consumers.
Stars: ✭ 43 (-35.82%)
Mutual labels:  dapp, web3
kleros-api-DEPRECATED
A Javascript library that makes it easy to build relayers and other DApps that use the Kleros protocol. DEPRECATED use https://github.com/kleros/archon for interfacing with standard arbitration contracts.
Stars: ✭ 20 (-70.15%)
Mutual labels:  dapp, web3
web3-webpacked
Drop-in web3 solution for single-page Ethereum dApps
Stars: ✭ 36 (-46.27%)
Mutual labels:  dapp, web3

Web3 Starter

The goal of this project is to give you an opinionated boilerplate to start a web3 project.

Contributing

If you are interested in contributing to the project, first read our contributing guidelines. Take a look at our existing issues, or if you come across an issue, create an issue. For feature requests, start a discussion first.

Getting Started (Local Development)

  1. Install the dependencies

    npm install
    # or
    yarn
  2. Start the project

    npm run dev
    # or
    yarn dev

Open http://localhost:3000 with your browser to see the result.

Getting Started (Gitpod)

The project can be run in Gitpod. Navigate to https://gitpod.io/#https://github.com/nickytonline/hello-edge-and-node. If you wish to load it in Gitpod as an external contributor, you will need to fork the project first, then open the fork in Gitpod, e.g. https://gitpod.io/#https://github.com/some_user_that_forked_the_repository/hello-edge-and-node.

  1. Gitpod will take a minute or two to load.
  2. If this is the first time loading the project in Gitpod, it will take longer as all the npm packages are installing.
  3. The project wil start automatically in developer mode and the app will load in the Gitpod preview window.

For move information on Gitpod, check out the Gitpod documentation.

Running tests

The project uses jest. For more information on jest, see the official documentation.

To run tests:

npm test
# or
yarn test

To run tests in watch mode:

npm test:watch
# or
yarn test:watch

Building out components

When building out components in the project, shared components can go in the components folder. Components can then be imported using the @components alias, e.g. import { ExampleHeader } from '@components/Header';.

Storybook

The project uses Storybook for building our components. For more on Storybook, see the official documentation.

Running Storybook

npm run storybook
# or
yarn storybook

Building Storybook Static Site

npm run build-storybook
# or
yarn build-storybook

Under the hood

Basic Sample Hardhat Project

This project demonstrates a basic Hardhat use case. It 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.

Try running some of the following tasks:

npx hardhat accounts
npx hardhat compile
npx hardhat clean
npx hardhat test
npx hardhat node
node scripts/sample-script.js
npx hardhat help

Unlike jest, tests for Hardhat are located in the /test folder and use mocha/chai.

For more on Hardhat, see the official documentation.

Next.js

This is a Next.js project bootstrapped with create-next-app.

You can start editing the page by modifying pages/index.tsx. The page auto-updates as you edit the file.

API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.ts.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Apollo

For more on Apollo, check out their official documentation.

Ethers.js

For more on Ethers.js, check out their official documentation.

Theme UI

For more on theme UI, check out their official documentation.

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].