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

Create/Transfer Ocean Token #758

Closed
OceanMan23 opened this issue Jun 6, 2023 · 4 comments
Closed

Create/Transfer Ocean Token #758

OceanMan23 opened this issue Jun 6, 2023 · 4 comments

Comments

@OceanMan23
Copy link

OceanMan23 commented Jun 6, 2023

Hello all,

I have a question.
The Contract have been passed to the Ganache (local setup with barge), we have also received an Ocean Contract address in JSON. The Ocean address was added in the metamask as a token address. The account balance is 100 for ETH and 0 for the Ocean token.

How can we transfer a Ganach account some Ocean tokens? Unfortunately, we are not getting anywhere.

Many greetings and best thanks

image

@trentmc
Copy link
Member

trentmc commented Jun 7, 2023

Hello,

Please follow the local setup steps at this README: https://github.com/oceanprotocol/ocean.py/blob/main/READMEs/setup-local.md

This includes console lines to specify accounts TEST_PRIVATE_KEY1 and TEST_PRIVATE_KEY2.

And it includes Python code to mint OCEAN to those accounts:

from ocean_lib.ocean.mint_fake_ocean import mint_fake_OCEAN
mint_fake_OCEAN(config)

@trentmc trentmc closed this as completed Jun 7, 2023
@OceanMan23

This comment was marked as outdated.

@trentmc
Copy link
Member

trentmc commented Jun 7, 2023

If you're having the issue, it's a sign that you're not going through all the steps of the local setup readme (link in previous comment).

Please go through all the steps and you should be ok.

@OceanMan23
Copy link
Author

If you're having the issue, it's a sign that you're not going through all the steps of the local setup readme (link in previous comment).

Please go through all the steps and you should be ok.

thanks works

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

No branches or pull requests

2 participants