Skip to content

Commit

Permalink
feat(offer-tool): start launchIt with contractStarter
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed Jan 21, 2024
1 parent 5c92caa commit a0bdf5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contract/src/offer-tool.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const main = async (args, env, io = {}) => {
return offerSpec;
};

const offer = await makeReserveAddOffer();
const offer = await makeStartOffer();

if (args.includes('--generate-only')) {
const action = wallet.offers.formatAction(offer);
Expand All @@ -113,6 +113,7 @@ const main = async (args, env, io = {}) => {
console.log({ ...txInfo, result });
const payouts = await seat.getPayouts();
console.log({ ...txInfo, payouts, result });
console.log(payouts?.Handles?.value[0]?.customDetails);
};

await main(process.argv, process.env).catch(err => console.error(err));

0 comments on commit a0bdf5c

Please sign in to comment.