Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Missing chain

Aperta
#331 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
38/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python

Direzione di ricerca

Start at the code that raises Unknown netid and trace how the provider URL determines the network ID and which network IDs the package supports. Check whether Metis chain ID 1088 is compatible with the package’s Uniswap calls; done means confirming compatibility and, if supported, adding the network and coverage for it. The issue names no files or tests, so first locate the network configuration and related tests.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

I tried to use the package for the Metis Blockchain.
RPC: https://andromeda.metis.io/?owner=1088
ID: 1088
https://chainlist.org/chain/1088

`from uniswap import Uniswap

address = None # or None if you're not going to make transactions
private_key = None # or None if you're not going to make transactions
version = 2 # specify which version of Uniswap to use
provider = "https://andromeda.metis.io/?owner=1088" # can also be set through the environment variable PROVIDER
uniswap = Uniswap(address=address, private_key=private_key, version=version, provider=provider)`

Error:
raise Exception(f"Unknown netid: {self.netid}") # pragma: no cover Exception: Unknown netid: 1088

How can I add the Metis Blockchain or is it even possible to use this package for the METIS Blockchain?

Lingua principale
Python
Stelle
1k
Fork
373
Merge medio
4g 11h
PR unite (30g)
3

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di uniswap-python/uniswap-python

Tutte le issue di uniswap-python/uniswap-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.