mirror of
https://github.com/chainstacklabs/pumpfun-bonkfun-bot.git
synced 2026-08-16 08:48:04 +00:00
fix(examples): module path
This commit is contained in:
@@ -2,6 +2,7 @@ import asyncio
|
|||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
import struct
|
import struct
|
||||||
|
import sys
|
||||||
|
|
||||||
import base58
|
import base58
|
||||||
import grpc
|
import grpc
|
||||||
@@ -20,6 +21,7 @@ from spl.token.instructions import (
|
|||||||
get_associated_token_address,
|
get_associated_token_address,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
|
||||||
from src.geyser.generated import (
|
from src.geyser.generated import (
|
||||||
geyser_pb2,
|
geyser_pb2,
|
||||||
geyser_pb2_grpc,
|
geyser_pb2_grpc,
|
||||||
|
|||||||
Reference in New Issue
Block a user