Conversation
… for erc1155-gated rooms
ETH-245 Create prototype ERC20JoinPolicy
Create a smart contract that allows people to join streams if they have enough of a certain ERC-20 token in their wallet. https://miro.com/app/board/uXjVOMsTIgI=/?invite_link_id=610135856706 Constructor
requestJoin |
…into JoinPolicyFactory
…n the hardhat config for testing
…used imports from scripts 1&2 for linter greenlight
samt1803
added a commit
that referenced
this pull request
Aug 24, 2022
* origin/master: [ETH-245] DelegatedAccessRegistry for the chat app (#348) # Conflicts: # packages/smartcontracts/package.json # packages/smartcontracts/scripts/deployToLivenet/1_deployContracts.ts # packages/smartcontracts/scripts/deployToLivenet/2_interactWithContracts.ts
samt1803
added a commit
that referenced
this pull request
Sep 15, 2022
* origin/master: (30 commits) Eth 362 reset trusted forwarder (#367) release(config): @streamr/config 2.4.0 feat: new addresses for DU3 things (#372) [FRONT-1023] ChatApp: Delegated Access Registry (#323) tested verify command with DelegatedAccessRegistry (#364) cleanup: some lint warn fixes, remove one old unused infura api key, … (#363) [ETH-245] DelegatedAccessRegistry for the chat app (#348) Update README.md Create README.md Create README.md Update README.md release(config): @streamr/config 2.3.0 config: add mpv3 addresses (#356) Eth 339 preload marketplace v3 contracts into mainchain (#353) release(config): @streamr/config 2.2.1 build(config): update release script conventional commit message refactor(config): validate Chain() parameters refactor(config): Chain.toString() returns lowercased chain name release: @streamr/config 2.2.0 feat(config): add Chain.toString() (#346) ... # Conflicts: # packages/config/src/networks.json # packages/docker-dev-chain-init/hardhat.config.js # packages/smartcontracts/.solhint.json # packages/smartcontracts/package.json # preload_parity_images.sh
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The chat app uses the main (metamask) account, as well as a delegated one to prevent prompting for metamask confirmations upon every signature.
To keep tabs on what delegated wallet belongs to which main wallet the DelegatedAccessRegistry is implemented, providing for a simple registry where one main wallet can register multiple delegated ones, while every delegated wallet must belong to only one main wallet.