Skip to content
This repository has been archived by the owner on Nov 10, 2024. It is now read-only.

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
V00D00-child committed Nov 18, 2023
1 parent 1d5b849 commit 5526cd4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ To interact with the Snaps, you must install [MetaMask Flask](https://metamask.i
The snap requires a connection to ERC4337 Bundler. We will use Transeptor Bundler running alongside a geth client to set up the local ERC-4337 environment. Follow the steps below to set up the local environment:

1. Create a `.env` file and copy values in `.env.sample` to a the `.env` file.
2. `git submodule update --init`
3. Run `make bundler` to start the bundler.
2. Add `GATSBY_SNAP_ORIGIN=local:http://localhost:8080` to the `./packages/site/.env.development` file.
3. `git submodule update --init`
4. Run `make bundler` to start the bundler.

The Bundler will start running on [http://localhost:3000/rpc](http://localhost:3000/rpc). You will
need to have [Metamask Flask](https://metamask.io/flask/) installed and listening to
Expand Down
1 change: 0 additions & 1 deletion packages/site/src/config/snap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
* The snap origin to use.
* Will default to the local hosted snap if no value is provided in environment.
*/
console.log('defaultSnapOrigin', process.env.GATSBY_SNAP_ORIGIN)
export const defaultSnapOrigin =
process.env.GATSBY_SNAP_ORIGIN ?? `local:http://localhost:8080`;

Check failure on line 7 in packages/site/src/config/snap.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test / Build, Lint, and Test (16.x)

Delete `⏎`

Check failure on line 7 in packages/site/src/config/snap.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test / Build, Lint, and Test (18.x)

Delete `⏎`
2 changes: 1 addition & 1 deletion packages/site/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ const Index = () => {
<Card
content={{
title: 'Connect SmartHub snap',
description: 'Features include:',
description: 'Features:',
listItems: [
'Access and control smart accounts with MetaMask. Enjoy smart contract functionality with ease and convenience.',
'Manage ERC-4337 accounts(create, sign, send, transfer funds)',
Expand Down

0 comments on commit 5526cd4

Please sign in to comment.