
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
@consensys/create-web3-template
Advanced tools
This is a CLI tool that scaffolds Next.js and React projects with a focus on Web3 development.
This is a CLI tool that scaffolds Next.js and React projects with a focus on Web3 development.
To create a new project using the Web3 Template CLI, run one of the following commands:
Using pnpm:
pnpm create @consensys/create-web3-template [project-name]
Using npx:
npx @consensys/create-web3-template [project-name]
After running the command, the CLI will guide you through the setup process with the following prompts:
npx @consensys/create-web3-template my-web3-project
The generated project will have the following structure:
my-web3-project/
āāā packages/
ā āāā blockchain/ # Smart contracts and blockchain tooling
ā āāā site/ # Frontend application (Next.js or React)
āāā pnpm-workspace.yaml (if using pnpm)
āāā package.json
āāā .gitignore
Navigate to your project directory and install the dependencies:
cd my-web3-project
# If you chose pnpm
pnpm install
# If you chose npm
npm install
# If you chose yarn
yarn install
Navigate to the blockchain
package to work on your smart contracts.
cd packages/blockchain
Navigate to the site
package to run your frontend application.
cd packages/site
# Start the development server
# Using pnpm
pnpm run dev
# Using npm
npm run dev
# Using yarn
yarn dev
The development server will start, and you can view your application in the browser.
The project includes a default Wagmi configuration for connecting to the Linea Testnet. You can find this configuration in the wagmi.config.ts
file in your frontend application:
import { http, createConfig } from "wagmi";
import { lineaTestnet } from "wagmi/chains";
import { metaMask } from "wagmi/connectors";
export const config = createConfig({
chains: [lineaTestnet],
connectors: [metaMask()],
transports: {
[lineaTestnet.id]: http(),
},
});
Feel free to modify this configuration to connect to different networks or use different connectors.
This project uses a monorepo structure to keep your frontend and backend code organized and in sync.
pnpm-workspace.yaml
file is included to manage the monorepo packages.blockchain
and site
) can have its own scripts. Navigate into each package directory to run and manage scripts specific to that package.After project creation, you can customize the setup according to your needs:
Contributions are welcome! If you have suggestions or find issues, please open an issue or submit a pull request.
This project is licensed under the MIT License.
FAQs
This is a CLI tool that scaffolds Next.js and React projects with a focus on Web3 development.
The npm package @consensys/create-web3-template receives a total of 1 weekly downloads. As such, @consensys/create-web3-template popularity was classified as not popular.
We found that @consensys/create-web3-template demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Ā It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.