From 9fd2a8567a6290f42c0755cd1dbe3aa232e5b33c Mon Sep 17 00:00:00 2001 From: Ansab Gillani Date: Tue, 21 May 2024 15:58:07 +0200 Subject: [PATCH] fixes --- contract/src/gambling-game.proposal.js | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/contract/src/gambling-game.proposal.js b/contract/src/gambling-game.proposal.js index 39b5f122..59a1f67b 100644 --- a/contract/src/gambling-game.proposal.js +++ b/contract/src/gambling-game.proposal.js @@ -17,23 +17,7 @@ const startGame = async () => { // Start the instance const { publicFacet } = await E(zoeService).startInstance(installation, { IST: issuer }); - // Mint some IST to test with - console.log(brand); - const aliceAmount = AmountMath.make(brand, 100n); - const alicePayment = mint.mintPayment(aliceAmount); - - // Create a deposit invitation - const aliceInvitation = E(publicFacet).makeDepositInvitation(); - const proposal = { give: { IST: aliceAmount } }; - const payments = { IST: alicePayment }; - - // Make an offer to deposit IST - const seat = await E(zoeService).offer(aliceInvitation, proposal, payments); - console.log(`Alice made a deposit: ${seat}`); - - // Check the number of entries - const entriesCount = await E(publicFacet).getEntriesCount(); - console.log(`Current number of entries: ${entriesCount}`); + // Todo: Can add Publishes Brand Info to the chain }; // Define a manifest object describing the contract's capabilities and permissions