Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sigmagmbh/swisstronik-go-sdk
Swisstronik SDK for Go programming language
https://github.com/sigmagmbh/swisstronik-go-sdk
blockchain cosmos-sdk deoxys golang sdk sdk-go swisstronik
Last synced: about 1 month ago
JSON representation
Swisstronik SDK for Go programming language
- Host: GitHub
- URL: https://github.com/sigmagmbh/swisstronik-go-sdk
- Owner: SigmaGmbH
- License: mit
- Created: 2024-01-29T20:06:11.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-02-22T15:47:49.000Z (10 months ago)
- Last Synced: 2024-06-21T14:31:05.840Z (6 months ago)
- Topics: blockchain, cosmos-sdk, deoxys, golang, sdk, sdk-go, swisstronik
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Swisstronik SDK Go
[![Test](https://github.com/SigmaGmbH/swisstronik-go-sdk/actions/workflows/test.yml/badge.svg)](https://github.com/SigmaGmbH/swisstronik-go-sdk/actions/workflows/test.yml)
This package provides a thin wrapper for Deoxys-II-256-128 (and maybe other things in the future) for usage v/ Swisstronik chain.
Currently, it exposes the following functions:
* EncryptState/DecryptState for smart contract enc/dec
* EncryptECDH/DecryptECDH for arbitrary data enc/dec with user's private key and node public key
* EncryptECDHWithRPCURL/DecryptECDHWithRPCURL - convenience encryption with pre-fetching node public key
* FetchNodePublicKey - for fetching node public key via JSON-RPC
* GetCurve25519PublicKey - for getting public key from private key
* DeriveEncryptionKey - for deriving a new master key using the other one and salt