Skip to content

Conversation

@Mahhheshh
Copy link
Contributor

@Mahhheshh Mahhheshh commented Oct 19, 2024

Adds Counter program example for Poseidon framework

insured the Pr follows contributing guidelines,

  • Named folder poseidon
  • Add script to package.json to support pnpm commands
  • code is linted, and works out of the box.

@Mahhheshh Mahhheshh marked this pull request as ready for review October 19, 2024 12:56
info Commands available from binary scripts: _mocha, mocha, prettier, ts-mocha, tsc, tsserver
info Project commands
   - build
      cargo build-sbf --manifest-path=./programs/counter-program/Cargo.toml --sbf-out-dir=./program/target/so
   - build-and-test
      cargo build-sbf --manifest-path=./programs/counter-program/Cargo.toml --sbf-out-dir=./tests/fixtures && pnpm test
   - deploy
      solana program deploy ./program/target/so/program.so
   - lint
      prettier */*.js "*/**/*{.js,.ts}" --check
   - lint:fix
      prettier */*.js "*/**/*{.js,.ts}" -w
   - test
      pnpm ts-mocha -p ./tests/tsconfig.test.json -t 1000000 ./tests/counter-program.test.ts
Done in 0.03s. with pnpm in Anchor.toml
@heyAyushh heyAyushh added contribute:poseidon Adds a poseidon example contribution to the repository. counter basics/counter labels Nov 5, 2024
@heyAyushh heyAyushh merged commit 7b45e05 into solana-developers:main Jan 2, 2025
15 of 17 checks passed
@Mahhheshh Mahhheshh deleted the mahesh/poesidon branch January 15, 2025 05:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribute:poseidon Adds a poseidon example contribution to the repository. counter basics/counter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants