Created
November 2, 2019 02:06
-
-
Save katelynsills/039846515fa23fae197abbd0b9289a4b to your computer and use it in GitHub Desktop.
Baytown Bucks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { makeMint } from '@agoric/ertp/core/mint'; | |
const baytownBucksMint = makeMint('BaytownBucks'); | |
const purse = baytownBucksMint.mint(1000, 'community treasury'); | |
const paymentForAlice = purse.withdraw(10, `alice's community money`); | |
alice.receivePayment(paymentForAlice); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment