-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #111 from airgap-it/develop
v2.1.0
- Loading branch information
Showing
32 changed files
with
457 additions
and
127 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
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
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
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
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
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
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
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,20 +1,20 @@ | ||
# Interacting with Contracts | ||
|
||
The `beacon-sdk` does not provide any abstractions for contracts. The focus of beacon is handling the connection between DApps and wallets and providing a user friendly API to interact with each other. | ||
The `beacon-sdk` does not provide any abstractions for contracts. The focus of Beacon is handling the connection between DApps and wallets and providing a user friendly API to interact with each other. | ||
|
||
[Taquito](https://tezostaquito.io/) is a popular library for development on the Tezos blockchain. They are currently working on a new [Wallet API](https://github.com/ecadlabs/taquito/pull/308) that connects the power of Taquito's contract abstraction with Beacon's communication layer. | ||
[Taquito](https://tezostaquito.io/) is a popular Typescript library for application development on the Tezos blockchain. Beacon is supported in Taquito's [Wallet API](https://tezostaquito.io/docs/wallet_API), simply combining the contract abstraction of Taquito with Beacon's communicaiton layer. | ||
|
||
The Wallet API has only recently been merged into the master branch of Taquito, so make sure you have a recent version: | ||
Beacon v2 is supported in Taquito v7.1.0, make sure to use the latest Taquito version. | ||
|
||
``` | ||
npm i @taquito/taquito@6.3.0-beta.5 | ||
npm i @taquito/beacon-wallet@6.3.0-beta.5 | ||
npm i @taquito/taquito | ||
npm i @taquito/beacon-wallet | ||
``` | ||
|
||
As of the time of writing, `6.3.0-beta.5` is the most recent version. | ||
As of the time of writing, `7.1.0` is the most recent version. | ||
|
||
There is currently no documentation available for the Wallet API. There is a community driven document outlining some of the changes between the Contract API and Wallet API [here](https://hackmd.io/Ns6ZpuY6TLSNKDv1Wr9fvA) | ||
The Taquito docs have a [detailed documentation](https://tezostaquito.io/docs/wallet_API/#--beacon-wallet) on how to import and use Beacon. | ||
|
||
The following is a small example of a contract call in Taquito, loosely based on our [Example DApp](https://github.com/airgap-it/beacon-vue-example/blob/master/src/components/Beacon.vue#L122) | ||
The following is a small example of a contract call in Taquito, loosely based on our [Example DApp](https://github.com/airgap-it/beacon-vue-example/blob/master/src/components/Beacon.vue#L122). | ||
|
||
<<< @/docs/beacon/taquito-example.ts |
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,14 @@ | ||
# Security Audits | ||
|
||
Beacon SDK has and will be regularly audited by third parties, their reports will be made publicly available. | ||
|
||
### 17.09.20 - Beacon SDK Audit by Least Authority | ||
|
||
In collaboration with the AirGap team, Least Authority conducted an audit of the tzip-10 Typescript implementation Beacon SDK. In total 5 issues have been identified by Least Authority. 3 of these have been resolved, 1 has been partially addressed and 1 was consciously not resolved. | ||
|
||
- [Blogpost - Beacon SDK Audit](https://medium.com/airgap-it/beacon-sdk-audited-by-least-authority-fa12f83e91e0) | ||
- [Report - Beacon SDK Audit Report](./LeastAuthorityReport.pdf) | ||
|
||
### Disclosing Security Vulnerabilities | ||
|
||
If you discover a security vulnerability within this library, please send an e-mail to [email protected]. All security vulnerabilities will be promptly addressed. |
Binary file not shown.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.