To deploy the Soroban contract to the Stellar public network, use the following command:
soroban contract deploy \
--wasm src/soroban-contracts/soroban_token_contract.wasm \
--source samuel \
--rpc-url https://mainnet.stellar.validationcloud.io/v1/UaLIvjCBwsYqlBvH0IZkwkyBIYTndtRlEe2hTRtnjH4 \
--network-passphrase 'Public Global Stellar Network ; September 2015'
soroban contract invoke \
--id CCQC3ZLMLDWV5OVNJDKKE65TEWEALV4EIJN6SK5DOFDBOBR724TYIIKL \
--source-account samuel \
--rpc-url https://mainnet.stellar.validationcloud.io/v1/UaLIvjCBwsYqlBvH0IZkwkyBIYTndtRlEe2hTRtnjH4 \
--network-passphrase 'Public Global Stellar Network ; September 2015'
-- initialize \
--admin GCX6LOZ6ZEXBHLTPOPP2THN74K33LMT4HKSPDTWSLVCF4EWRGXOS7D3V \
--decimal 7 \
--name "Demo Token" \
--symbol "DT"
soroban contract invoke \
--id CCQC3ZLMLDWV5OVNJDKKE65TEWEALV4EIJN6SK5DOFDBOBR724TYIIKL \
--rpc-url https://mainnet.stellar.validationcloud.io/v1/UaLIvjCBwsYqlBvH0IZkwkyBIYTndtRlEe2hTRtnjH4 \
--network-passphrase 'Public Global Stellar Network ; September 2015' \
--function name
soroban contract invoke \
--id CCQC3ZLMLDWV5OVNJDKKE65TEWEALV4EIJN6SK5DOFDBOBR724TYIIKL \
--source-account samuel \
--rpc-url https://mainnet.stellar.validationcloud.io/v1/UaLIvjCBwsYqlBvH0IZkwkyBIYTndtRlEe2hTRtnjH4 \
--network-passphrase 'Public Global Stellar Network ; September 2015' \
-- mint \
--to GCX6LOZ6ZEXBHLTPOPP2THN74K33LMT4HKSPDTWSLVCF4EWRGXOS7D3V \
--amount 1000000000
soroban contract invoke \
--id CAS3J7GYLGXMF6TDJBBYYSE3HQ6BBSMLNUQ34T6TZMYMW2EVH34XOWMA \
--source-account samuel \
--rpc-url https://mainnet.stellar.validationcloud.io/v1/UaLIvjCBwsYqlBvH0IZkwkyBIYTndtRlEe2hTRtnjH4 \
--network-passphrase 'Public Global Stellar Network ; September 2015' \
-- balance \
--id GCX6LOZ6ZEXBHLTPOPP2THN74K33LMT4HKSPDTWSLVCF4EWRGXOS7D3V
stellar contract bindings typescript \
--network testnet \
--contract-id $(cat .stellar/contract-ids/hello_world.txt) \
--output-dir packages/hello_world
stellar contract asset deploy \
--rpc-url https://mainnet.stellar.validationcloud.io/v1/UaLIvjCBwsYqlBvH0IZkwkyBIYTndtRlEe2hTRtnjH4 \
--source-account samuel \
--network-passphrase 'Public Global Stellar Network ; September 2015' \
--asset WHLAQUA:GCX6LOZ6ZEXBHLTPOPP2THN74K33LMT4HKSPDTWSLVCF4EWRGXOS7D3V
stellar contract id asset \
--source-account samuel \
--rpc-url https://mainnet.stellar.validationcloud.io/v1/UaLIvjCBwsYqlBvH0IZkwkyBIYTndtRlEe2hTRtnjH4 \
--network-passphrase 'Public Global Stellar Network ; September 2015' \
--asset AQUA:GBNZILSTVQZ4R7IKQDGHYGY2QXL5QOFJYQMXPKWRRM5PAV7Y4M67AQUA
soroban contract info interface \
--wasm ./src/soroban-contracts/soroban_token_contract.wasm
--source-account samuel \
--rpc-url https://mainnet.stellar.validationcloud.io/v1/UaLIvjCBwsYqlBvH0IZkwkyBIYTndtRlEe2hTRtnjH4 \
--network-passphrase 'Public Global Stellar Network ; September 2015' \
--id CAS3J7GYLGXMF6TDJBBYYSE3HQ6BBSMLNUQ34T6TZMYMW2EVH34XOWMA \
soroban contract invoke \
--id CBQDHNBFBZYE4MKPWBSJOPIYLW4SFSXAXUTSXJN76GNKYVYPCKWC6QUK \
--source-account samuel \
--rpc-url https://mainnet.stellar.validationcloud.io/v1/UaLIvjCBwsYqlBvH0IZkwkyBIYTndtRlEe2hTRtnjH4 \
--network-passphrase 'Public Global Stellar Network ; September 2015'
-- share_id \
--sim-only
GCX6LOZ6ZEXBHLTPOPP2THN74K33LMT4HKSPDTWSLVCF4EWRGXOS7D3V - public key GDMFFHVJQZSDXM4SRU2W6KFLWV62BKXNNJVC4GT25NMQK2LENFUVO44I - second public key