Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetbout committed Jul 3, 2024
2 parents 3919a46 + 2b16304 commit 563b32b
Show file tree
Hide file tree
Showing 15 changed files with 106 additions and 9,524 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@ yarn-error.log*
./**.tar.gz

dist/
yarn.lock
pnpm-lock.yaml
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ Stark-utils is a simple web application that aims at being a toolbox for Cairo d
It allows to:

- Converter: Convert any input to a felt, a string, the hexadecimal value, ...
- L1->L2: Allows to compute the hash of a TX sent to L2
- Signature: TBD

## History (page removed)

- Status checker: Check the status of a Tx
Reason: Better using a block explorer
- Call function: Allows to call a specific contract at specific etry point with sepcific inputs
Reason: Better using a block explorer
- L1->L2: Allows to compute the hash of a TX sent to L2 Outdated
- Signature: Unusable

## TODO list

Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
"lint": "vue-cli-service lint",
"format": "yarn prettier --write ."
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.2.1",
Expand All @@ -16,7 +17,7 @@
"bn.js": "^5.2.0",
"bootstrap": "4.6.0",
"core-js": "^3.27.1",
"starknet": "^4.9.0",
"starknet": "^6.10.2",
"vue": "^3.2.36",
"vue-router": "4.0.1",
"vuex": "^4.0.2",
Expand Down
3 changes: 1 addition & 2 deletions src/components/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
><img src="img/brand/favicon.png" alt="Logo"
/></router-link>
<router-link to="/converter">Converter</router-link>
<router-link to="/l1l2">L1 &#8594; L2</router-link>
<router-link to="/signature">Signature</router-link>
<router-link to="/hash">Hash</router-link>
<div class="topnav-right">
<a
href="https://github.com/gaetbout/stark-utils"
Expand Down
22 changes: 10 additions & 12 deletions src/components/ToggleComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,10 @@
class="float-right"
/>
<br />
<div v-if="selectorHex">
<div>
<CopyComponent
:key="item"
v-for="item in dataBag.hexValues"
:valueToCopy="item"
:isValid="dataBag.valid"
:inFormat="dataBag.inFmt"
/>
</div>
<div v-else>
<CopyComponent
:key="item"
v-for="item in dataBag.intValues"
v-for="item in itemsToRender"
:valueToCopy="item"
:isValid="dataBag.valid"
:inFormat="dataBag.inFmt"
Expand All @@ -39,6 +30,13 @@ export default {
CopyComponent,
Toggle,
},
computed: {
itemsToRender() {
return this.selectorHex
? this.dataBag.hexValues
: this.dataBag.intValues
},
},
props: {
dataBag: {
intValues: [String],
Expand All @@ -56,7 +54,7 @@ export default {
},
data() {
return {
selectorHex: false,
selectorHex: true,
}
},
}
Expand Down
187 changes: 0 additions & 187 deletions src/components/l1l2/AutomatedInput.vue

This file was deleted.

58 changes: 0 additions & 58 deletions src/components/l1l2/Loader.vue

This file was deleted.

Loading

0 comments on commit 563b32b

Please sign in to comment.