-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
# FIXME these commands are run against the `@agoric/fast-usdc` pulled from NPM | ||
# but should be run against the local SDK. The `yarn link` command described in | ||
# a3p-integration/README.md is supposed to make that work but it's not working. | ||
|
||
yarn @agoric/fast-usdc operator accept >| accept.json | ||
cat accept.json | ||
yarn agoric wallet send --offer accept.json --from gov1 --keyring-backend="test" | ||
ACCEPT_OFFER_ID=$(agoric wallet extract-id --offer accept.json) | ||
|
||
# FIXME attest something | ||
yarn @agoric/fast-usdc operator attest --previousOfferId "$ACCEPT_OFFER_ID" >| attest.json | ||
cat attest.json | ||
yarn agoric wallet send --offer attest.json --from gov1 --keyring-backend="test" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
#!/bin/bash | ||
yarn ava | ||
|
||
# TODO get CLI test passing and part of CI | ||
./test-cli.sh || echo "CLI test failed" |