Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: show upgrade dialog on get-starknet calls #247

Merged
merged 67 commits into from
Jun 21, 2024
Merged
Changes from 1 commit
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
9fe75f1
feat: change account contract to cairo 1 (#152)
stanleyyconsensys Oct 4, 2023
1db6955
feat: sf-542 block cairo0 (#153)
stanleyyconsensys Oct 5, 2023
42a1f90
chore(deps): bump word-wrap from 1.2.3 to 1.2.5 (#131)
dependabot[bot] Oct 5, 2023
1a32b29
chore(deps): bump @adobe/css-tools from 4.2.0 to 4.3.1 (#132)
dependabot[bot] Oct 5, 2023
be880ca
chore(deps): bump semver from 7.3.8 to 7.5.2 (#130)
dependabot[bot] Oct 5, 2023
101804d
Merge branch 'main' into releases/2.3.0
stanleyyconsensys Oct 13, 2023
62f589e
feat: merge main
stanleyyconsensys Nov 17, 2023
2ee8e1b
feat: simplify snap logic
stanleyyconsensys Nov 17, 2023
ba81932
Merge branch 'main' into releases/2.3.0
stanleyyconsensys Nov 21, 2023
b87e23d
fix: replace hardcode class hash
stanleyyconsensys Nov 21, 2023
ef4eb37
fix: get version function
stanleyyconsensys Nov 21, 2023
bd45f53
fix: recover account for getting upgraded cairo 1 address
stanleyyconsensys Nov 21, 2023
c166dde
feat: sf 549 update all method to support upgraded address (#188)
stanleyyconsensys Jan 5, 2024
eb5f4d7
feat: sf-540 add account contract upgrade api (#189)
stanleyyconsensys Feb 21, 2024
34a11a4
Merge branch 'main' into releases/2.3.0
stanleyyconsensys Feb 28, 2024
c9270ac
feat: sf-539 UI upgrade account (#191)
stanleyyconsensys Feb 28, 2024
b0c4817
fix: test (#203)
stanleyyconsensys Feb 28, 2024
e84dd4e
Merge branch 'main' into releases/2.3.0
stanleyyconsensys Mar 22, 2024
c8276d0
chore: rebase
stanleyyconsensys Mar 22, 2024
065cc40
Merge branch 'main' into releases/2.3.0
stanleyyconsensys Apr 10, 2024
213b2e2
chore: update conflict
stanleyyconsensys Apr 10, 2024
63e405a
fix: lint issue
stanleyyconsensys Apr 11, 2024
e2b1039
feat: add webpack.config.dev.js for local serving of remoteEntry.js
khanti42 May 23, 2024
3c8ccf3
chore: lint and optional env variable for SNAP_ID
khanti42 May 24, 2024
e664d9e
fix: update get-starknet/webpack-dev-server dep to address security v…
khanti42 May 24, 2024
46414e7
fix: remoteEntry.js serving done on static file from dist/webpack folder
khanti42 May 24, 2024
14129eb
chore: added .env.sample example file
khanti42 May 24, 2024
cae8a9d
feat: optional PUBLIC_PATH env variable to produce local remoteEntry.js
khanti42 May 24, 2024
03eee4c
chore: updated README.md
khanti42 May 24, 2024
a776b04
Merge branch 'main' into feat/sf-614-rebase
stanleyyconsensys Jun 3, 2024
1a42322
fix: methods signature
khanti42 Jun 3, 2024
6f97ce1
test: make existing tests pass successfully
khanti42 Jun 3, 2024
ec49b03
fix: rollback check CairoVersion not needed
khanti42 Jun 3, 2024
de5a79f
fix: lint
khanti42 Jun 3, 2024
9bdc735
fix: contractCallData format in massagedTransaction
khanti42 Jun 3, 2024
63ca289
fix: upgrade function detection in getMassagedTransactions filtering …
khanti42 Jun 4, 2024
002fcb5
Merge branch 'feat/local-remoteentry-for-dev' into feat/sf-614-rebase
khanti42 Jun 4, 2024
d6f0111
refactor: ugrade detection mechanism similar to transfer based on met…
khanti42 Jun 5, 2024
0f68c85
test: adapt constants.test.ts
khanti42 Jun 5, 2024
e607658
feat: show upgrade dialog on get-starknet calls
khanti42 Jun 5, 2024
29f7a29
feat: sf 614 rebase (#246)
stanleyyconsensys Jun 6, 2024
556e9d7
Merge branch 'releases/2.3.0' into feat/sf-618
stanleyyconsensys Jun 6, 2024
47de7df
chore: upgrade modal link
khanti42 Jun 6, 2024
61d6a0f
Merge branch 'main' into releases/2.3.0
stanleyyconsensys Jun 12, 2024
2fedd78
chore: lint style
stanleyyconsensys Jun 12, 2024
b5cd8c6
fix: lint issue
stanleyyconsensys Jun 12, 2024
17f5975
fix: yarn lock
stanleyyconsensys Jun 12, 2024
fe5631d
Merge branch 'main' into releases/2.3.0
stanleyyconsensys Jun 12, 2024
3209fe3
chore: add update text
stanleyyconsensys Jun 13, 2024
d695ead
chore: update snap file
stanleyyconsensys Jun 13, 2024
47ffbb5
chore: update yarn.lock
stanleyyconsensys Jun 13, 2024
450376c
Merge branch 'releases/2.3.0' into feat/sf-618
khanti42 Jun 17, 2024
cbd9ead
style: prettier
khanti42 Jun 17, 2024
81f5dfa
fix: await missing in some upgradeRequired check
khanti42 Jun 17, 2024
1f602a7
Merge branch 'main' into feat/sf-618
khanti42 Jun 17, 2024
cfbbed1
test: updated unit testing associated to get-starknet
khanti42 Jun 17, 2024
f783bf5
fix: adapted text of the upgradeRequestModal
khanti42 Jun 17, 2024
a0a03fa
style: lint
khanti42 Jun 17, 2024
0af0afb
chore: update snap sdk
stanleyyconsensys Jun 18, 2024
20f4fac
chore: update snap sdk
stanleyyconsensys Jun 18, 2024
3718151
Merge branch 'releases/2.3.0' into feat/sf-618
khanti42 Jun 18, 2024
076cf4a
fix: manifest
khanti42 Jun 18, 2024
4de9b46
test: fix on executTxn.test.ts
khanti42 Jun 18, 2024
d3e17ff
Merge branch 'main' into feat/sf-618
khanti42 Jun 20, 2024
4ee1864
Merge branch 'main' into feat/sf-618
khanti42 Jun 20, 2024
1605a16
fix: executeTxn with deployed cairov2 should not trigger deployment
khanti42 Jun 20, 2024
ac2f797
fix: resolve local build get-starknet config issue
stanleyyconsensys Jun 21, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: updated README.md
  • Loading branch information
khanti42 committed May 24, 2024
commit 03eee4c150d0cac82d8117cc20a1eec5d5cf1fef
8 changes: 7 additions & 1 deletion packages/get-starknet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ Execute the following cmd to build the project in [module federation]([https://w
yarn build:fed
```


## How to use

```javascript
Expand All @@ -21,3 +20,10 @@ const walletInstance = new MetaMaskSnapWallet(
`provider` refer to the instance from window.ethereum
`snapVersion` refer to the version of the Starknet Snap that is connecting to, "*" for latest version

## how to dev
Execute the following cmd to serve a local version of the module federation
```bash
yarn serve:fed
```

> The `remoteEntry.js` will be available at `http://localhost:8081/remoteEntry.js` the location can be modified in the package.json if needed, by updating the `PUBLIC_PATH` env variable.
Loading