Spedn is a high level smart contracts programming language for electronic cash. It compiles to Script dialects in eCash, Bitcoin Cash, Lotus and Bitcoin. It is designed for explicitness and safety.
- It is statically typed - detects many errors at compile time
- It is explicitly typed - no guessing what the expression is supposed to return
- It is purely-functional - free of side effects, the common source of bugs
- It has a familiar C-like syntax
This package contains a lightweight, SDK-agnostic runtime for blockchain applications using compiled Spedn contracts. To integrate your contract into an app built on top of one of the SDKs, use the apropriate adapter:
- @spedn/rts-bchjs - for apps on top of BCH-JS
Install this package directly only if you want to develop your own adapter.
If you want to dynamically compile Spedn contracts in your app, also install @spedn/sdk.
If you want to use Spedn compiler as a command-line tool, install @spedn/cli.
Donations: 🎺 Pein#7306 || ecash:qp8x5wakcts248drk5apn4k09a53qclcevjayr77xh || bitcoincash:qrc2jhalczuka8q3dvk0g8mnkqx79wxp9gvvqvg7qt