Skip to content

hogyzen12/jitoBlinkActions

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forking the example repo. Donations do not land as there is no prio etc.. out the box This repo implements a new donations endpoint for blinks using Jito Donations are sent via Jito, and have the built in tip for priority present.

The enhanced util transactions code adds the necessarry instructions to make it a valid jito tx and posts it.

Happy hacking !!

@dialectlabs/actions

This repository contains reference implementations of Solana Actions using Hono.

Getting Started

First, run the development server:

npm install
npm run dev

How To

Actions Development

  1. See Jupiter Swap Action example
  2. Build your own action
    • Use specified openapi responses from openapi.ts for your POST, GET methods
    • Use specified openapi body from openapi.ts for your POST methods
  3. Add your router to index.ts

Swagger UI

Open http://localhost:3000/swagger-ui with your browser to explore actions.

Unfurl action into a Blink

To check and unfurl your or existing action open https://actions.dialect.to/
e.g action for swap on Jupiter: localhost:3000/api/jupiter/swap/SOL-Bonk

Learn More

To learn more about Hono, take a look at the following resources:

About

Testing solana Blinks and adding features

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%