Skip to content

Commit

Permalink
Merge pull request #458 from airgap-it/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
AndreasGassmann authored Apr 4, 2023
2 parents 434dd7e + 80fc56c commit 1762154
Show file tree
Hide file tree
Showing 121 changed files with 32,424 additions and 12,368 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ examples/walletbeacon.min.js
lib
docs

webpack_builds

packages/beacon-blockchain-tezos/src/ui/alert/alert-templates.ts
packages/beacon-blockchain-tezos/src/ui/alert/wallet-lists.ts
packages/beacon-blockchain-tezos/src/ui/toast/toast-templates.ts
Expand Down
Binary file modified assets/logos/altme.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/logos/desktop-atomex.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/logos/desktop-galleon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/logos/desktop-umami.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 1 addition & 33 deletions assets/logos/exodus.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/logos/extension-spire.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/logos/extension-temple.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/logos/infinity-wallet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/logos/ios-airgap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/logos/ios-atomex.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/logos/ios-autonomy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/logos/ios-fearless.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/logos/ios-galleon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/logos/ios-naan.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/logos/ios-nova.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/logos/ios-temple.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/logos/ios-trust.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/logos/web-kukai.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions beacon.js

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions examples/dapp-v3-sapling.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,12 @@
// Initiate DAppClient
const client = new beacon.DAppClient({
name: 'Example DApp', // Name of the DApp,
disclaimerText: 'This is an optional <b>disclaimer</b>.'
disclaimerText: 'This is an optional <b>disclaimer</b>.',
appUrl: 'http://localhost:8080',
walletConnectOptions: {
projectId: '97f804b46f0db632c52af0556586a5f3',
relayUrl: 'wss://relay.walletconnect.com'
}
// preferredNetwork: beacon.NetworkType.DELPHINET
// matrixNodes: ['test.papers.tech', 'test2.papers.tech', 'matrix.papers.tech']
// matrixNodes: ['beacon-node-0.papers.tech:8448']
Expand Down Expand Up @@ -249,7 +254,8 @@
// Add event listener to the button
document.getElementById('signPayloadRaw').addEventListener('click', async () => {
const signature = await client.requestSignPayload({
payload: 'test'
payload:
'05010000004254657a6f73205369676e6564204d6573736167653a207465737455726c20323032332d30322d30385431303a33363a31382e3435345a2048656c6c6f20576f726c64'
})

console.log('signature:', signature)
Expand Down
9 changes: 7 additions & 2 deletions examples/dapp-v3.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,12 @@
// Initiate DAppClient
const client = new beacon.DAppClient({
name: 'Example DApp', // Name of the DApp,
disclaimerText: 'This is an optional <b>disclaimer</b>.'
disclaimerText: 'This is an optional <b>disclaimer</b>.',
appUrl: 'http://localhost:8080',
walletConnectOptions: {
projectId: '97f804b46f0db632c52af0556586a5f3',
relayUrl: 'wss://relay.walletconnect.com'
}
// preferredNetwork: beacon.NetworkType.DELPHINET
// matrixNodes: ['test.papers.tech', 'test2.papers.tech', 'matrix.papers.tech']
// matrixNodes: ['beacon-node-0.papers.tech:8448']
Expand Down Expand Up @@ -250,7 +255,7 @@
// Add event listener to the button
document.getElementById('signPayloadRaw').addEventListener('click', async () => {
const signature = await client.requestSignPayload({
payload: 'test'
payload: '05444e1f4ab90c304a5ac003d367747aab63815f583ff2330ce159d12c1ecceba1'
})

console.log('signature:', signature)
Expand Down
22 changes: 21 additions & 1 deletion examples/dapp.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,30 @@
const client = beacon.getDAppClientInstance({
name: 'Example DApp', // Name of the DApp,
disclaimerText: 'This is an optional <b>disclaimer</b>.',
appUrl: 'http://localhost:8080',
errorMessages: {
KT1RPW5kTX6WFxg8JK34rGEU24gqEEudyfvz: {
NOT_OWNER: 'You are not the owner of this token.'
}
},
walletConnectOptions: {
projectId: '97f804b46f0db632c52af0556586a5f3',
relayUrl: 'wss://relay.walletconnect.com'
},
matrixNodes: {
[beacon.Regions.EUROPE_WEST]: [
'beacon-node-1.diamond.papers.tech',
'beacon-node-1.sky.papers.tech',
'beacon-node-2.sky.papers.tech',
'beacon-node-1.hope.papers.tech',
'beacon-node-1.hope-2.papers.tech',
'beacon-node-1.hope-3.papers.tech',
'beacon-node-1.hope-4.papers.tech',
'beacon-node-1.hope-5.papers.tech'
],
[beacon.Regions.NORTH_AMERICA_EAST]: []
}
// featuredWallets: ['airgap']
// preferredNetwork: beacon.NetworkType.DELPHINET
// matrixNodes: ['test.papers.tech', 'test2.papers.tech', 'matrix.papers.tech']
// matrixNodes: ['beacon-node-0.papers.tech:8448']
Expand Down Expand Up @@ -308,7 +327,8 @@
// Add event listener to the button
document.getElementById('signPayloadRaw').addEventListener('click', async () => {
const signature = await client.requestSignPayload({
payload: 'test'
payload:
'05010000004254657a6f73205369676e6564204d6573736167653a207465737455726c20323032332d30322d30385431303a33363a31382e3435345a2048656c6c6f20576f726c64'
})

console.log('signature:', signature)
Expand Down
Loading

0 comments on commit 1762154

Please sign in to comment.