Adapter application for consuming web3 messages from ie. wallets, and passing them on to starknet

Overview

🐍 StarknNet web3 account

Development setup

Clone deps with submodules

git clone --recurse-submodules [email protected]:software-mansion-labs/starknet-web3-rpc-adapter.git 

Install dependencies

poetry install
yarn --cwd client install
yarn --cwd starknet-web3-account install
yarn --cwd starknet-web3-account build

Setup envs

Setup envs as showed in .env.example, for instance using direnv.

Git hooks

Run this snippet to enable lint checks and automatic formatting before commit/push.

cp pre-push ./.git/hooks/
cp pre-commit ./.git/hooks/
chmod +x ./.git/hooks/pre-commit
chmod +x ./.git/hooks/pre-push

Running demo

In separate terminals start required services.

Dev network & setup contracts: poe devnet

Run client:

poe devclient
Comments
  • Eth sign

    Eth sign

    Changed signing method from eip712 to ethSign.

    Modified proxy, so that the implementation address is updated with eth signature, not by specified contract admin.

    Added demo button, to upgrade implementation address (it upgrades with the same, existing address, but it tests the logic just as good)

    opened by bartekryba 0
  • Proxy contract

    Proxy contract

    Proxy contract for account contract.

    Now account contract is deployed only once, and user deploys proxy contract, that takes account contract address, eth address, and chain as arguments.

    opened by bartekryba 0
  • Add changes required to work with MetaMask

    Add changes required to work with MetaMask

    Fixes:

    1. Python library generated wrong type hashes for types with types nested in arrays.
    2. Encoding call in contract has to use hash first hash arguments.
    opened by Solpatium 0
  • Update keccak function

    Update keccak function

    Mercello updated keccak in a different repository. It is faster, so even though we hash more the result code is faster than before. New keccak is big endian, no juggling required on our end :)

    opened by Solpatium 0
  • Cairo contracts

    Cairo contracts

    Please note that all contracts from contracts/secp are copied from https://github.com/starkware-libs/cairo-examples/tree/master/secp with only mul_s_inv edited to accept modulo param.

    opened by Solpatium 0
Owner
Software Mansion – Labs
Our experimental projects are hosted here. For our officially maintained libraries visit https://github.com/software-mansion.
Software Mansion – Labs
Starknet Burner is a web/mobile wallet for Starknet that works as a plugin for Argent-X

A Javascript wallet to interact with Starknet from mobile and web applications. Warning ** Experimental Project ** This project is still in developmen

Don't Panic DAO 59 Jan 5, 2023
A simple to do list webpage where you can log the daily tasks you have to do, mark them as checked, modify them, reorder them and remove them. Made using HTML, CSS and JavaScript.

To-Do-List This Webpage is for an app called To-Do-List which helps you add, remove or check tasks you have to do. It is a simple web page which conta

Zeeshan Haider 9 Mar 12, 2022
Universal interface for web3 wallets

Universal interface for web3 wallets

WeBill.io 76 Dec 31, 2022
Universal interface for web3 wallets

web3-wallets Universal interface for web3 wallets dapp wallets blockchains ╭─

Via Protocol 76 Dec 31, 2022
Grupprojekt för kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet för kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide För information om hur utv

Svante Jonsson IT-Högskolan 3 May 18, 2022
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
Movie application consuming The Movie DB's API

Movie application consuming The Movie DB's API

Pamella Fernandes 6 Aug 11, 2022
Web3-citizens-app - React application based on smart contract using web3 and MetaMask extention.

Citizens App (web3-react-redux) React application based on smart contract using web3 and MetaMask extention. Start the applicarion Recomend to install

Denys Voloshyn 3 Aug 25, 2022
This is a Webpack based to-do-list project. With this app, users can add thier daily routine tasks to the list, mark them as complet, edit them or delete them.

To Do List This is a Webpack based to-do-list project. With this app, users can add thier daily routine tasks to the list, mark them as complet, edit

Ali Aqa Atayee 12 Oct 30, 2022
A chat logs online saver for discord bots to save messages history & cleared messages online

Chat Logs NPM package that saves messages online to view it later Useful for bots where users can save messages history & cleared messages online Supp

TARIQ 8 Dec 28, 2022
An aplication to search for popular movies consuming data from the movie database API

An aplication to search for popular movies consuming data from the movie database API

Nayara Luiza 3 Sep 15, 2022
A web applicaton called 'MOVTIME' where you can come to stream movies by consuming the TMDB movie API

End result Click here : https://movtime-movie-app.netlify.app/ Figma design File Click here: https://www.figma.com/file/4IbpmTU6jtpRKdpbFmt4i8/Web-Des

Eniola Odunmbaku 12 Nov 11, 2022
A project aimed at consuming the Where is ISS? api to track the current position of International Space Station.

ISS Tracker This project aims to create a website which tracks the live position of the Internation Space Station using this API. Issues: Call the api

Microsoft Learn Student Chapter, TIET 4 Oct 21, 2022
A web3 starter project using Typescript, Hardhat, ethers.js and @web3-react

Starter React Typescript Ethers.js Hardhat Project This repo contains a Hardhat and React Dapp starter project. The React Dapp in the frontend dir of

ChainShot 39 Dec 31, 2022
(🔗, 🌲) Web3 Link Tree is a free & open-source alternative to Linktree built with React.js, Next.js, Tailwind and Web3-React

Getting Started Read the detailed guide here Customize Add your name, wallet address, social media links and more in config.ts Images Save images to t

Naut 35 Sep 20, 2022
🛠 Solana Web3 Tools - A set of tools to improve the user experience on Web3 Solana Frontends.

?? Solana Web3 Tools - A set of tools to improve the user experience on Web3 Solana Frontends.

Holaplex 30 May 21, 2022
Modern, Flexible Starknet Dapp Template

cairopal • Modern, Flexible Starknet Dapp Template. Developing Clone the repository git clone [email protected]:a5f9t4/cairopal.git cd cairopal Install D

andreas 38 Sep 28, 2022
Verbosely Documented, Minimal Starknet Contract Examples.

cairo-by-example • Verbosely Documented, Minimal Starknet Contract Examples. Cairo By Example deployed to https://cairo-by-example.xyz Developing Clon

andreas 63 Dec 6, 2022