Commit Graph
803 Commits
Author SHA1 Message Date
dependabot[bot]andGitHub 3d8cbb962b chore(deps): bump github.com/spf13/cast from 1.9.2 to 1.10.0
Bumps [github.com/spf13/cast](https://github.com/spf13/cast) from 1.9.2 to 1.10.0.
- [Release notes](https://github.com/spf13/cast/releases)
- [Commits](https://github.com/spf13/cast/compare/v1.9.2...v1.10.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cast
  dependency-version: 1.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 02:06:00 +00:00
Prad NukalaandGitHub 6c6cec6326 ci: migrate workflows to tenki (#1309)
👋 Hey there, reviewer!

Experience the fastest GitHub Actions with
[Tenki](https://www.tenki.cloud/), built for performance and cost
efficiency.

## What does this PR do?

This pull request was automatically generated by Tenki's Migration
Wizard.

Here's what's new once you merge:

- ** Faster Runners:** Your workflows now use Tenki's high-performance
bare-metal infrastructure ~35% faster than
default GitHub-hosted runners. 
[Learn more about Tenki's instance types
→](https://www.tenki.cloud/docs/runner-offering)

- **💵 Cheaper Runners:** as you now use Tenki's high-performance
bare-metal infrastructure and WE manage the costs,
that means for you: 90% cheaper than default GitHub-hosted runners. 
[Learn more about Tenki's pricing
→](https://www.tenki.cloud/docs/runner-billing)

## Any questions ? 
**- Is this free?** 
Yes, your first 3,000 minutes per month are on us.

**- Do I need to complete any other steps to migrate to Tenki?**
Nope. Hit Merge, and you are good to go 🎊

**- Who's can I contact if I have any other questions?**
Reach out at [hello@tenki.cloud,](mailto:hello@tenki.cloud,) we will
answer you within 24hrs.
2025-11-19 17:45:53 -05:00
tenki-cloud[bot]andGitHub f4c7b72b3e chore: migrate runner to tenki 2025-11-19 22:44:40 +00:00
tenki-cloud[bot]andGitHub 5dbcc455e8 chore: migrate runner to tenki 2025-11-19 22:44:40 +00:00
181b10b6b2 Feat/noble ibc testnet (#1307)
* feat(dex): integrate Noble testnet for USDC cross-chain operations

This commit integrates the Noble testnet (grand-1) with Sonr's x/dex module,
enabling native USDC trading and liquidity operations across IBC-enabled chains.

Changes:
- Add default params configuration with Noble testnet in allowed connections
- Create Noble-specific helper types and functions for USDC operations
- Implement USDC conversion utilities (base units <-> USDC decimals)
- Add NobleSwapParams and NobleLiquidityParams for structured operations
- Update genesis state to use default params with validation
- Add comprehensive Noble integration documentation
- Create unit tests for params and Noble helpers

Noble Configuration:
- Chain ID: noble-grand-1 (testnet)
- USDC Denom: uusdc (6 decimals)
- RPC: https://noble-testnet-rpc.polkachu.com:443
- gRPC: noble-testnet-grpc.polkachu.com:21590

Module Parameters:
- Max accounts per DID: 5
- Default ICA timeout: 600 seconds
- Min swap amount: 1000 base units
- Max daily volume: 1T base units
- Rate limits: 10 ops/block, 100 ops/DID/day
- Fees: 0.3% swap, 0.2% liquidity, 0.1% orders

This integration enables Sonr users to:
- Register ICA accounts on Noble testnet
- Execute cross-chain swaps with USDC
- Provide/remove liquidity in USDC pairs
- Trade with slippage protection
- Route multi-hop swaps through USDC

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* chore(ci): migrate scopes to toml format

* feat(dex): add support for noble usdc swaps

##

feat(dex): add support for noble usdc swaps

* feat(test): add e2e tests for usdc swap with did

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-11-18 12:28:30 -05:00
Prad Nukala 4ddcd54558 Merge branch 'master' into feat/noble-ibc-testnet 2025-11-18 12:27:30 -05:00
Prad Nukala f71193674b feat(cmd): add ASCII art logo to CLI output 2025-11-18 12:27:01 -05:00
Prad Nukala ad69f0ac80 refactor(cmd): remove unnecessary logo print statement from main function 2025-11-18 12:20:40 -05:00
Prad Nukala 28eba5a3f3 feat(cmd): add ASCII art logo to snrd cli tool 2025-11-18 12:19:21 -05:00
Prad Nukala 99167120dc chore(.gitignore): add .claude to ignore list 2025-11-05 15:03:16 -05:00
Prad Nukala 93a5d8826d > Ran tool: github_create_or_update_file
>
> *Failed*:
> ```
> failed to create/update file: PUT https://api.github.com/repos/sonr-io/sonr-io.github.io/contents/docs/guides/decentralized-authentication.mdx: 401 Bad credentials []
> ```

> Ran tool: `github_create_or_update_file`
>
> *Failed*:
> ```
> failed to create/update file: PUT https://api.github.com/repos/sonr-io/sonr-io.github.io/contents/docs/guides/decentralized-authentication.mdx: 401 Bad credentials []
> ```

docs: Remove decentralized authentication guide
2025-10-28 10:39:59 -04:00
Prad NukalaandGitHub ae16bee0c1 Merge branch 'master' into feat/noble-ibc-testnet 2025-10-26 16:49:38 -04:00
Prad Nukala 6f93b63e4b feat(test): add e2e tests for usdc swap with did 2025-10-26 16:22:10 -04:00
Prad Nukala 3c682390a6 feat(dex): add support for noble usdc swaps
##

feat(dex): add support for noble usdc swaps
2025-10-26 16:22:07 -04:00
Prad Nukala 85304fd8b4 chore(ci): migrate scopes to toml format 2025-10-26 16:22:04 -04:00
Prad Nukala be4e4b8367 docs(src): add README file for sonrctl cli 2025-10-25 14:43:47 -04:00
Prad Nukala 88ca486108 chore(devbox): add dasel package and update devbox config 2025-10-25 14:43:46 -04:00
Prad Nukala 30635ba397 chore(ci): migrate scopes to toml format 2025-10-25 14:43:44 -04:00
Claude 9db77a2bf4 feat(dex): integrate Noble testnet for USDC cross-chain operations
This commit integrates the Noble testnet (grand-1) with Sonr's x/dex module,
enabling native USDC trading and liquidity operations across IBC-enabled chains.

Changes:
- Add default params configuration with Noble testnet in allowed connections
- Create Noble-specific helper types and functions for USDC operations
- Implement USDC conversion utilities (base units <-> USDC decimals)
- Add NobleSwapParams and NobleLiquidityParams for structured operations
- Update genesis state to use default params with validation
- Add comprehensive Noble integration documentation
- Create unit tests for params and Noble helpers

Noble Configuration:
- Chain ID: noble-grand-1 (testnet)
- USDC Denom: uusdc (6 decimals)
- RPC: https://noble-testnet-rpc.polkachu.com:443
- gRPC: noble-testnet-grpc.polkachu.com:21590

Module Parameters:
- Max accounts per DID: 5
- Default ICA timeout: 600 seconds
- Min swap amount: 1000 base units
- Max daily volume: 1T base units
- Rate limits: 10 ops/block, 100 ops/DID/day
- Fees: 0.3% swap, 0.2% liquidity, 0.1% orders

This integration enables Sonr users to:
- Register ICA accounts on Noble testnet
- Execute cross-chain swaps with USDC
- Provide/remove liquidity in USDC pairs
- Trade with slippage protection
- Route multi-hop swaps through USDC

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-25 18:32:48 +00:00
Prad Nukala 5fbcd85420 chore(ci): update scopes.json to reflect new repository structure 2025-10-23 15:03:46 -04:00
Prad Nukala 9438cb2fff docs: remove swagger generation config and docs 2025-10-23 10:18:27 -04:00
Prad Nukala ab44cf15eb chore(.gitignore): update gitignore to reflect removal of Highway and Vault components 2025-10-21 12:30:43 -04:00
Prad Nukala 3769d11f9f docs: remove hway documentation 2025-10-21 12:30:42 -04:00
Prad Nukala c49fead1d8 docs(dwn): clarify vault operations and remove motor client references 2025-10-21 12:30:40 -04:00
Prad Nukala 2241ac470b chore(docs): update README with new build commands and architecture information 2025-10-21 12:30:38 -04:00
Prad Nukala cf1712c2d8 docs(client): add OpenAPI/Swagger documentation for Sonr blockchain API 2025-10-21 12:04:31 -04:00
Prad Nukala 53a34171e8 style(proto): ignore tmp-swagger-gen/**/*.swagger.json 2025-10-21 12:04:29 -04:00
Prad Nukala e3b492f3b9 refactor(svc): re-order import sections in protobuf generated files 2025-10-21 12:04:27 -04:00
Prad Nukala e3e6b4c918 feat(dwn): update enclave wasm plugin for secure operations 2025-10-21 12:04:26 -04:00
Prad Nukala 782a93bae0 refactor(did): organize protobuf imports according to best practices 2025-10-21 12:04:25 -04:00
Prad Nukala 1c908fca36 refactor(dex): reorganize protobuf imports for consistency 2025-10-21 12:04:24 -04:00
Prad Nukala 30f6902e5f ci: update Makefile for consistent localnet and dockernet behavior 2025-10-21 12:04:23 -04:00
Prad Nukala d4b45bb9d7 chore(ci): remove mods.yml and scopes.yml files 2025-10-20 11:15:58 -04:00
Prad Nukala 3442afd407 No commit suggestions generated 2025-10-16 09:00:48 -04:00
Prad Nukala 5e113a8066 No commit suggestions generated 2025-10-15 15:31:10 -04:00
Prad Nukala 81a33f4541 Falling back to manual conventional commit...
fix(gitignore files):
2025-10-14 09:27:20 -04:00
Prad Nukala 6bd50128fb Falling back to manual conventional commit...
fix(Update gitignore):
2025-10-13 16:46:37 -04:00
Prad Nukala 6b4b1c42ed No commit suggestions generated 2025-10-12 21:10:32 -04:00
Prad NukalaandGitHub ebfa2b062a Feat/add networks (#1303)
* No commit suggestions generated

* No commit suggestions generated

* No commit suggestions generated
2025-10-12 11:23:20 -04:00
40eadc995e Feat/1285 es ucan formatting (#1302)
* feat: Add Enclave Usage Examples

* feat(es/ucan): Add comprehensive integration tests

- Create integration.test.ts with full UCAN token lifecycle testing
- Cover end-to-end token creation, parsing, and validation
- Test capability attenuation and delegation chains
- Validate multi-algorithm support and timestamp scenarios
- Implement error recovery and performance test scenarios

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>

* No commit suggestions generated

* No commit suggestions generated

* chore: Remove migrated components and add migration documentation

Removed all code and references for components that have been moved to separate repositories:

**Moved to sonr-io/hway:**
- bridge/ - HTTP service with OAuth2/OIDC/WebAuthn handlers
- cmd/hway/ - Highway service binary
- internal/migrations/ - PostgreSQL schema migrations

**Moved to sonr-io/motr:**
- cmd/motr/ - Motor worker service (WASM vault operations)
- cmd/vault/ - Vault CLI tool
- crypto/ - Comprehensive cryptographic library
- packages/ - TypeScript SDK packages (es, sdk, ui, com, pkl)
- web/auth/ - Authentication web application
- web/dash/ - Dashboard web application

**Updated Configuration:**
- Makefile: Removed build/test/release targets for moved components
- CLAUDE.md: Simplified to focus on core blockchain components
- devbox.json: Removed scripts for moved services
- docker-compose.yml: Removed hway, postgres, redis, auth, dash services
- .github/scopes.yml: Removed CI scopes for migrated components
- .goreleaser.yml: Updated release configuration

**Added Migration Documentation:**
- MIGRATE_HWAY.md: Comprehensive Highway service architecture and migration guide
- MIGRATE_MOTR.md: Comprehensive Motor/Worker/Vault architecture and migration guide

These migration documents provide complete context for setting up the new repositories including architecture diagrams, component breakdowns, API documentation, and migration checklists.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* No commit suggestions generated

* chore: Remove contracts references and documentation

Removed all references to the contracts directory that was migrated to a separate repository.

**Changes:**
- .gitignore: Removed contract-specific ignore patterns for DAO and wSNR contracts
- .gitignore: Removed hway and motr binary references (already migrated)
- .rgignore: Removed contracts, chains, and crypto directory references
- docs/reference/contracts/: Removed DAO.mdx and wSNR.mdx documentation files

This completes the cleanup of migrated components from the repository.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* docs: add crypto library migration documentation

Added comprehensive migration documentation for the crypto library that was
moved to sonr-io/crypto repository. This documentation provides complete context
for understanding the cryptographic primitives and protocols used throughout
the Sonr ecosystem.

## Key Documentation Added

### MIGRATE_CRYPTO.md
Complete documentation of the crypto library covering:

**Core Cryptographic Primitives**
- Elliptic curve implementations (Ed25519, Secp256k1, P-256, BLS12-381, Pallas/Vesta)
- Native curve arithmetic with optimized field operations
- Pairing-friendly curves for BLS signatures

**Multi-Party Computation (MPC)**
- MPC enclave for vault key generation and management
- Threshold cryptography (TECDSA, TED25519 with FROST protocol)
- Distributed Key Generation (DKG) via Gennaro and FROST protocols
- Secret sharing schemes (Shamir, Feldman VSS, Pedersen VSS)

**Digital Signature Schemes**
- BLS signatures with aggregation support
- BBS+ signatures for selective disclosure
- Schnorr signatures (standard and Mina/NEM variants)
- ECDSA with deterministic nonce generation

**Zero-Knowledge Proofs**
- Bulletproofs for range proofs
- Inner Product Arguments (IPA)
- Batch verification support

**Advanced Cryptographic Protocols**
- Cryptographic accumulators for set membership proofs
- Paillier homomorphic encryption
- Oblivious Transfer (OT) protocols
- Verifiable Random Functions (VRF)

**Key Management & Identity**
- DID key management with multi-chain support
- Multi-algorithm public key handling
- Wallet address derivation (Bitcoin, Ethereum, Cosmos, Solana, etc.)

**UCAN Integration**
- User-Controlled Authorization Networks
- Capability delegation and attenuation
- JWT-based capability tokens
- MPC-enabled UCAN signing

**Security Utilities**
- AEAD encryption (AES-GCM, AES-SIV)
- Argon2 key derivation
- ECIES encryption
- Secure memory handling

### MIGRATE_MOTR.md Updates
Updated Motor migration documentation to clarify that the crypto library
is now a separate external dependency at github.com/sonr-io/crypto v1.0.1

## Repository Context

The crypto library has been successfully migrated to its own repository
and is published as a Go module. It serves as the foundational cryptographic
layer for:
- Sonr blockchain (snrd) - DID signatures, vault operations
- Highway service (hway) - UCAN token signing, WebAuthn
- Motor/Worker (motr) - MPC vault operations, threshold signatures

## Integration Impact

All Sonr ecosystem components now depend on the external crypto library:
```go
require github.com/sonr-io/crypto v1.0.1
```

The migration enables independent versioning and maintenance of cryptographic
primitives while maintaining security and compatibility across the ecosystem.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* No commit suggestions generated

* No commit suggestions generated

* No commit suggestions generated

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-10-10 11:47:18 -04:00
Prad Nukala 7570d67787 No commit suggestions generated 2025-10-05 12:44:08 -04:00
Prad Nukala d19e0b676b bump: version 0.0.1 → 0.0.2 2025-10-04 11:33:27 -04:00
Prad Nukala 08d4af2dc0 bump: version 0.0.2 → 0.0.3 2025-10-04 11:27:30 -04:00
Prad Nukala 7f8034ae44 bump: version 0.0.2 → 0.0.3 2025-10-04 11:27:21 -04:00
Prad Nukala 19ae52dd12 bump: version 0.0.2 → 0.0.3 2025-10-04 11:24:19 -04:00
Prad Nukala ee2ba1745e fix: License hway/v0.0.3 motr/v0.0.3 snrd/v0.0.3 vault/v0.0.2 2025-10-04 11:24:13 -04:00
Prad NukalaandGitHub 0bfaf26357 Create LICENSE
Signed-off-by: Prad Nukala <prad@sonr.io>
2025-10-04 11:21:29 -04:00
Prad Nukala 8ed37f02f3 bump: version 0.0.1 → 0.0.2 2025-10-04 08:58:48 -04:00
Prad Nukala c3dbb04f21 bump: version 0.0.1 → 0.0.2 2025-10-04 08:58:44 -04:00
Prad Nukala 5bc00c5481 bump: version 0.0.1 → 0.0.2 2025-10-04 08:58:16 -04:00