Coder Social home page Coder Social logo

tutorials's Introduction

Pimlico Tutorials

This repository contains the full code for Pimlico tutorials in the Pimlico documentation.

To set up the repository, clone it, copy the .env.example file to .env and fill in your Pimlico API key (use the quick start guide to generate one), install the dependencies, and run npm run tutorial-1!

If you are looking to run the tutorial code for tutorial 2, in addition to filling the Pimlico API key, you will also need to generate a private key and replace the privateKey variable at the start of tutorial-2.ts with it before running npm run tutorial-2.

npm install
cp .env.example .env
# fill in your Pimlico API key in .env
npm run tutorial-1

If everything works correctly, you should deploy a User Operation as per the flow of the tutorial.

Good luck!

tutorials's People

Contributors

kristofgazso avatar

Stargazers

 avatar 0xrinegade avatar  avatar maiyek avatar soheiltm avatar  avatar mlt avatar Sina Rj avatar Cosimo de' Medici avatar

Watchers

 avatar  avatar

tutorials's Issues

Fix select a chain section - UI/UX

hey @kristofgazso when I was going to select a chain:
Select a chain
I thought that there were only those shown in the first instance because there is no scroll to make me see the others (I was from the laptop without mouse) it was when I used the mouse that I could notice the others, a small fix to do, I leave it here :)

Why dummy signature

gm! sorry for a maybe obvious question, but why is here only a "dummy signature" needed in the first place? because there is no value but only the hex data "transferred"?

tutorials/tutorial-1.ts

Lines 103 to 105 in 2a4908e

// dummy signature
signature:
"0xa15569dd8f8324dbeabf8073fdec36d4b754f53ce5901e283c6de79af177dc94557fa3c9922cd7af2a96ca94402d35c39f266925ee6407aeb32b31d76978d4ba1c" as Hex

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.