Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Outdated function #20

Open
felps3104 opened this issue Oct 11, 2021 · 2 comments
Open

Outdated function #20

felps3104 opened this issue Oct 11, 2021 · 2 comments

Comments

@felps3104
Copy link

As provided here, the solana.account funcion is deprecated.
Due this deprecated error, metaplex_api.deploy(api_endpoint, "MintNome"*32, "MintSimbolo"*10) returns a Failed attempt 0: ('invalid public key input:', '<solana.account.Account object at 0x0000022E3F77C310>')

@crypt0miester
Copy link
Contributor

crypt0miester commented Oct 31, 2021

the solana-py is currentlly updated to use Keypair() instead of Account()

You will have to make changes in the metaplex-api to use the new solana-py v0.18.2.

Otherwise, use pip install solana==0.9.2

I'll try to update a PR to use the latest version.

@crypt0miester
Copy link
Contributor

hey,

try this one: https://github.com/crypt0miester/python-api/tree/v1.1

make sure the branch is v1.1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants