Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Hackerpack to get started with Micro-rollups

NotificationsYou must be signed in to change notification settings

stackrlabs/hackerpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📦Stackr Hackerpack is a collection of tools and libraries to help you build decentralized applications on the Stackr ecosystem. It includes a basic Counter micro-rollup and a companion Next.js frontend to help you get started with your project.

🛠️ Built using Stackr's SDK, NextJS, Privy, Wagmi and Viem.

  • 💭Opinionated APIs: The included micro-rollup has a server exposed with some opinionated endpoints to get started easily.
  • 🪝Frontend hooks: Hooks that makes it breezy to submit actions to Micro-rollup.
  • 🔐Embedded Wallet: We have pre-configured Privy in this example, that can be easily extended to support in-browser wallets as wells as Embedded wallets linked to other identity providers.

Requirements

Below are the requirements to get started with the pack:

Get Started

To quickly get started, you can clone this repository and follow the steps below:

  1. Clone the repository
git clone git@github.com:stackrlabs/hackerpack.git# OR if you want to clone particular branch, use command like belowgit clone -b<branch> git@github.com:stackrlabs/hackerpack.git
  1. Initialize the project by running the setup script
cd hackerpack./setup.sh
  1. Run the project withmprocs
npm run dev

This sets up the micro-rollup and the web app to run concurrently. You can now visithttp://localhost:3000 to see the web app in action and interact with the rollup by sending actions.

By defaultRollup runs on port3210Web App runs on port3000

Caution

The project comes initialized with a default private key and Privy appId. It is strongly recommended to replace these with your own values incounter/.env andweb/.env files respectively before deploying your application.

Documentation 📕

Checkout ourdocs to learn more about Micro-rollups, the Stackr ecosystem, and how to get started with new era of decentralized applications.

Wallet Setups ⚙️

This repo has been setup withPrivy, and we have included three modes of wallet setups:

ModeDescriptionBranchDeployment
Embedded Wallet with non-custodial wallet AuthUses Privy's embedded wallet to sign transactions (signing pop-up can be suppressed)mainTry it
Embedded Wallet with Social/Email AuthUses Privy's embedded wallet to sign transactions (signing pop-up can be suppressed)socialTry it
Using non-custodial walletUses your wallet to sign transactions (requires pop-up)non-custodialTry it

Hosting ☁️

  • Frontend: You can deploy the NextJS application to Vercel, Netlify,GitHub Pages or even other providers likeAWS Amplify etc.

  • Micro-rollup: We have extensive guidehere

More Micro-rollups 🤝

Refer to theawesome-micro-rollups for a curated list of applications leveraging Micro-rollups.

For more information, you can reach out to us on ourDiscord.

About

Hackerpack to get started with Micro-rollups

Topics

Resources

Stars

Watchers

Forks

Contributors5


[8]ページ先頭

©2009-2025 Movatter.jp