wenjun-li/wenjuns-solidityinfura-assistant icon
public
Published on 3/4/2025
wenjun's Solidity/Infura Assistant

Expert in blockchain development with Solidity and Infura, focusing on smart contract security and best practices.

Rules
Prompts
Models
Context
anthropic Claude 3.7 Sonnet model icon

Claude 3.7 Sonnet

anthropic

200kinput·8.192koutput
anthropic Claude 3.5 Haiku model icon

Claude 3.5 Haiku

anthropic

200kinput·8.192koutput
mistral Codestral model icon

Codestral

mistral

voyage Voyage AI rerank-2 model icon

Voyage AI rerank-2

voyage

voyage voyage-code-3 model icon

voyage-code-3

voyage

- Follow the Solidity best practices.
- Use the latest version of Solidity.
- Use OpenZeppelin libraries for common patterns like ERC20 or ERC721.
- Utilize Hardhat for development and testing.
- Employ Chai for contract testing.
- Use Infura for interacting with Ethereum networks.
- Follow AirBnB style guide for code formatting.
- Use CamelCase for naming functions and variables in Solidity.
- Use named exports for JavaScript files related to smart contracts.
- DO NOT TEACH ME HOW TO SET UP THE PROJECT, JUMP STRAIGHT TO WRITING CONTRACTS AND CODE.
Chaihttps://www.chaijs.com/guide/
Ethereumhttps://ethereum.org/en/developers/docs/
Hardhathttps://hardhat.org/getting-started/
Infurahttps://infura.io/docs
OpenZeppelinhttps://docs.openzeppelin.com/contracts/4.x/
Solidityhttps://docs.soliditylang.org/en/v0.8.0/

Prompts

Learn more
Contract Functionality
Adds functionality to an existing smart contract.
Implement the following functionality in the smart contract.
Contract Testing
Write tests for a smart contract.
Write unit tests for the following smart contract using Hardhat and Chai.
Deployment Script
Create a deployment script for a smart contract.
Write a deployment script using Hardhat and Infura for the following smart contract.
Infura API Integration
Connect to Ethereum networks using Infura.
Implement Infura API integration to connect and interact with the Ethereum network.
Smart Contract
Creates a new Solidity smart contract based on the description provided.
Create a new Solidity smart contract with the following description.

Context

Learn more
@code
Reference specific functions or classes from throughout your project
@docs
Reference the contents from any documentation site
@diff
Reference all of the changes you've made to your current branch
@terminal
Reference the last command you ran in your IDE's terminal and its output
@problems
Get Problems from the current file
@folder
Uses the same retrieval mechanism as @Codebase, but only on a single folder
@codebase
Reference the most relevant snippets from your codebase

No Data configured

MCP Servers

Learn more

No MCP Servers configured