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 runsudo arch -x86_64 gem install ffi
first!) -
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"
}