Skip to content

aliftech/locksmith

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔑 Locksmith (Crypto Key Management Service)

Locksmith is a crypto key management & distribution service based on gRPC, Redis, dan RabbitMQ. This project initially started from BTC key generator, then developed into modern service for crypto enthusiasts dan developer.

Running

go run main.go btc --bip44 -p=jerapahimut -i=10

Running with gRPC save mode

save the generated keys, mnemonic, and wallet address into database bt gRPC server

go run .\main.go eth -p=hesoyam --save-remote

Start gRPC Server

go run cmd/server/main.go

Migrations

Download and install migrate binary to create and run migrations

winget install golang-migrate.migrate

If winget is not available, download from: https://github.com/golang-migrate/migrate/releases → Download migrate.windows-amd64.zip, extract, and add to PATH.

Then run the command bellow to generate migration files

migrate create -ext sql -dir internal/core/migrations -seq create_wallets_table

Then run the following command to create new table

migrate -database "mysql://youruser:yourpassword@tcp(localhost:3306)/dbname" -path internal/core/migrations up

delete table

migrate -database "mysql://youruser:yourpass@tcp(localhost:3306)/dbname" -path internal/core/migrations down

🧑‍💻 Author

Built with ❤️ by Wahyu Krisna Aji

About

Your crypto wallet and key management

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published