Initial commit: smart contract templates for bash, go, python, and typescript
This commit is contained in:
24
bash/config.yaml
Normal file
24
bash/config.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
# Smart Contract Client Configuration
|
||||
# Copy this file and fill in your values
|
||||
|
||||
# The gRPC server address to connect to
|
||||
server_address: "localhost:50051"
|
||||
|
||||
# Your smart contract ID (provided by Dragonchain)
|
||||
smart_contract_id: "your-smart-contract-id"
|
||||
|
||||
# API key for authentication (provided by Dragonchain)
|
||||
api_key: "your-api-key"
|
||||
|
||||
# Whether to use TLS for the connection
|
||||
use_tls: false
|
||||
|
||||
# Path to TLS certificate (required if use_tls is true)
|
||||
# tls_cert_path: "/path/to/cert.pem"
|
||||
|
||||
# Number of worker threads for processing transactions concurrently
|
||||
num_workers: 10
|
||||
|
||||
# Reconnect settings
|
||||
reconnect_delay_seconds: 5
|
||||
max_reconnect_attempts: 0 # 0 = infinite retries
|
||||
Reference in New Issue
Block a user