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

0.1.1 #4

Merged
merged 5 commits into from
Aug 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Lines starting with '#' are comments.
# Each line is a file pattern followed by one or more owners.

* @MetaMask/snaps-devs
* @dzimiks
26 changes: 1 addition & 25 deletions .github/workflows/build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- run: yarn install --immutable
- run: yarn build
- run: yarn lint
- run: yarn test
# - run: yarn test
- name: Cache snap build
if: ${{ matrix.node-version == '18.x' }}
uses: actions/cache@v3
Expand All @@ -37,34 +37,10 @@ jobs:
exit 1
fi

e2e:
name: End-to-end Tests
runs-on: ubuntu-latest
needs:
- build-lint-test
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Restore snap build cache
uses: actions/cache@v3
with:
path: ./packages/snap/dist
key: snap-${{ runner.os }}-${{ github.sha }}
- run: yarn install --immutable
- name: Install Google Chrome
run: yarn install-chrome
- name: Run e2e tests
run: yarn workspace @tenderly/metamask-snap run test

all-jobs-pass:
name: All jobs pass
runs-on: ubuntu-latest
needs:
- build-lint-test
- e2e
steps:
- run: echo "Great success!"
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,12 @@
<p align="center">
<a href="#introduction"><strong>Introduction</strong></a> ·
<a href="#setup"><strong>Setup</strong></a> ·
<a href="#contributing"><strong>Contributing</strong></a>
</p>
<br/>

# Introduction

Tenderly TX Preview enables you to see the exact outcomes of your transactions before sending them on-chain. Powered by the Tenderly Simulation Infrastructure, this feature gives you detailed and human-readable information about your transactions, including transferred assets with exact dollar values for ERC-20 tokens and NFTs.
Tenderly [TX Preview](https://docs.tenderly.co/simulations-and-forks/transaction-preview) enables you to see the exact outcomes of your transactions before sending them on-chain. Powered by the Tenderly Simulation Infrastructure, this feature gives you detailed and human-readable information about your transactions, including transferred assets with exact dollar values for ERC-20 tokens and NFTs.

By previewing transactions before sending, you can avoid unnecessary gas costs, prevent failed transactions, and identify potential security risks. With Tenderly TX Preview, you can make an informed decision thanks to the following information:

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tenderly/metamask-snap-transaction-preview",
"version": "0.1.0",
"version": "0.1.1",
"private": true,
"description": "A MetaMask Snap with transaction preview powered by Tenderly Simulation API.",
"homepage": "https://github.com/Tenderly/tenderly-snap#readme",
Expand Down
2 changes: 1 addition & 1 deletion packages/site/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tenderly/metamask-snap-site",
"version": "0.1.0",
"version": "0.1.1",
"private": true,
"license": "(MIT-0 OR Apache-2.0)",
"scripts": {
Expand Down
5 changes: 3 additions & 2 deletions packages/site/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,9 @@ const Index = () => {
Welcome to <Span>Tenderly Snap</Span>
</Heading>
<Subtitle>
Asset changes present opportunities for wallets, DeFi projects, and DEXs
to make transactions more human-readable for their users.
Tenderly TX Preview allows you to see the exact transaction outcomes
before sending them on-chain using the Tenderly Simulation
Infrastructure.
</Subtitle>
{state.error && (
<ErrorMessage>
Expand Down
3 changes: 1 addition & 2 deletions packages/snap/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,12 @@
<p align="center">
<a href="#introduction"><strong>Introduction</strong></a> ·
<a href="#setup"><strong>Setup</strong></a> ·
<a href="#contributing"><strong>Contributing</strong></a>
</p>
<br/>

# Introduction

Tenderly TX Preview enables you to see the exact outcomes of your transactions before sending them on-chain. Powered by the Tenderly Simulation Infrastructure, this feature gives you detailed and human-readable information about your transactions, including transferred assets with exact dollar values for ERC-20 tokens and NFTs.
Tenderly [TX Preview](https://docs.tenderly.co/simulations-and-forks/transaction-preview) enables you to see the exact outcomes of your transactions before sending them on-chain. Powered by the Tenderly Simulation Infrastructure, this feature gives you detailed and human-readable information about your transactions, including transferred assets with exact dollar values for ERC-20 tokens and NFTs.

By previewing transactions before sending, you can avoid unnecessary gas costs, prevent failed transactions, and identify potential security risks. With Tenderly TX Preview, you can make an informed decision thanks to the following information:

Expand Down
2 changes: 1 addition & 1 deletion packages/snap/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tenderly/metamask-snap",
"version": "0.1.0",
"version": "0.1.1",
"private": true,
"description": "A MetaMask Snap with transaction preview powered by Tenderly Simulation API.",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/snap/snap.manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"version": "0.1.0",
"version": "0.1.1",
"description": "A MetaMask Snap with transaction preview powered by Tenderly Simulation API.",
"proposedName": "Tenderly Tx Preview",
"repository": {
"type": "git",
"url": "https://github.com/tenderly/tenderly-snap.git"
},
"source": {
"shasum": "mtAfWGWscP7ncXeuaPPH65wjvX3nSUCx0ddGQfIg0sk=",
"shasum": "rv4gbFpy5LBbuuW6LLuStN8gSUqdP4qI1r5I26JEtpw=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
Loading