Proof-of-concept EVM wallet with a Safari extension.
Required:
- CocoaPods
- Node.js (
brew install nodejs
)
Steps:
- Install packages with CocoaPods:
- For M1 chips:
arch -x86_64 pod install
You may need to run:
sudo arch -x86_64 gem install ffi
and possibly:
arch -x86_64 pod update
- For other chips:
pod install
-
In
Safari-Shared/web3-provider
, runnpm i
to install JavaScript dependencies -
Create
Shared/Supporting Files/Secrets.swift
with the following contents:
enum Secrets {
static let infura = "YOUR INFURA PROJECT ID HERE"
}