Code Monkey home page Code Monkey logo

rpc-request-builder's Introduction

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

rpc-request-builder's People

Contributors

jelilat avatar dhirajs0 avatar saimeunt avatar prabhat1308 avatar richa-iitr avatar

Stargazers

 avatar AVIRAL GUPTA avatar Abhijay Jain avatar Harshita Deep avatar Musa AbdulKareem avatar

Watchers

Jeffry Degrande avatar ნიკა avatar Kirill avatar Pawel Nowosielski avatar Amirul Ashraf avatar Eduard avatar  avatar Edgar Barrantes avatar Piotr Piwoński avatar Osakpolor Obaseki avatar  avatar  avatar  avatar  avatar

rpc-request-builder's Issues

Support remove option

The builder currently lets you "Add another option" but there's no way to remove an option. We should include a way to remove an option.

Screenshot 2024-03-19 at 19 17 00

Add missing starknet.js code

The following endpoints have missing starknet.js code

  • starknet_call
  • starknet_estimateFee
  • starknet_estimateMessageFee
  • starknet_addInvokeTransaction
  • starknet_addDeclareTransaction
  • starknet_addDeployAccountTransaction
  • starknet_simulateTransactions

Implement `starknet.go` support for transaction endpoints

Current State

The RPC Request Builder autogenerates starknet.go code snippets for StarkNet RPC endpoints. However, some endpoints are not yet supported.

Required Action

Add autogenerated starknet.go support for the following endpoints.

  • starknet_getTransactionStatus
  • starknet_getTransactionByHash
  • starknet_getTransactionByBlockIdAndIndex
  • starknet_getTransactionReceipt
  • starknet_getBlockTransactionCount
  • starknet_getEvents

Additional Context:

API Key and Endpoint State Reset on Page Refresh

Issue Description:

In the rpc-request-builder, there's an issue observed where, upon initially inserting an API key and selecting an endpoint, the functionality works as expected. However, upon refreshing the page, the API key reverts to empty in the input value, and the endpoint reverts to its initial state.

Expected Behavior:

It would be beneficial to maintain the state of the API key and selected endpoint even after a page refresh. This would enhance the user experience by eliminating the need to re-enter information after each refresh.

Steps to Reproduce:

  • Open the rpc-request-builder.
  • Input an API key and select an endpoint.
  • Refresh the page.
  • Observe that the API key becomes empty, and the endpoint reverts to the initial state.

Additional Information:

Starknet.JSON-RPC.Request.Builder.mp4

cc : @jelilat

Add starknet.go support

The RPC Request Builder currently autogenerates starknet.js code snippets for each Starknet RPC endpoint. We need to do the same for starknet.go. The Screenshot below shows an autogenerated code for starknet_specVersion. This should also be done for all the remaining RPC endpoints.

Screenshot 2024-02-15 at 11 38 08

Guide:

Update README

Replace the autogenerated Nextjs README with an appropriate project description and starter guide.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.