Skip to content

Commit

Permalink
Update LICENSE and README
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Zaikin committed Dec 10, 2022
1 parent 9d939e0 commit c2a0ee7
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -490,4 +490,5 @@ BeaconSdk/.idea/.idea.BeaconSdk/.idea/misc.xml
.idea/.idea.Beacon.Sdk/.idea/.name

.idea/
.DS_Store
.DS_Store
*.db
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 Baking Bad
Copyright (c) 2022 PK Lab

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@ install:
clean:
dotnet clean

sample:
dotnet run -p Beacon.Sdk.Sample.Console -v normal
wallet-sample:
dotnet run -p Beacon.Sdk.Sample.Wallet -v normal

dapp-sample:
dotnet run -p Beacon.Sdk.Sample.Dapp -v normal
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ Follow these steps to reproduce the typical wallet workflow:
2. Open Beacon [playground](https://docs.walletbeacon.io/getting-started/first-dapp#setup), scroll to Setup and press "
Run Code"
3. Choose "Pair wallet on another device" and click on the QR code to copy
4. Start `Beacon.Sdk.Sample.Wallet` sample project
4. Start `Beacon.Sdk.Sample.Wallet` sample project (`make wallet-sample`)
5. Paste copied QR code to console
6. In the browser you should see "Got permissions" message, sample project response with all requested permissions to
dApp
Expand Down Expand Up @@ -336,10 +336,11 @@ beaconDappClient.Disconnect();
Follow these steps to reproduce a typical dapp workflow:

1. Clone this repo and restore nuget packages
2. Start `Beacon.Sdk.Sample.Dapp` project
3. Copy pairing data string from console and paste it to Beacon wallet
4. You should see that Beacon wallet received permissions from `Beacon.Sdk.Sample.Dapp`
5. You can print `sign` command in console to send `sign request` to the wallet
6. You can print `operation` command in console to send `operation request` to the wallet
2. Start `Beacon.Sdk.Sample.Dapp` project (`make dapp-sample`)
3. Go to https://debug.walletbeacon.io/ and create account (or connect your wallet)
4. Copy pairing data string from console, paste it to the site, and press "Connect"
5. You should see that Beacon wallet received permissions from `Beacon.Sdk.Sample.Dapp` ("Messages" section)
6. You can print `sign` command in console to send `sign request` to the wallet
7. You can print `operation` command in console to send `operation request` to the wallet

Take a look at the [`Dapp sample`](https://github.com/baking-bad/beacon-dotnet-sdk/blob/main/Beacon.Sdk.Sample.Dapp/Sample.cs) project.

0 comments on commit c2a0ee7

Please sign in to comment.