Author

Topic: New "Tier Three" Programming Language: Minsc (Read 266 times)

legendary
Activity: 1680
Merit: 6524
Fully-fledged Merit Cycler|Spambuster'23|Pie Baker
August 23, 2020, 01:22:16 AM
#5
legendary
Activity: 1624
Merit: 2481
I just hope newcomers don't copy-paste minsc code without good understanding of what it does.

That's pretty optimistic  Grin
I wouldn't count on that. But that's the problem with everything, not just bitcoin scripts.

People visiting URLs, downloading mail attachments, activating macros.. everything happens all the time. And copy/pasting bitcoin scripts probably will happen too.
But i guess it is easier to steal coins by telling the victim to download/execute something, so this shouldn't be a big issue ?
legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
Looks very simple, even people who only use Python like me can understood it without sweat Smiley

Unless there's bug when translating minsc to bitcoin script, i don't see any downsides. I just hope newcomers don't copy-paste minsc code without good understanding of what it does.
legendary
Activity: 3150
Merit: 2185
Playgram - The Telegram Casino
Looks definitely more approachable and easier to digest than Miniscript, at least from my perspective. Actually Minsc looks like I'd imagine a language called Miniscript to look like and vice versa (especially vice versa) Grin

With Minsc compiling to an end result that is logically the same to using Miniscript / Bitcoin Script I don't see any downsides either.
legendary
Activity: 2380
Merit: 17063
Fully fledged Merit Cycler - Golden Feather 22-23
Bitcoin Smart Contract have been a long overseen feature of the Bitcoin Protocol.
Apparently there is a new trend in research trying to reproduce the "smart contract friendly" ecosystem built on the Ethereum blockchain also on the Bitcoin Blockchain.

Miniscript and Simplictiy have been two steps (or, rather, two proposed steps) in this direction.
Now a third building block in this direction has been unveiled: Minsc.

Quote
A Miniscript-based scripting language for Bitcoin contracts
Minsc is a high-level scripting language for expressing Bitcoin Script spending conditions. It is based on the Miniscript Policy language, with additional features and syntactic sugar sprinkled on top, including variables, functions, infix notation, and more.


A piece on Coindesk came out a few days ago.

Writing Bitcoin Smart Contracts Is About to Get Easier With New Coding Language

Quote
It builds on top of Miniscript, taking advantage of its security properties but creating a language that is even easier for developers to read and think about than Miniscript.

“Minsc’s focus is on usability and making it easier to express, comprehend and reason about scripts, using a simple and familiar syntax. It adds additional convenience features and ‘syntactic sugar,'” Ivgi told CoinDesk.

“Syntactic sugar” is a programming term for adding into a language another easier, shortcut way of executing a task that is usually harder to write.

So Minsc doesn’t add anything new to Script, it just makes it easier to use.

“It doesn’t let you do anything that Miniscript doesn’t already, similarly to Miniscript itself in relation to Bitcoin Script,” Ivgi said.


I wasn't able to find more documentation.
Do you think is a valid proposal?
Do you know more?

Official Website: https://min.sc/
Github: https://github.com/shesek/minsc
Jump to: