Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
ChainBuff
open-sol-bot
Repository navigation
Code
Issues
22
(22)
Pull requests
Actions
Wiki
Security and quality
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
open-sol-bot
/
example.config.toml
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
59 lines (49 loc) · 1.64 KB
main
Breadcrumbs
open-sol-bot
/
example.config.toml
Copy path
Top
File metadata and controls
Code
Blame
59 lines (49 loc) · 1.64 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[wallet]
private_key = ""
[monitor]
mode = "geyser" # wss or geyser
[rpc]
network = "mainnet-beta"
endpoints = [
"https://api.mainnet-beta.solana.com" # 多个 rpc 节点, 优先使用第一个
] # 多个 rpc 节点, 优先使用第一个
commitment = "finalized"
[rpc.geyser]
enable = true
endpoint = "solana-yellowstone-grpc.publicnode.com:443"
api_key = ""
[trading]
# prioritization fee = UNIT_PRICE * UNIT_LIMIT
unit_limit = 81000
unit_price = 3000000
preflight_check = false
tx_simulate = false
use_jito = true
# jito_api 可根据服务器地址选择,就近原则 https://docs.jito.wtf/lowlatencytxnsend/#api
jito_api = "https://mainnet.block-engine.jito.wtf"
[api]
helius_api_base_url = "https://api.helius.xyz/v0"
helius_api_key = ""
shyft_api_base_url = "https://api.shyft.to"
shyft_api_key = ""
pumpportal_api_data_url = "wss://pumpportal.fun/api/data"
solscan_api_base_url = "https://pro-api.solscan.io/v2.0"
solscan_api_key = ""
[db]
# 数据库连接配置
# 本地开发环境(从源码运行)使用以下配置:
mysql_url = "mysql+pymysql://root:root@127.0.0.1:3307/solana_trade_bot"
redis_url = "redis://127.0.0.1:6380/0"
# Docker 环境会通过环境变量自动覆盖为容器别名:
# DB__MYSQL_URL=mysql+pymysql://root:root@mysql:3306/solana_trade_bot
# DB__REDIS_URL=redis://redis:6379/0
[sentry]
enable = false
dsn = ""
traces_sample_rate = 1.0
[log]
level = "debug"
[tg_bot]
token = ""
mode = "private" # private or public, private 意味着机器人是私有的,只有使用激活码才能访问,public 意味着机器人公开,任何人都可以访问
manager_id = 5049063827 # 管理员 id,管理员无视激活码
You can’t perform that action at this time.