mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-02 17:31:39 +00:00
- **refactor: remove unused auth components** - **refactor: improve devbox configuration and deployment process** - **refactor: improve devnet and testnet setup** - **fix: update templ version to v0.2.778** - **refactor: rename pkl/net.matrix to pkl/matrix.net** - **refactor: migrate webapp components to nebula** - **refactor: protobuf types** - **chore: update dependencies for improved security and stability** - **feat: implement landing page and vault gateway servers** - **refactor: Migrate data models to new module structure and update related files** - **feature/1121-implement-ucan-validation** - **refactor: Replace hardcoded constants with model types in attns.go** - **feature/1121-implement-ucan-validation** - **chore: add origin Host struct and update main function to handle multiple hosts** - **build: remove unused static files from dwn module** - **build: remove unused static files from dwn module** - **refactor: Move DWN models to common package** - **refactor: move models to pkg/common** - **refactor: move vault web app assets to embed module** - **refactor: update session middleware import path** - **chore: configure port labels and auto-forwarding behavior** - **feat: enhance devcontainer configuration** - **feat: Add UCAN middleware for Echo with flexible token validation** - **feat: add JWT middleware for UCAN authentication** - **refactor: update package URI and versioning in PklProject files** - **fix: correct sonr.pkl import path** - **refactor: move JWT related code to auth package** - **feat: introduce vault configuration retrieval and management** - **refactor: Move vault components to gateway module and update file paths** - **refactor: remove Dexie and SQLite database implementations** - **feat: enhance frontend with PWA features and WASM integration** - **feat: add Devbox features and streamline Dockerfile** - **chore: update dependencies to include TigerBeetle** - **chore(deps): update go version to 1.23** - **feat: enhance devnet setup with PATH environment variable and updated PWA manifest** - **fix: upgrade tigerbeetle-go dependency and remove indirect dependency** - **feat: add PostgreSQL support to devnet and testnet deployments** - **refactor: rename keyshare cookie to token cookie** - **feat: upgrade Go version to 1.23.3 and update dependencies** - **refactor: update devnet and testnet configurations** - **feat: add IPFS configuration for devnet** - **I'll help you update the ipfs.config.pkl to include all the peers from the shell script. Here's the updated configuration:** - **refactor: move mpc package to crypto directory** - **feat: add BIP32 support for various cryptocurrencies** - **feat: enhance ATN.pkl with additional capabilities** - **refactor: simplify smart account and vault attenuation creation** - **feat: add new capabilities to the Attenuation type** - **refactor: Rename MPC files for clarity and consistency** - **feat: add DIDKey support for cryptographic operations** - **feat: add devnet and testnet deployment configurations** - **fix: correct key derivation in bip32 package** - **refactor: rename crypto/bip32 package to crypto/accaddr** - **fix: remove duplicate indirect dependency** - **refactor: move vault package to root directory** - **refactor: update routes for gateway and vault** - **refactor: remove obsolete web configuration file** - **refactor: remove unused TigerBeetle imports and update host configuration** - **refactor: adjust styles directory path** - **feat: add broadcastTx and simulateTx functions to gateway** - **feat: add PinVault handler**
203 lines
4.6 KiB
Plaintext
203 lines
4.6 KiB
Plaintext
import "https://pkl.sh/ipfs.net/0.0.1/Config.pkl"
|
|
|
|
API {
|
|
HTTPHeaders {
|
|
`Access-Control-Allow-Origin` = new { "*" }
|
|
}
|
|
}
|
|
|
|
Addresses {
|
|
API = "/ip4/127.0.0.1/tcp/5001"
|
|
Gateway = "/ip4/127.0.0.1/tcp/8080"
|
|
Swarm = new {
|
|
"/ip4/0.0.0.0/tcp/4001"
|
|
"/ip6/::/tcp/4001"
|
|
"/ip4/0.0.0.0/udp/4001/quic"
|
|
"/ip6/::/udp/4001/quic"
|
|
}
|
|
}
|
|
|
|
Bootstrap {
|
|
"/dnsaddr/bootstrap.libp2p.io/p2p/QmQCU2EcMqAqQPR2i9bChDtGNJchTbq5TbXJJ16u19uLTa"
|
|
"/dnsaddr/bootstrap.libp2p.io/p2p/QmbLHAnMoJPWSCR5Zhtx6BHJX9KiKNN6tpvbUcqanj75Nb"
|
|
"/dnsaddr/bootstrap.libp2p.io/p2p/QmcZf59bWwK5XFi76CZX8cbJ4BhTzzA3gU1ZjYZcYW3dwt"
|
|
"/ip4/104.131.131.82/tcp/4001/p2p/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ"
|
|
"/ip4/104.131.131.82/udp/4001/quic/p2p/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ"
|
|
"/dnsaddr/bootstrap.libp2p.io/p2p/QmNnooDu7bfjPFoTZYxMNLWUQJyrVwtbZg5gBMjTezGAJN"
|
|
}
|
|
|
|
Datastore {
|
|
BloomFilterSize = 0
|
|
GCPeriod = "1h"
|
|
HashOnRead = false
|
|
StorageGCWatermark = 90
|
|
StorageMax = "10GB"
|
|
Spec = new {
|
|
mounts = new {
|
|
new {
|
|
prefix = "flatfs.datastore"
|
|
child = new {
|
|
path = "blocks"
|
|
shardFunc = "/repo/flatfs/shard/v1/next-to-last/2"
|
|
type = "flatfs"
|
|
sync = true
|
|
}
|
|
mountpoint = "/blocks"
|
|
type = "measure"
|
|
}
|
|
new {
|
|
prefix = "leveldb.datastore"
|
|
child = new {
|
|
compression = "none"
|
|
path = "datastore"
|
|
type = "levelds"
|
|
}
|
|
mountpoint = "/"
|
|
type = "measure"
|
|
}
|
|
}
|
|
type = "mount"
|
|
}
|
|
}
|
|
|
|
Discovery {
|
|
MDNS = new {
|
|
Enabled = true
|
|
}
|
|
}
|
|
|
|
Experimental {
|
|
StrategicProviding = false
|
|
UrlstoreEnabled = false
|
|
AcceleratedDHTClient = false
|
|
GraphsyncEnabled = false
|
|
FilestoreEnabled = false
|
|
Libp2pStreamMounting = false
|
|
P2pHttpProxy = false
|
|
}
|
|
|
|
Gateway {
|
|
HTTPHeaders = new {
|
|
`Access-Control-Allow-Headers` = new {
|
|
"X-Requested-With"
|
|
"Range"
|
|
"User-Agent"
|
|
}
|
|
`Access-Control-Allow-Methods` = new { "GET" }
|
|
`Access-Control-Allow-Origin` = new { "*" }
|
|
}
|
|
NoDNSLink = false
|
|
NoFetch = false
|
|
PublicGateways = null
|
|
RootRedirect = ""
|
|
Writable = false
|
|
}
|
|
|
|
Identity {
|
|
PrivKey = "CAESQP0FRhYf5Nvxg0wrbN+VTK7kWdgy+3AKoxU3vNH0K9FHVpXyx6/mHKyCaPjqI11YsHUW0B2ZODGROPafyS6IeWY="
|
|
PeerID = "12D3KooWFeMr1tHFs8WAF11rKDULJbmKg9rE5aVhYJU23oC7pqjB"
|
|
}
|
|
|
|
Ipns {
|
|
RecordLifetime = ""
|
|
RepublishPeriod = ""
|
|
ResolveCacheSize = 128
|
|
}
|
|
|
|
Migration {
|
|
Keep = ""
|
|
}
|
|
|
|
Mounts {
|
|
IPNS = "/ipns"
|
|
FuseAllowOther = false
|
|
IPFS = "/ipfs"
|
|
}
|
|
|
|
Peering {
|
|
Peers = new {
|
|
new {
|
|
Addrs = new { "/dnsaddr/node-1.ingress.cloudflare-ipfs.com" }
|
|
ID = "QmcFf2FH3CEgTNHeMRGhN7HNHU1EXAxoEk6EFuSyXCsvRE"
|
|
}
|
|
new {
|
|
Addrs = new { "/dnsaddr/node-2.ingress.cloudflare-ipfs.com" }
|
|
ID = "QmcFmLd5ySfk2WZuJ1mfSWLDjdmHZq7rSAua4GoeSQfs1z"
|
|
}
|
|
new {
|
|
Addrs = new { "/dnsaddr/node-3.ingress.cloudflare-ipfs.com" }
|
|
ID = "QmcfFmzSDVbwexQ9Au2pt5YEXHK5xajwgaU6PpkbLWerMa"
|
|
}
|
|
new {
|
|
Addrs = new { "/dnsaddr/node-4.ingress.cloudflare-ipfs.com" }
|
|
ID = "QmcfJeB3Js1FG7T8YaZATEiaHqNKVdQfybYYkbT1knUswx"
|
|
}
|
|
new {
|
|
Addrs = new { "/dnsaddr/node-5.ingress.cloudflare-ipfs.com" }
|
|
ID = "QmcfVvzK4tMdFmpJjEKDUoqRgP4W9FnmJoziYX5GXJJ8eZ"
|
|
}
|
|
new {
|
|
Addrs = new { "/dnsaddr/node-6.ingress.cloudflare-ipfs.com" }
|
|
ID = "QmcfZD3VKrUxyP9BbyUnZDpbqDnT7cQ4WjPP8TRLXaoE7G"
|
|
}
|
|
new {
|
|
Addrs = new { "/dnsaddr/node-7.ingress.cloudflare-ipfs.com" }
|
|
ID = "QmcfZP2LuW4jxviTeG8fi28qjnZScACb8PEgHAc17ZEri3"
|
|
}
|
|
new {
|
|
Addrs = new { "/dnsaddr/node-8.ingress.cloudflare-ipfs.com" }
|
|
ID = "QmcfgsJsMtx6qJb74akCw1M24X1zFwgGo11h1cuhwQjtJP"
|
|
}
|
|
new {
|
|
Addrs = new { "/dnsaddr/node-9.ingress.cloudflare-ipfs.com" }
|
|
ID = "Qmcfr2FC7pFzJbTSDfYaSy1J8Uuy8ccGLeLyqJCKJvTHMi"
|
|
}
|
|
new {
|
|
Addrs = new { "/dnsaddr/node-10.ingress.cloudflare-ipfs.com" }
|
|
ID = "QmcfR3V5YAtHBzxVACWCzXTt26SyEkxdwhGJ6875A8BuWx"
|
|
}
|
|
new {
|
|
Addrs = new { "/dnsaddr/node-11.ingress.cloudflare-ipfs.com" }
|
|
ID = "Qmcfuo1TM9uUiJp6dTbm915Rf1aTqm3a3dnmCdDQLHgvL5"
|
|
}
|
|
new {
|
|
Addrs = new { "/dnsaddr/node-12.ingress.cloudflare-ipfs.com" }
|
|
ID = "QmcfV2sg9zaq7UUHVCGuSvT2M2rnLBAPsiE79vVyK3Cuev"
|
|
}
|
|
}
|
|
}
|
|
|
|
Provider {
|
|
Strategy = ""
|
|
}
|
|
|
|
Pubsub {
|
|
Router = ""
|
|
DisableSigning = false
|
|
}
|
|
|
|
Reprovider {
|
|
Strategy = "all"
|
|
Interval = "12h"
|
|
}
|
|
|
|
Routing {
|
|
Methods = null
|
|
Routers = null
|
|
Type = "dht"
|
|
}
|
|
|
|
Swarm {
|
|
AddrFilters = null
|
|
ConnMgr = new {}
|
|
DisableBandwidthMetrics = false
|
|
DisableNatPortMap = false
|
|
RelayClient = new {}
|
|
ResourceMgr = new {}
|
|
Transports = new {
|
|
Multiplexers = new {}
|
|
Network = new {}
|
|
Security = new {}
|
|
}
|
|
}
|