Skip to content

Commit

Permalink
Contracts and web templates (#63)
Browse files Browse the repository at this point in the history
* merge templates

* git ignore

* readme

* remove tip

* update

* wip

* wip

* add tailwind
  • Loading branch information
fadeev authored Jul 26, 2024
1 parent f1b990d commit 2a5ae8a
Show file tree
Hide file tree
Showing 27 changed files with 8,570 additions and 32 deletions.
30 changes: 0 additions & 30 deletions README.md

This file was deleted.

File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions .gitignore → contracts/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ cache
artifacts

# Foundry files
out/
cache_forge/
out
cache_forge

access_token
File renamed without changes.
15 changes: 15 additions & 0 deletions contracts/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# ZetaChain Contracts Template

## Getting Started

Install dependencies:

```
yarn
```

## Next Steps

Ready to dive in? Follow our [**🚀 smart contract
tutorials**](https://www.zetachain.com/docs/developers/tutorials/intro/) to
start building universal app contracts.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
50 changes: 50 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# ZetaChain Template

[ZetaChain](https://www.zetachain.com) is a blockchain for [universal
apps](https://www.zetachain.com/docs/developers/apps/intro/) that span across
any blockchain, from Ethereum and Cosmos to Bitcoin and beyond.

This template is designed to help developers quickly set up and build universal
applications on ZetaChain, providing a structured starting point with
pre-configured tools and libraries.Our templates and tools are designed to give
you a great developer experience, so you can focus more on building and less on
setup.

# Prerequisites

- Node.js
- `npm` or `yarn`

## Getting Started

```
git clone https://github.com/zeta-chain/template
```

## Project Structure

### Contracts

The [`contracts`](contracts) directory contains a smart contract template that
uses Solidity and Hardhat and is compatible with Foundry. The contracts template
leverages [`@zetachain/toolkit`](https://github.com/zeta-chain/toolkit) for
helpers, tools, and tasks.

Ready to dive in? Follow our [**🚀 smart contract
tutorials**](https://www.zetachain.com/docs/developers/tutorials/intro/) to
start building universal app contracts.

### Web

The [`web`](web) directory contains a web template that uses Next.js,
RainbowKit, and Wagmi. The web template utilizes the
[`@zetachain/universalkit`](https://github.com/zeta-chain/universalkit)
component library.

To kick off your web app development, check out our [**🌎 frontend
tutorials**](https://www.zetachain.com/docs/developers/frontend/universalkit/).

## Contributing

We welcome contributions to improve this template! Please fork the repository
and submit a pull request.
38 changes: 38 additions & 0 deletions web/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# local env files
.env.local
.env.development.local
.env.test.local
.env.production.local

# vercel
.vercel

# typescript
*.tsbuildinfo
Loading

0 comments on commit 2a5ae8a

Please sign in to comment.