All Projects β†’ scaffold-eth β†’ scaffold-eth-typescript

scaffold-eth / scaffold-eth-typescript

Licence: MIT license
Typescript version of Scaffold-Eth πŸ—

Programming Languages

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

Projects that are alternatives of or similar to scaffold-eth-typescript

Awesome Buggy Erc20 Tokens
A Collection of Vulnerabilities in ERC20 Smart Contracts With Tokens Affected
Stars: ✭ 251 (+50.3%)
Mutual labels:  dapp
crypto-against-humanity
Crypto Against Humanity - The never ending global game of shame.
Stars: ✭ 23 (-86.23%)
Mutual labels:  dapp
octofi-app-aquafarm
OctoFi - Track your DeFi portfolio, find new investment opportunities, buy and sell directly, and wrap your tentacles around a sea of gains. Hosted on Github Pages.
Stars: ✭ 36 (-78.44%)
Mutual labels:  dapp
curso-blockchain-ethereum
[CURSO] Desenvolvimento Blockchain com Ethereum
Stars: ✭ 61 (-63.47%)
Mutual labels:  dapp
tasit-apps
Native mobile Ethereum dapps for mainstream users
Stars: ✭ 35 (-79.04%)
Mutual labels:  dapp
FranklinPay-iOS
Secure Dollar Wallet
Stars: ✭ 35 (-79.04%)
Mutual labels:  dapp
Frame
System-wide Web3 for macOS, Windows and Linux
Stars: ✭ 225 (+34.73%)
Mutual labels:  dapp
ArianeeMaster
Smart contracts & tools for Arianee Protocol
Stars: ✭ 30 (-82.04%)
Mutual labels:  dapp
atomic-markets
Generalized atomic swap marketplaces for ERC-777(advanced token standard) and ERC-721 (non-fungible tokens)
Stars: ✭ 30 (-82.04%)
Mutual labels:  dapp
nft-swap-sdk
Ethereum's missing p2p NFT and token swap library for web3 developers. Written in TypeScript. Powered by 0x.
Stars: ✭ 200 (+19.76%)
Mutual labels:  dapp
UniqysKit
Uniqys Kit - A toolkit for creating your own DApps
Stars: ✭ 33 (-80.24%)
Mutual labels:  dapp
trystero
🀝 Serverless WebRTC matchmaking for painless P2P β€” Make any site multiplayer in a few lines β€” Use BitTorrent, IPFS, or Firebase
Stars: ✭ 512 (+206.59%)
Mutual labels:  dapp
airswap-web
AirSwap Web App
Stars: ✭ 94 (-43.71%)
Mutual labels:  dapp
ContractSwift
Fully typed, autocompleted Ethereum Smart Contract in Swift
Stars: ✭ 26 (-84.43%)
Mutual labels:  dapp
qd-messages-ts
No ads, no tracking. Just a lightning fast peer-to-peer cross-platform messenger that doesn’t sell you out.
Stars: ✭ 22 (-86.83%)
Mutual labels:  dapp
Web3swift
Elegant Web3js functionality in Swift. Native ABI parsing and smart contract interactions.
Stars: ✭ 237 (+41.92%)
Mutual labels:  dapp
erebos
JavaScript client and CLI for Swarm
Stars: ✭ 47 (-71.86%)
Mutual labels:  dapp
talisman-web
Unlock the Paraverse with Talisman Web. A Polkadot, Kusama & Parachain dashboard for the community.
Stars: ✭ 55 (-67.07%)
Mutual labels:  dapp
circles-myxogastria
Webapp and mobile client for Circles
Stars: ✭ 32 (-80.84%)
Mutual labels:  dapp
Colony-Whitepaper
A document that describes the Colony Network
Stars: ✭ 17 (-89.82%)
Mutual labels:  dapp

πŸ— Scaffold-Eth Typescript

Features

This is the typescript repo of scaffold-eth. Use scaffold-eth-typescript with:

  • A react frontend running with nextjs or vite.
  • Solidity toolkit of hardhat or foundry
  • It has the a command line system that allows you to choose a react frontend or solidity toolkit

Quick Start

Fork or clone the repo

  • You can use the use the template link: scaffold-eth-typescript template
  • You can clone the repo with git
    git clone https://github.com/scaffold-eth/scaffold-eth-typescript.git

Starting the App

Running the app

  1. install your dependencies, open a new command prompt

    yarn install
  2. Create a default scaffold.config.json configuration file

    yarn create-config
  3. start a local hardhat node (chain)

    yarn chain
  4. Run the app, open a new command prompt terminal

    # in a new terminal
    # compile your contracts
    yarn compile
    # deploy your hardhat contracts
    yarn deploy
    # start the react app (vite)
    yarn start
  5. Open http://localhost:3000 to see your front end

Configuration

Scaffold uses scaffold.config.json as a configuration file located in /packages/common/scaffold.config.json. You can create the config file by running the command yarn create-config.

Command line help

use `-h` with any command for help.  e.g. yarn set-react -h

Configure react and solidity toolkit

You can change the configuration file to pick different frontends and solidity toolkits.

yarn set-react `nextjs` or `vite`
yarn set-solidity `hardhat` or `foundry`

Target network

Set your targetNetwork in the config. This is the network the solidity toolkit is deploying against.

Set your availableNetworks in the config. This is the networks the frontend is available in.

You can configure it from the config file or from command line.

yarn set-network -h
yarn set-network 'localhost' 'localhost, mainnet'

More commands

You can see all the other commands by using yarn scaffold

Solidity Tookits Details

Hardhat

Everything will be installed with yarn install.

You can use hardhat with right context using

yarn hardhat

Foundry

Make sure you install foundry

  1. Make sure you install foundry first. Use curl -L https://foundry.paradigm.xyz | bash to install foundryup

    You can see more details here. https://book.getfoundry.sh/getting-started/installation

  2. Run yarn install:foundry to install or update foundry in the right folder. It will also run forge install automatically with the right context.

You can use foundry commands with the right context

yarn forge
yarn anvil
yarn cast

Directories

The directories that you'll use are:

packages/solidity-ts/

And one of either:
packages/vite-app-ts/
packages/next-app-ts/

More Info

Other commands

# rebuild all contracts, incase of inconsistent state
yarn contracts:clean
yarn contracts:build
# run hardhat commands for the workspace, or see all tasks
yarn hardhat 'xxx'
# run forge, anvil or
yarn forge
yarn anvil
yarn cast

Other folders

# for subgraph checkout README.md in following directories
packages/subgraph/
packages/services/

Guides

Everything you need to build on Ethereum! πŸš€ Quickly experiment with Solidity using a frontend that adapts to your smart contract:

image

  • πŸ” Edit your smart contract YourContract.sol in packages/solidity-ts/contracts
  • πŸ“ Edit your frontend MainPage.tsx in packages/vite-app-ts/src
  • πŸ’Ό Edit your deployment scripts in packages/solidity-ts/deploy/hardhat-deploy
  • πŸ“± Open http://localhost:3000 to see the app
  • πŸ‘·πŸ½β€β™‚οΈ run yarn hardhat to get a list of all the tasks. Run yarn hardhat taskname to run the task.





Documentation

Check out eth-hooks docs for example of how to use hooks

Video Tutorials

Tutorial using the CLI

Eth-hooks v4 & scaffold-eth-typescript overview

πŸƒπŸ’¨ Speedrun Ethereum

Register as a builder here and start on some of the challenges and build a portfolio.

🏁 Make sure to click on the typescript tab!





Extra!

πŸ’¬ Support Chat

Join the telegram support chat πŸ’¬ to ask questions and find others building with πŸ— scaffold-eth!

πŸ›  Buidl

Check out

πŸ™πŸ½ Support us!

Please check out our Gitcoin grant too!

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].