Bitcoiners might be able to program long-term savings vaults into code, on-chain — an exciting development for Bitcoiners who keep the cryptocurrency as a long-term investment, known as ‘hodling’ (holding on for dear life).
Despite the roller coaster-like swings in bitcoin’s value, many people believe Bitcoin is a durable store of value. So, as the Bitcoin community increasingly seeks programmability regarding long-term investment practices, Bitcoin Core developers are now с обзиром the addition of hard-coded “vaults” into Bitcoin’s software through a мека вилица.
Bitcoin Core developer James O’Beirne предложено vault opcodes in a post to the official Bitcoin-Dev mailing list. His soft fork would add two new operation codes (“opcodes”) to Bitcoin script: OP_VAULT and OP_UNVAULT.
What would opcodes OP_VAULT and OP_UNVAULT accomplish?
If O’Beirne’s soft fork manages to gain consensus among Bitcoiners for activation — including Bitcoin miners and node operators accepting the soft fork — these operation codes will allow new forms of long-term safekeeping using Bitcoin script.
On-chain vaults could lock bitcoin up for a specified period, making it less likely that investors who prefer to hodl will panic when price plummets. Vault opcodes would add a suite of investing-related functions to programmable Bitcoin wallets, which would significantly enhance Bitcoin’s existing, rudimentary Тимелоцк savings technology.
OP_VAULT would accept parameters that set a highly trusted spending path, a less trusted spending path, plus a timelock. The highly trusted spending path could involve a multi-signature requirement using devices in separate locations, making it easier to prevent an impulse purchase or the sale of bitcoin holdings in a moment of panic.
The less trusted spending path could include a hot wallet connected to the internet for convenience. A timelock would then prevent transactions from being confirmed into the hot wallet before a specified maturity time or block height.