I'm learning how to navigate my way around with Cleos on the Web IDE release by B1 late last year. I know it spins up a personal chain but is there a way to connect to the public chain and publish a token contract on a main net account?

1 Answer 1


If you are using cleos from a terminal command line, then you can publish to multiple different chains by using the -u flag, followed by a specific API endpoint.

For example, if you want to connect to the EOS Mainnet via the greymass endpoint, you would do:

cleos -u https://eos.greymass.com ...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.