root / trunk / pyopencoin / testWalletIS.py
| Revision 200, 293 bytes (checked in by ocmathew, 4 years ago) | |
|---|---|
|
|
| Line | |
|---|---|
| 1 | from oc import entities,transports |
| 2 | import sys |
| 3 | |
| 4 | if len(sys.argv) > 1: |
| 5 | addr = sys.argv[1] |
| 6 | else: |
| 7 | addr = '0.0.0.0' |
| 8 | |
| 9 | w = entities.Wallet() |
| 10 | sst = transports.SocketClientTransport(addr, 12008) |
| 11 | sst.debug = 1 |
| 12 | |
| 13 | w.fetchMintKey(sst, denominations=['1']) |
| 14 | w.fetchMintKey(sst, denominations=['4']) |
Note: See TracBrowser
for help on using the browser.
