Skip to content

Commit

Permalink
add badges and icon
Browse files Browse the repository at this point in the history
  • Loading branch information
talentlessguy committed Nov 6, 2023
1 parent 4f82546 commit 0ed6124
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
<div align="center">

<img src="logo.png" height="250" width="250">

# piggybank

[![][site-badge]][site-url] [![npm][npm-img]][npm-url]
[![GitHub Workflow
Status][gh-actions-img]][github-actions]
[![Coverage][cov-img]][cov-url]

</div>

(unofficial) [Safe](https://safe.global) library, powered by [viem](https://viem.sh).

> only Safe v1.3 is supported at the moment
Expand All @@ -16,3 +27,12 @@
```sh
pnpm i viem @stauro/piggybank
```

[site-url]: https://piggybank.stauro.xyz
[npm-url]: https://npmjs.com/package/@stauro/piggybank
[github-actions]: https://github.com/StauroXYZ/piggybank/actions
[gh-actions-img]: https://img.shields.io/github/actions/workflow/status/StauroXYZ/piggybank/ci.yml?branch=master&style=for-the-badge&logo=github&label=&color=1B2A22
[cov-img]: https://img.shields.io/coveralls/github/StauroXYZ/piggybank?style=for-the-badge&color=1B2A22
[cov-url]: https://coveralls.io/github/StauroXYZ/piggybank
[npm-img]: https://img.shields.io/npm/dt/@stauro/piggybank?style=for-the-badge&color=1B2A22&logo=npm&label=
[site-badge]: https://img.shields.io/badge/website-open-1B2A22?style=for-the-badge
Binary file added logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/api.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe('ApiClient', () => {
const api = new ApiClient({ url: 'http://localhost:8080', chainId: 1, safeAddress: EXAMPLE_SAFE })

expect(api.safeAddress).toEqual(EXAMPLE_SAFE)
expect( api.chainId).toEqual(1)
expect(api.chainId).toEqual(1)
})
})

Expand Down

0 comments on commit 0ed6124

Please sign in to comment.