Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

Comments

improve minutxo and fees for first scripts#14

Merged
logicalmechanism merged 1 commit intov0.2.2from
script_tweaks_2
Aug 26, 2022
Merged

improve minutxo and fees for first scripts#14
logicalmechanism merged 1 commit intov0.2.2from
script_tweaks_2

Conversation

@AndrewWestberg
Copy link
Member

No description provided.

--testnet-magic ${testnet_magic} \
--address ${reference_address} \
--out-file tmp/reference_utxo.json
--address ${seller_address} \
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reference address will ONLY be for holding the scripts on chain. The transaction will be paid by NEWM (the seller address)

--tx-out-inline-datum-file data/current_datum.json \
--required-signer-hash ${seller_pkh} \
--required-signer-hash ${collat_pkh} \
--required-signer-hash ${multisig1_pkh} \
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In order to properly mint, we need 2 of the 3 multisig keys to sign.

SELLER_ADDRESS=$(cat wallets/seller-wallet/payment.addr)
BUYER_ADDRESS=$(cat wallets/buyer-wallet/payment.addr)
REFERENCE_ADDRESS=$(cat wallets/reference-wallet/payment.addr)
COLLAT_ADDRESS=$(cat wallets/collat-wallet/payment.addr)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add collat wallet and improve color coding of each wallet.

@logicalmechanism logicalmechanism merged commit cd13ac6 into v0.2.2 Aug 26, 2022
@AndrewWestberg AndrewWestberg deleted the script_tweaks_2 branch August 26, 2022 20:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants