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 an SDK for compiling Spedn contract in NodeJS apps.
If you want to use Spedn as a command-line tool, use @spedn/cli.
If you want to run a compiled contract:
- install @spedn/rts-bchjs - a runtime using BCH-JS
- develop your own runtime by implementing interfaces defined in @spedn/rts
Donations: 🎺 Pein#7306 || ecash:qp8x5wakcts248drk5apn4k09a53qclcevjayr77xh || bitcoincash:qrc2jhalczuka8q3dvk0g8mnkqx79wxp9gvvqvg7qt