Skip to main content
deleted 231 characters in body; edited tags; edited title
Source Link
Antoine Poinsot
  • 9.1k
  • 2
  • 18
  • 36

Liquid tapscript Elements (/Liquid) Tapscript opcodes

Related question: What opcodes are supported on Liquid but not yet on Bitcoin?

I had seen few opcodes in the slides shared by notgrubles on Twitter

liquid-opcodes

Opcodes. They are:

OP_INSPECTCURRENTINPUT
OP_INSPECTINPUT
OP_INSPECTOUTPUT
OP_TAPTWEAK
OP_MUL64
OP_DIV64
OP_SCALARADD
OP_SCALARMUL

Couldn't find any of these in Bitcoin Core: https://github.com/bitcoin/bitcoin/blob/90f6a623b394e65a34a1918ec67420c899c52bf4/src/script/script.h#L64

So I am assuming they will only be used by LiquidCore's source code.

Question: What does each of these opcodes do and are OP_MUL64 OP_DIV64 the same as OP_MUL OP_DIV?

Liquid tapscript opcodes

Related question: What opcodes are supported on Liquid but not yet on Bitcoin?

I had seen few opcodes in the slides shared by notgrubles on Twitter

liquid-opcodes

Opcodes:

OP_INSPECTCURRENTINPUT
OP_INSPECTINPUT
OP_INSPECTOUTPUT
OP_TAPTWEAK
OP_MUL64
OP_DIV64
OP_SCALARADD
OP_SCALARMUL

Couldn't find any of these in Bitcoin Core: https://github.com/bitcoin/bitcoin/blob/90f6a623b394e65a34a1918ec67420c899c52bf4/src/script/script.h#L64

So I am assuming they will only be used by Liquid.

Question: What does each of these opcodes do and are OP_MUL64 OP_DIV64 same as OP_MUL OP_DIV?

Elements (/Liquid) Tapscript opcodes

Related question: What opcodes are supported on Liquid but not yet on Bitcoin?

I had seen few opcodes in the slides shared by notgrubles on Twitter. They are:

OP_INSPECTCURRENTINPUT
OP_INSPECTINPUT
OP_INSPECTOUTPUT
OP_TAPTWEAK
OP_MUL64
OP_DIV64
OP_SCALARADD
OP_SCALARMUL

Couldn't find any of these in Bitcoin Core's source code. What does each of these opcodes do and are OP_MUL64 OP_DIV64 the same as OP_MUL OP_DIV?

Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
deleted 53 characters in body
Source Link
user103136
user103136

Related question: What opcodes are supported on Liquid but not yet on Bitcoin?

I had seen few opcodes in the slides shared by notgurblesnotgrubles or bitmatrix_ on Twitter. Tweet is deleted but I have the slide:Twitter

liquid-opcodes

In the slide I see lot of opcodesOpcodes:

OP_INSPECTCURRENTINPUT
OP_INSPECTINPUT
OP_INSPECTOUTPUT
OP_TAPTWEAK
OP_MUL64
OP_DIV64
OP_SCALARADD
OP_SCALARMUL

Couldn't find any of these in Bitcoin Core: https://github.com/bitcoin/bitcoin/blob/90f6a623b394e65a34a1918ec67420c899c52bf4/src/script/script.h#L64

So I am assuming they will only be used by Liquid.

Question: What does each of these opcodes do and are OP_MUL64 OP_DIV64 same as OP_MUL OP_DIV?

Related question: What opcodes are supported on Liquid but not yet on Bitcoin?

I had seen few opcodes in the slides shared by notgurbles or bitmatrix_ on Twitter. Tweet is deleted but I have the slide:

liquid-opcodes

In the slide I see lot of opcodes:

OP_INSPECTCURRENTINPUT
OP_INSPECTINPUT
OP_INSPECTOUTPUT
OP_TAPTWEAK
OP_MUL64
OP_DIV64
OP_SCALARADD
OP_SCALARMUL

Couldn't find any of these in Bitcoin Core: https://github.com/bitcoin/bitcoin/blob/90f6a623b394e65a34a1918ec67420c899c52bf4/src/script/script.h#L64

So I am assuming they will only be used by Liquid.

Question: What does each of these opcodes do and are OP_MUL64 OP_DIV64 same as OP_MUL OP_DIV?

Related question: What opcodes are supported on Liquid but not yet on Bitcoin?

I had seen few opcodes in the slides shared by notgrubles on Twitter

liquid-opcodes

Opcodes:

OP_INSPECTCURRENTINPUT
OP_INSPECTINPUT
OP_INSPECTOUTPUT
OP_TAPTWEAK
OP_MUL64
OP_DIV64
OP_SCALARADD
OP_SCALARMUL

Couldn't find any of these in Bitcoin Core: https://github.com/bitcoin/bitcoin/blob/90f6a623b394e65a34a1918ec67420c899c52bf4/src/script/script.h#L64

So I am assuming they will only be used by Liquid.

Question: What does each of these opcodes do and are OP_MUL64 OP_DIV64 same as OP_MUL OP_DIV?

Source Link
user103136
user103136

Liquid tapscript opcodes

Related question: What opcodes are supported on Liquid but not yet on Bitcoin?

I had seen few opcodes in the slides shared by notgurbles or bitmatrix_ on Twitter. Tweet is deleted but I have the slide:

liquid-opcodes

In the slide I see lot of opcodes:

OP_INSPECTCURRENTINPUT
OP_INSPECTINPUT
OP_INSPECTOUTPUT
OP_TAPTWEAK
OP_MUL64
OP_DIV64
OP_SCALARADD
OP_SCALARMUL

Couldn't find any of these in Bitcoin Core: https://github.com/bitcoin/bitcoin/blob/90f6a623b394e65a34a1918ec67420c899c52bf4/src/script/script.h#L64

So I am assuming they will only be used by Liquid.

Question: What does each of these opcodes do and are OP_MUL64 OP_DIV64 same as OP_MUL OP_DIV?