This is Alignment Negotiation, a smart contract designed for software engineering mentors and apprentices to negotiate and align the parameters of their mentoring engagement.
This tool enables mentors and apprentices:
- to have a public record of their misalignment
- to have a public record of their negotiation proposals for each other
- to have a signed contract between both parties on their agreement
- to have a third-party smart contract protocol (i.e. Tome Negotiation Protocols) that fulfill/perform the consequences of the signed contract
Why build this in the first place?
Well, there are certain challenges we are tackling at Tome.gg, and we're in the business of revolutionizing education by pursuing accessible, sustainable, and personalized education for all!
Does this have a frontend web application?
Yes, it does.
anchor build
- Define two key pairs for the apprentice and mentor. You can use Phantom to generate new wallets.
Alternatively, just use the dummy wallet specified in test/
.
- Ensure your solana test validator is running locally. Do:
solana-test-validator
- Make sure both wallets have funds by airdropping some Solana:
solana airdrop 15 <public key of apprentice>
solana airdrop 15 <public key of mentor>
- Run the defined tests.
Because your local validator is already running from stpe 2, you can build, deploy, and run the typescript tests only with the following command:
anchor test --skip-local-validator
You can also choose to run the typescript tests only:
anchor test --skip-build --skip-deploy --skip-local-validator
- Write a GitHub action to run the tests on the dev network.
- Integrate this with the frontend app.
I haven't set up contributing guidelines yet, but feel free to connect with me on Twitter @darrensapalo or join my community on Discord.
Apache License 2.0. See LICENSE.md.