Bitcoin Forum
May 15, 2026, 03:24:06 PM *
News: Latest Bitcoin Core release: 31.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: I worked on a VSCode extension for Bitcoin's Minsc Programming Language  (Read 21 times)
asxndu (OP)
Newbie
*
Offline

Activity: 1
Merit: 5


View Profile
May 13, 2026, 09:09:37 PM
Merited by ABCbits (5)
 #1

Hello  everyone.

I have always had interest in Bitcoin's smart contracts support. But never actually used it since I found Bitcoin's OP codes hard to use.

Recently, I came to learn of  Minsc,  a high level language that compiles down to Bitcoin's Miniscript Policy language.

I built a Minsc VSCode extension that has support for syntax highlighting, comment toggling, autocomplete, code snippets, hover messages.  (https://github.com/as1ndu/minsc-vscode-extension)

I would like to spend more time on Minsc (probably work on a my own re-implementation of the language).


Here are some interesting use cases of smart contracts on Bitcoin;

- 2FA  wallets that cannot be hacked even when the hacker steals the seed phrase (hash locks provide 2nd factor auth)

- Personal savings wallets (use time locks to forcefully save BTC for 5, 10, 15, 20 years)

- Inheritance set-ups for your BTC using Multisig & Time locks


All this can be Bitcoin native and completely trustless using the Miniscript Policy language.

While you can already do this with the Miniscript Policy language, a higher level language to work in (like Minsc) would make it easier for developers to code up such applications.

The end goal would be something like Nunchuk, https://nunchuk.io/individuals, but that is completely free and open source. Users would easily create, share and deploy their own Scripts.

If you are interested in supporting my journey, please consider donating to my Bitcoin address  below;

bc1qnwzts827t4cvmskll849ptau7uyf3v4q5rk5k4

P.S Bitcoin address is the same in the Github repo (https://github.com/as1ndu/minsc-vscode-extension) to prove authenticity.



ABCbits
Legendary
*
Offline

Activity: 3612
Merit: 10050



View Profile
Today at 07:58:48 AM
 #2

I don't think i'll ever need to write minsc script myself manually, but thanks for sharing.

Here are some interesting use cases of smart contracts on Bitcoin;
--snip--
All this can be Bitcoin native and completely trustless using the Miniscript Policy language.

The tough part is integrating/adding minsc script we write to wallet we use. AFAIK there's no wallet that that generate and handle address based on script you write yourself.

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits PREDICT..
█████████████████████████
█████████████████████████
███████████▀▀░░░░▀▀██████
██████████░░▄████▄░░████
█████████░░████████░░████
█████████░░████████░░████
█████████▄▀██████▀▄████
████████▀▀░░░▀▀▀▀░░▄█████
██████▀░░░░██▄▄▄▄████████
████▀░░░░▄███████████████
█████▄▄█████████████████
█████████████████████████
█████████████████████████
.
.WHERE EVERYTHING IS A MARKET..
█████
██
██







██
██
██████
Will Bitcoin hit $200,000
before January 1st 2027?

    No @1.15         Yes @6.00    
█████
██
██







██
██
██████

  CHECK MORE > 
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!