Can we write a JS script to deploy SUI packages/smart contracts?

I want to deploy SUI packages/smart contracts with js script. Is it possible? Which library can facilitate this? Would appreciate an example.

2 Likes

May be that you can write a NodeJS wrapper around the Sui CLI.

2 Likes

Yes, it’s possible @tahlil . The process appears in multiple places in Sui repo.

Just an indicative example:

2 Likes