Get Started

Installlation

NPM

npm install -g gitsol@latest

NPX

npx gitsol

Your Gitsol Account

Gitsol works by generating a keypair, encrypting it and storing it locally. This keypair is used to create your user account on-chain too. To see your gitsol signer's public key, run this command:

gitsol

If you hadn't signed up before, we will guide you through the service!

Sign up flow

Encryption

You will be asked for an (optional) password to encrypt your keypair. If you don't want to use a password every time you use the gitsol command, you can skip this step.

pass

Storage

Next, we need credentials to be able to upload files to IPFS / Filecoin. We use web3.storage below the hood to execute file uploads.

Go ahead and signup here. Then go to the tokens page and create a new token. Enter that in the prompt!` apikey

Funding your account

Gitsol interacts with the chain under the hood. For that it needs funds to operate beforehand. The CLI will ask you to fund your account and give you the address. We suggest using this faucet or the solana airdrop 2 <address> command to send funds.

airdrop

Complete!

All done! After you've funded your account and filled out the details, gitsol will go ahead and create an account for you in the gitsol contracts.

Now you can start creating repos on gitsol!

done