deprecated-near-examples / token-contract-as Goto Github PK
View Code? Open in Web Editor NEWImplementation of token contract similar to ERC20.
License: MIT License
Implementation of token contract similar to ERC20.
License: MIT License
The Windows tests aren't completing for Travis due to:
near/near-sdk-as#23
When that's ready, let's fix the Travis yaml to stop on errors that Windows finds during CI tests.
FAIL src/test.js
โ Test suite failed to run
ReferenceError: jasmine is not defined
6 | let eve = 'eve.near';
7 |
> 8 | jasmine.DEFAULT_TIMEOUT_INTERVAL = 10000;
| ^
9 |
10 | beforeAll(async function() {
11 | console.log('nearConfig', nearConfig);
at src/test.js:8:3
at Object.<anonymous> (src/test.js:1:30)
The official standard is NEP#21.
We should update the description of this implementation to make sure we don't confuse people for who are looking for a token contract.
Dependabot encountered the following error when parsing your .dependabot/config.yml
:
Automerging is not enabled for this account. You can enable it from the [account settings](https://app.dependabot.com/accounts/near-examples/settings) screen in your Dependabot dashboard.
Please update the config file to conform with Dependabot's specification using our docs and online validator.
ERROR TS2339: Property 'setSigner_account_id' does not exist on type '~lib/near-sdk-core/contract/Context'.
Context.setSigner_account_id(alice);
~~~~~~~~~~~~~~~~~~~~
in assembly/__tests__/token.spec.ts(20,15)
ERROR TS2339: Property 'setAccount_balance' does not exist on type '~lib/near-sdk-core/contract/Context'.
Context.setAccount_balance(u128.fromString("1000000"));
~~~~~~~~~~~~~~~~~~
in assembly/__tests__/token.spec.ts(21,15)
[Error] There was a compilation error when trying to create the wasm binary for file: assembly/__tests__/token.spec.ts.
[2 compile error(s)]
error Command failed with exit code 1.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.