MCPcopy Index your code
hub / github.com/dontpanicdao/starknet-burner

github.com/dontpanicdao/starknet-burner @v0.3.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.3.0 ↗ · + Follow
124 symbols 351 edges 80 files 5 documented · 4%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

A Key Manager to interact with Starknet accounts. Starknet burner allows to build mobile and web applications without any security compromise.

Warning ** Experimental Project **

This project is in alpha release. It has a number of limitation that should be lift progressively, including (1) the fact that it is limited to a simple plugin for now and (2) it has not yet been audited.

What is the Starknet Burner?

The Starknet Burner is a Key Manager, i.e. a library that you add to your application and helps users to manage keys that are not their regular signing keys. The way it works depends on the type of keys. For now, the burner manages session keys, i.e. keys that work with an account that has a plugin setup and have been authorized by the signer offline.

Why use the Starknet Burner?

See the Starknet Burner as a way to create and some temporary/limited keys that could be validated by your personal wallet like Argent-X for some specific purposes. What could you do with it?

  • You could use that key for a limited time to interact in an "auto-validating" scenario with a video game or some social engaging activities. This could only position at risk a small part of your assets.
  • You could provide the key to a third party, including friends, relatives or managed services to use it with a for a very specific case.
  • You could use it as part of a multi-party interaction with an service that could/would only approve a subset of conditions. For instance you could wire a monthly amount to a specific account
  • You would use it to access an account managed by a third party for some specific operations.

Ultimately, Starknet Burner is a project that would help people to experience the power of Starknet with the ease of regular web and mobile applications. Ideal to develop new experiences, the starknet burner has been built to improve user experience and help developers to participate with hackathons.

To use the starknet burner, check the Getting Started guide.

Special Thanks

  • Austin Griffith for the original starknet burner, dozens of projects and the many people he has brought to Ethereum. If one day you read these lines, you are an inspiration for so many of us.
  • Argent for the fantastic work they do daily to bring Argent-X to Starknet and work with Starkware and the community to build a better future.
  • @crema and @DrSpacemn for helping starting the project and providing some support before and during the Hackathon
  • 0xs34n for starting starknet.js and 0xjanek for maintening it as well a number of other javascript projects around Starknet.

Extension points exported contracts — how you extend this code

CallContractRequest (Interface)
(no doc)
burner/extension/src/lib/messages/provider.ts
GetClassAtRequest (Interface)
(no doc)
burner/extension/src/lib/messages/provider.ts
GetEstimateFeeRequest (Interface)
(no doc)
burner/extension/src/lib/messages/provider.ts
GetStorageAtRequest (Interface)
(no doc)
burner/extension/src/lib/messages/provider.ts
InvokeFunctionRequest (Interface)
(no doc)
burner/extension/src/lib/messages/provider.ts

Core symbols most depended-on inside this repo

sendMessage
called by 30
burner/extension/src/lib/messages/default.ts
notify
called by 28
burner/keyring/lib/handlers/index.js
waitForMessage
called by 22
burner/extension/src/lib/messages/default.ts
waitForMessage
called by 8
burner/extension/src/lib/messages/keyring.ts
log
called by 7
burner/extension/src/lib/inpage/window.ts
getLocalStorage
called by 6
burner/keyring/lib/handleLocalStorage.js
disconnectWindow
called by 6
burner/extension/src/lib/inpage/window.ts
log
called by 5
burner/keyring/lib/handlers/keyring.js

Shape

Function 102
Interface 8
Method 8
Struct 6

Languages

TypeScript80%
Go20%

Modules by API surface

burner/extension/src/lib/messages/provider.ts18 symbols
drone/api/data.go7 symbols
burner/extension/src/lib/messages/account.ts7 symbols
drone/api/data_test.go6 symbols
drone/api/dynamodb.go5 symbols
burner/extension/src/lib/messages/keyring.ts5 symbols
burner/extension/src/lib/inpage/window.ts5 symbols
starkpilled/components/Form.js4 symbols
plugin/scripts/sample.ts4 symbols
burner/extension/src/lib/messages/events.ts4 symbols
drone/api/route_test.go3 symbols
drone/api/route.go3 symbols

For agents

$ claude mcp add starknet-burner \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page