Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testnet Availability? #30

Open
Luca-Blight opened this issue Apr 19, 2022 · 6 comments
Open

Testnet Availability? #30

Luca-Blight opened this issue Apr 19, 2022 · 6 comments
Labels
question Further information is requested

Comments

@Luca-Blight
Copy link

Is there a way to connect to a testnet endpoint?

@zseta
Copy link
Owner

zseta commented Apr 20, 2022

You can change the base url (and version if needed):

api = OpenseaAPI(apikey="YOUR APIKEY", base_url="https://rinkeby-api.opensea.io/api", version="v1")

@Luca-Blight
Copy link
Author

Luca-Blight commented Apr 20, 2022

Got it, thank you! How does that look for mumbai?

@zseta
Copy link
Owner

zseta commented Apr 21, 2022

Maybe one of these: https://docs.polygon.technology/docs/develop/network-details/network/ (haven't tried any of them)

https://rpc-mumbai.matic.today or
https://matic-mumbai.chainstacklabs.com or
https://rpc-mumbai.maticvigil.com or
https://matic-testnet-archive-rpc.bwarelabs.com

@zseta zseta added the question Further information is requested label Apr 28, 2022
@Luca-Blight
Copy link
Author

Doesn't seem to work. reference at the bottom.

test_api = OpenseaAPI(base_url="https://testnets-api.opensea.io/")
successful_events = test_api.events_backfill(start=period_end, until=period_start, only_opensea=False, collection_slug=slug,
event_type=event)

https://docs.opensea.io/reference/retrieving-events-testnets

@abstractumx
Copy link

Can i deploy NFTs using this API on Opensea testnet (network polygon)? Furthermore, is possible to wrap metadata of my local file.json using and dump them into my file.png using python? Thank you

@zseta
Copy link
Owner

zseta commented May 19, 2022

Hi @abstractumx ,
Currently, this wrapper only allows you to download NFT data, you cannot use it to deploy NFTs as of now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants