Skip to content

Tools for building NEAR smart contracts in JavaScript

License

MIT, Apache-2.0 licenses found

Licenses found

MIT
LICENSE
Apache-2.0
LICENSE-APACHE
Notifications You must be signed in to change notification settings

agorapp-dao/near-sdk-js

 
 

This is a patched version of near-sdk-js that is used in AgorApp online IDE.

Changes:

  • We have exported type NearVmEnv, that allows us to mock the VM environment.
  • We have changed the module system to Common.js, as AgorApp currently does not support ESM.

How to release new version

pnpm i
pnpm run build

cd packages/near-sdk-js
pnpm pack

# Clone the repo to some other directory
git clone git@github.com:agorapp-dao/near-sdk-js.git
cd near-sdk-js
git checkout --orphan v2
git rm -rf .
# Copy the contents of the tarball generated by pnpm pack
git add .
git commit -am 'v2'
git push --set-upstream origin v2

About

Tools for building NEAR smart contracts in JavaScript

Resources

License

MIT, Apache-2.0 licenses found

Licenses found

MIT
LICENSE
Apache-2.0
LICENSE-APACHE

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 52.9%
  • JavaScript 35.4%
  • C 11.7%