From 1efb582de4c8f19faae88006dff67265735f3102 Mon Sep 17 00:00:00 2001 From: JuanDiego Date: Tue, 28 May 2024 23:53:56 -0500 Subject: [PATCH] Etherspot documentation v1 --- src/components/accountAbstraction/README.md | 26 ------------------- .../accountAbstraction/etherspot/Etherspot.md | 15 ----------- .../accountAbstraction/etherspot/README.md | 26 +++++++++++++++++++ 3 files changed, 26 insertions(+), 41 deletions(-) delete mode 100644 src/components/accountAbstraction/etherspot/Etherspot.md create mode 100644 src/components/accountAbstraction/etherspot/README.md diff --git a/src/components/accountAbstraction/README.md b/src/components/accountAbstraction/README.md index a883696..e69de29 100644 --- a/src/components/accountAbstraction/README.md +++ b/src/components/accountAbstraction/README.md @@ -1,26 +0,0 @@ - -

- Etherspot Logo -

- -[Account Abstraction on Rootstock]() - -# Etherspot Prime SDK! - -### Step 1. Install Etherspot Prime SDK with this command - -``` sh -yarn add @etherspot/prime-sdk -``` - - -### Step 2. Import the Etherspot Prime SDK. - -``` - const primeSdk = new PrimeSdk( - { privateKey: process.env.WALLET_PRIVATE_KEY }, - { - chainId: Number(process.env.CHAIN_ID), - }, - ); -``` \ No newline at end of file diff --git a/src/components/accountAbstraction/etherspot/Etherspot.md b/src/components/accountAbstraction/etherspot/Etherspot.md deleted file mode 100644 index 1986e54..0000000 --- a/src/components/accountAbstraction/etherspot/Etherspot.md +++ /dev/null @@ -1,15 +0,0 @@ -# Account Abstraction on Ethereum - - -## Overview - -Account abstraction in Ethereum enhances the EVM by allowing more flexible and functional transactions and smart contracts. It blurs the line between Externally Owned Accounts (EOAs) and contract accounts, enabling new "contract-type accounts" that can hold both code and ether, and execute transactions directly. - -### Benefits -- **Enhanced Efficiency:** Reduces transaction and storage operations, lowering gas costs. -- **Improved Privacy:** Enables private transactions within smart contracts. -- **Flexible Fee Models:** Contracts can pay fees for users, allowing for subscriptions and microtransactions. -- **Custom Transaction Semantics:** Allows contracts to define unique rules for transactions, enabling complex interactions. - -Account abstraction streamlines operations, enhances privacy, and provides flexible transaction models, significantly advancing Ethereum's capabilities. - diff --git a/src/components/accountAbstraction/etherspot/README.md b/src/components/accountAbstraction/etherspot/README.md new file mode 100644 index 0000000..a883696 --- /dev/null +++ b/src/components/accountAbstraction/etherspot/README.md @@ -0,0 +1,26 @@ + +

+ Etherspot Logo +

+ +[Account Abstraction on Rootstock]() + +# Etherspot Prime SDK! + +### Step 1. Install Etherspot Prime SDK with this command + +``` sh +yarn add @etherspot/prime-sdk +``` + + +### Step 2. Import the Etherspot Prime SDK. + +``` + const primeSdk = new PrimeSdk( + { privateKey: process.env.WALLET_PRIVATE_KEY }, + { + chainId: Number(process.env.CHAIN_ID), + }, + ); +``` \ No newline at end of file